IBdnApplication::SetApplicationID

[This is preliminary documentation and subject to change.]

The SetApplicationID method sets the ID for an instance of an application.

Syntax

HRESULT SetApplicationID(
  const GUID * pApplicationID
);
 

Parameters

pApplicationID
Pointer to a GUID that identifies the instance of the application calling the MMR. Application should use CoCreateGUID to obtain a unique GUID for each instance of an application.

Return Value

Returns S_OK if the MMR successfully set the ID. If the ID is not valid, this method returns E_INVALIDARG.

See Also

IBdnApplication::GetApplicationID