{{ Np-browser-api() }}
Summary
...
Syntax
#include <npapi.h> typedef enum { NPNURLVCookie = 501, NPNURLVProxy } NPNURLVariable; NPError NPN_GetValueForURL(NPP instance, NPNURLVariable variable, const char *url, char **value, uint32_t *len);
Parameters
This function has the following parameters:
- instance
- Pointer to the current plug-in instance.
- variable
- Selects the type of information to be retrieved (
NPNURLVCookie
orNPNURLVProxy
)
- url
- ...
- value
- Out parameter. The browser passes back the requested information. If the function succeeds, the result buffer will be allocated with NPN_MemAlloc; the plugin is responsible for freeing the buffer. Note: the value may have internal NULL bytes and may not be NULL-terminated.
- len
- Out parameter. The length of the returned value buffer.
Returns
- If successful, the function returns NPERR_NO_ERROR.
- If unsuccessful, the function returns an error code. For possible values, see Error Codes.
Description
...
See also