ICreateTypeInfo::SetGuid method (oaidl.h)
Sets the globally unique identifier (GUID) associated with the type description.
Syntax
HRESULT SetGuid(
[in] REFGUID guid
);
Parameters
[in] guid
The globally unique ID to be associated with the type description.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
Insufficient memory to complete the operation. |
|
Cannot write to the destination. |
|
Insufficient memory to complete the operation. |
Remarks
For an interface, this is an interface ID (IID); for a coclass, it is a class ID (CLSID). For information on GUIDs, see Type Libraries and the Object Description Language.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |