IClusCfgPartitionInfo::GetUID method

[This method is available for use only in Windows Server 2003.]

Retrieves the unique identifier for the partition. This is not a universally unique identifier (UUID or GUID). This identifier should match identifiers that can be generated on other nodes, but must be unique for the partition the network interface card (NIC) is on.

Syntax

HRESULT GetUID(
  [out] BSTR *pbstrUIDOut
);

Parameters

  • pbstrUIDOut [out]
    Pointer to a BSTR that receives the universally unique identifier. The caller must free this string by calling SysFreeString.

Return value

The GetUID method returns one of the following values.

Any other HRESULT value indicates that the call failed.

  • S_OK
    The method successfully retrieved the identifier.

  • E_OUTOFMEMORY
    Out of memory.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003

End of server support

Windows Server 2003

IDL

ClusCfgServer.idl

DLL

ClCfgSrv.dll

IID

IID_IClusCfgPartitionInfo is defined as EC1EBD9F-5866-4846-8952-EC36C3961EEE

See also

IClusCfgPartitionInfo