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

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header npapi.h