NPDeviceMode function
The NPDeviceMode function specifies the parent window of a device. This window owns any dialog boxes that originate from the device.
Syntax
DWORD NPDeviceMode( _In_ HWND hParent );
Parameters
- hParent [in]
-
A handle to the window that owns dialog boxes originating from this device.
Return value
If the function succeeds, it will return WN_SUCCESS. Otherwise, it will return a Windows error code.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
Show: