Returns a GUID corresponding to the specified dwGuidKind. The dwGuidKind parameter has several values defined. See GUIDKIND. Additional flags can be defined at a later time and will be recognized by an IProvideClassInfo2 implementation.
HRESULT GetGUID(
DWORD dwGuidKind, //Desired GUID
GUID * pGUID //Pointer to the desired GUID
);
E_NOTIMPL is not a valid return code since it would be pointless to implement this interface without implementing this method.
E_INVALIDARG is not valid when dwGuidKind is GUIDKIND_DEFAULT_SOURCE_DISP_IID.
Windows NT: Use version 4.0 or later. New for OC96.
Windows: Use Windows 95 or later. New for OC96.
Windows CE: Unsupported.
Header: Declared in ocidl.h.