IAppVisibility::GetAppVisibilityOnMonitor method

Queries the current mode of the specified monitor.

Syntax


HRESULT GetAppVisibilityOnMonitor(
  [in]   HMONITOR hMonitor,
  [out]  MONITOR_APP_VISIBILITY *pMode
);

Parameters

hMonitor [in]

The monitor to query.

pMode [out]

The current mode of hMonitor.

Return value

This method can return one of these values.

Return codeDescription
E_INVALIDARG

pMode is NULL.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

IAppVisibility
MONITOR_APP_VISIBILITY

 

 

Community Additions

ADD
Show:
© 2014 Microsoft