MFGetLocalId function (mfidl.h)

Gets the local system ID.

Syntax

HRESULT MFGetLocalId(
  [in] const BYTE *verifier,
       UINT32     size,
  [in] LPWSTR     *id
);

Parameters

[in] verifier

Application-specific verifier value.

size

Length in bytes of verifier.

[in] id

Returned ID string. This value must be freed by the caller by calling CoTaskMemFree.

Return value

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header mfidl.h
Library Mf.lib
DLL Mf.dll

See also

Media Foundation Functions