IMultiMonitorDockingSite::RequestMonitor method

Verifies that the monitor is active and available.

Syntax

HRESULT RequestMonitor(
  [in] IUnknown *punkSrc,
  [in] HMONITOR *phMon
);

Parameters

punkSrc [in]

Type: IUnknown*

A pointer to the object implementing the IDockingWindow interface.

phMon [in]

Type: HMONITOR*

A pointer to the default monitor's handle.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]