Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
[in] hParent
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
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | npapi.h |