45
edits
Line 128: | Line 128: | ||
Causes the creation of a device context for use by the specified instance. | Causes the creation of a device context for use by the specified instance. | ||
=== Set / Get Device State === | |||
<pre> | |||
typedef NPError (*NPDeviceGetStateContextPtr)(NPP instance, | |||
NPDeviceContext* context, | |||
int32 state, | |||
int32 *value); | |||
typedef NPError (*NPDeviceSetStateContextPtr)(NPP instance, | |||
NPDeviceContext* context, | |||
int32 state, | |||
int32 value); | |||
</pre> | |||
Get/Set sideband state information with respect to device context. | |||
=== Publishing a Context === | === Publishing a Context === |
edits