Skip to main content
IMFImageSharingEngine::GetDevice method

Gets information about the image sharing device.

Syntax


HRESULT GetDevice(
  [out]  DEVICE_INFO *pDevice
);

Parameters

pDevice [out]

A pointer to a DEVICE_INFO structure. The method fills in this structure with the device information.

Return value

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

Remarks

The method allocates memory for the BSTR members of the DEVICE_INFO structure. The caller must free the memory for each BSTR by calling SysFreeString.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Mfsharingengine.h

See also

IMFImageSharingEngine