Search completed in 1.57 seconds.
9 results for "NPN_NewStream":
Streams - Plugins
note: if you want to be sure that the npn_*stream functions are called in the order you want and behave the way you expect, combine
npn_newstream, npn_write, and npn_destroy_stream in the same callback.
...the plug-in calls the methods
npn_newstream, npn_write, and npn_destroystream to create a stream, push data into it, and delete it.
... creating a stream pushing data into the stream deleting the stream for an example that demonstrates these processes, see "example of sending a stream." creating a stream the plug-in calls
npn_newstream to send a new data stream to the browser.
...And 8 more matches
NPN NewStream - Archive of obsolete content
syntax #include <npapi.h> nperror
npn_newstream(npp instance, npmimetype type, const char* target, npstream** stream); parameters the function has the following parameters: instance pointer to current plug-in instance.
... description
npn_newstream creates a new stream of data produced by the plug-in and consumed by the browser.
...a plug-in can create another instance of itself by specifying its own mime type and a new target name in a call to
npn_newstream.
NPN_DestroyStream - Archive of obsolete content
this stream can be either a stream that the browser created and passed to the plug-in in npp_newstream(), or a stream created by the plug-in through a call to
npn_newstream().
... see also npp_destroystream()
npn_newstream() npp_newstream() npstream npp ...
NPN_Write - Archive of obsolete content
a plug-in can call this function multiple times after creating a stream with
npn_newstream().
...*/ err =
npn_newstream(instance, "text/html", "_blank", &stream) /* push data into the stream.
Browser-side plug-in API - Archive of obsolete content
npn_destroystream npn_forceredraw npn_getauthenticationinfo npn_geturl npn_geturlnotify npn_getvalue npn_getvalueforurl npn_invalidaterect npn_invalidateregion npn_memalloc npn_memflush npn_memfree
npn_newstream npn_pluginthreadasynccall npn_poppopupsenabledstate npn_posturl npn_posturlnotify npn_pushpopupsenabledstate npn_reloadplugins npn_requestread npn_setvalue npn_setvalueforurl npn_status npn_useragent npn_version npn_write ...
NPStream - Archive of obsolete content
description the browser allocates and initializes the npstream object and passes it to the plug-in in as a parameter to npp_newstream or
npn_newstream.