NPSGetProviderHandle

DWORD NPSGetProviderHandle( 
  HPROVIDER FAR * phProvider
  );
 

This service provides a handle to an NP that it can subsequently use in interfacing to MPR. Currently, this handle is used in NPSGetProviderName. Calling this function is only valid in the process initialization of the NP DLL.

phProvider
Returns a handle that can be passed to MPR to refer to this instantiation of the NP DLL.
WN_NOT_INITIALIZING lpdwType is not a valid type of device.