Visible to Intel only — GUID: GUID-481664B2-9411-4B44-B116-1A6F1B669154
Visible to Intel only — GUID: GUID-481664B2-9411-4B44-B116-1A6F1B669154
COMCreateObjectByGUID
COM Subroutine: Passes a class identifier, creates an instance of an object, and returns a pointer to the object's interface. This routine is only available for Windows.
Module
USE IFCOM
USE IFWINTY
CALL COMCreateObjectByGUID (clsid,clsctx,iid,interface,status)
clsid |
The class identifier of the class of object to be created. Must be of type GUID, which is defined in the IFWINTY module. |
clsctx |
Lets you restrict the types of servers used for the object. Must be of type INTEGER(4). Must be one of the CLSCTX_* constants defined in the IFWINTY module. |
iid |
The interface identifier of the interface being requested. Must be of type GUID, which is defined in the IFWINTY module. |
interface |
An output argument that returns the object's interface pointer. Must be of type INTEGER(INT_PTR_KIND()). |
status |
The status of the operation. It can be any status returned by CoCreateInstance. Must be of type INTEGER(4). |