หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
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 |