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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for