Explore the Component Object Model (COM), a powerful binary interface standard that allows applications and components to interact, regardless of the language they were written in or the location they reside. This section provides comprehensive documentation on COM interfaces, methods, and concepts essential for Windows development.
The base interface for all COM objects. It provides reference counting and object identity management.
Methods:
Retrieves a pointer to a different interface on the same COM object.
Increments the reference count for the COM object.
Decrements the reference count for the COM object. When the count reaches zero, the object is destroyed.
Provides methods for creating instances of a COM class.
Methods:
Creates an uninitialized object.
Enables an object to expose its properties and methods to late-binding languages such as VBA, VBScript, and JScript.
Methods:
Creates a single, uninitialized object of the specified type.
Initializes the COM library on the current thread.
Closes the COM library on the current thread.
typedef struct _GUID {
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[ 8 ];
} GUID;
Represents a globally unique identifier.