
NPP_DestroyStream
Tells the plug-in that a stream is about to be closed or destroyed.
Syntax
Parameters
The function has the following parameters:
Returns
If successful, the function returns NPERR_NO_ERROR.
If unsuccessful, the plug-in is not loaded and the function returns an error code. For possible values, see Error Codes.
Description
The browser calls the NPP_DestroyStream function when a data stream sent to the plug-in is finished, either because it has completed successfully or terminated abnormally. After this, the browser deletes the NPStream object.
You should delete any private data allocated in stream->pdata at this time, and should not make any further references to the stream object.
See Also
NPP_NewStream, NPP_DestroyStream, NPStream
|
Netscape Communications http://developer.netscape.com |
