MFGetLocalId

Gets the local system ID.

Syntax

HRESULT MFGetLocalId(
         const _In_reads_bytes_(size) BYTE *verifier,
         UINT32 size,
         _Outptr_ LPWSTR *id
)  

Parameters

verifier
Type: In_reads_bytes(size) BYTE *

Application-specific verifier value.

size
Type: UINT32 

Length in bytes of verifier.

id
Type: Outptr LPWSTR *

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

Return value

Type: HRESULT 

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

Refer to Media Foundation return codes.

Requirements

Header: Declared in mfidl.h.

Library: Use mf.lib.