NPDeviceMode function (npapi.h)
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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for