Share via


ISurfaceManager::get_Monitor

The get_Monitor method retrieves a handle to the display monitor.

Syntax

HRESULT get_Monitor(
  HMONITOR*  phMon
);

Parameters

phMon

[out]  A pointer to a handle to the display monitor.

Return Values

The method returns an HRESULT of S_OK for success, or a standard COM error code for failure.

Requirements

Client: Windows Vista

Header: Include gputransformplugin.h and GPUPipelineTime.h.

Library: Use GPUPipelineVC7.lib (for Visual Studio .NET) or GPUPipelineVC8.lib (for Visual Studio 2005).

See Also