#includeIn this example, we create an instance of a simple class called `MyClass` and call the `GetObjectGuid` function to retrieve the object's GUID. We then output the GUID to the console using the standard output stream. The `GetObjectGuid` function is part of the COM library in Windows, so it requires including the `objbase.h` header and linking against the `ole32.lib` library.#include int main() { // Create an instance of a class class MyClass { public: virtual void foo() {} } myObj; // Retrieve the GUID of the object GUID guid; HRESULT result = GetObjectGuid(&myObj, &guid); // Output the GUID to the console std::cout << "Object GUID: " << guid.Data1 << "-" << guid.Data2 << "-" << guid.Data3 << std::endl; return 0; }