IMFImageSharingEngine::GetDevice method (mfsharingengine.h)

Gets information about the image sharing device.

Syntax

HRESULT GetDevice(
  [out] DEVICE_INFO *pDevice
);

Parameters

[out] pDevice

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

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header mfsharingengine.h

See also

IMFImageSharingEngine