Search completed in 0.83 seconds.
15 results for "NPP_WriteReady":
NPP_WriteReady - Archive of obsolete content
ArchivePluginsReferenceNPP WriteReady
syntax #include <npapi.h> int32 npp_writeready(npp instance, npstream* stream); parameters the function has the following parameters: instance pointer to the current plug-in instance.
... description the browser calls npp_writeready before each call to npp_write to determine whether a plug-in can receive data and how many bytes it can receive.
...the npp_write function may pass a larger buffer, but the plug-in is required to consume only the amount of data returned by npp_writeready.
Streams - Plugins
PluginsGuideStreams
the browser calls the plug-in methods npp_newstream, npp_writeready, npp_write, and npp_destroystream to, respectively, create a stream, find out how much data the plug-in can handle, push data into the stream, and delete it.
... the plug-in can set the output parameter type to one of these transmission modes: np_normal: (default): the plug-in can process the data progressively as it arrives from the network or file system through a series of calls to npp_writeready and npp_write.
... finding out how much data the plug-in can accept after a call to npp_newstream and before writing data to the plug-in, the browser calls npp_writeready to determine the maximum number of bytes that the plug-in can consume.
...And 12 more matches
NPP_Write - Archive of obsolete content
ArchivePluginsReferenceNPP Write
if the return value is smaller than the size of the buffer, the browser sends the remaining data to the plug-in through subsequent calls to npp_writeready and npp_write.
...description the browser calls the npp_write function to deliver the data specified in a previous npp_writeready call to the plug-in.
... a plug-in must consume at least as many bytes as indicated in the npp_writeready call.
...And 3 more matches
NPP_NewStream - Archive of obsolete content
ArchivePluginsReferenceNPP NewStream
np_normal (default): delivers stream data to the instance in a series of calls to npp_writeready and npp_write.
...values: np_normal (default): delivers stream data to the instance in a series of calls to npp_writeready and npp_write.
...if the stream comes from a local file, the npp_write and npp_writeready functions are not called.
...And 2 more matches
NPN_RequestRead - Archive of obsolete content
ArchivePluginsReferenceNPN RequestRead
this initiates a read operation; the actual data is received through subsequent calls to npp_writeready() and npp_write().
...these requests result in subsequent calls to npp_writeready() and npp_write().
...if the plug-in requests multiple ranges (either through a list of npbyterange objects in a single call to npn_requestread(), or multiple calls to npn_requestread()), the browser can write individual ranges in any order, and with any number of npp_writeready() and npp_write() calls.
...see also npp_newstream() npp_writeready() npp_write() npstream ...
Index - Archive of obsolete content
ArchiveIndex
this initiates a read operation; the actual data is received through subsequent calls to npp_writeready() and npp_write().
...(remark: hence the name "npp_write" is misleading - just think of:"data_arrived") 3690 npp_writeready npapi, plugins determines maximum number of bytes that the plug-in can consume.
NPAPI plugin reference - Archive of obsolete content
ArchivePluginsReference
this initiates a read operation; the actual data is received through subsequent calls to npp_writeready() and npp_write().
...(remark: hence the name "npp_write" is misleading - just think of:"data_arrived") npp_writeready determines maximum number of bytes that the plug-in can consume.
Index of archived content - Archive of obsolete content
ArchiveIndex of archived content
n npn_write npobject npp nppvariable npp_destroy npp_destroystream npp_getvalue npp_handleevent npp_new npp_newstream npp_print npp_setvalue npp_setwindow npp_streamasfile npp_urlnotify npp_write npp_writeready npprint npprintcallbackstruct nprect npregion npsaveddata npsetwindowcallbackstruct npstream npstring nputf8 npvariant npvarianttype npwindow np_getmimedescription np_getvalue np_initialize np_port ...
NPN_GetURL - Archive of obsolete content
ArchivePluginsReferenceNPN GetURL
if target is null, the application creates a new stream and delivers the data to the plug-in instance, through calls to npp_newstream(), npp_writeready() and npp_write(), and npp_destroystream().
NPP_StreamAsFile - Archive of obsolete content
ArchivePluginsReferenceNPP StreamAsFile
see also npp_newstream, npp_write, npp_writeready, npstream, npp ...
NPStream - Archive of obsolete content
ArchivePluginsReferenceNPStream
all api calls that operate on the stream (such as npp_writeready and npp_write) use a pointer to this stream.
NPAPI plug-in side API - Archive of obsolete content
ArchivePluginsReferencePlug-in side
npp_destroy npp_destroystream npp_getvalue np_getvalue npp_handleevent np_initialize npp_new npp_newstream npp_print npp_setvalue npp_setwindow np_shutdown npp_streamasfile npp_urlnotify npp_write npp_writeready ...
Plug-in Side Plug-in API - Plugins
PluginsGuidePlug-in Side Plug-in API
npp_writeready determines maximum number of bytes that the plug-in can consume.
URLs - Plugins
PluginsGuideURLs
if the target parameter is set to null, the application creates a new stream and delivers the data to the plug-in instance, through calls to npp_newstream, npp_writeready and npp_write, and npp_destroystream.
Gecko Plugin API Reference - Plugins
PluginsGuide
npp_destroy npp_destroystream npp_getvalue np_getvalue npp_handleevent np_initialize npp_new npp_newstream npp_print npp_setvalue npp_setwindow np_shutdown npp_streamasfile npp_urlnotify npp_write npp_writeready browser side plug-in api this chapter describes methods in the plug-in api that are available from the browser.