ICreateTypeInfo::SetGuid

This method sets the globally unique identifier (GUID) for the type library.

At a Glance

Header file: Oaidl.h
Windows CE versions: 2.0 and later

Syntax

HRESULT SetGuid( REFGUID guid );

Parameters

guid

GUID to be associated with the type description.

Return Values

One of the values described in the following table is returned.

Value Description
S_OK Success.
STG_E_INSUFFICIENTMEMORY Out of memory.
E_OUTOFMEMORY Out of memory.
E_ACCESSDENIED Cannot write to the destination.

Remarks

For an interface, this is an interface identifier (IID); for a coclass, it is a class identifier (CLSID).