Partager via


IWmsPresentationDevice::GetInstanceId method

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Retrieves the unique ID of the monitor.

Syntax

HRESULT GetInstanceId(
  [out] GUID *pInstanceId
);

Parameters

pInstanceId [out]

On successful return, receives a pointer to the ID of the monitor.

Return value

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

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
IDL
WmsStationPresenter.idl
IID
IID_IWmsPresentationDevice is defined as 3fa4b1eb-eb6c-455e-a7ae-0861a26c8fc4

See also

IWmsPresentationDevice