SET_INTERFACE |
Top Previous Next |
Syntax SET_INTERFACE object as COMREF, name Description Assigns an interface to a COM reference. Parameters object - A variable of type COMREF name - The name as defined in the INTERFACE statement Return value None Remarks An COM object cannot be used until its interface is set. Once an interface is assigned, and the object initialized with CoCreateInstance or another dedicated function, you can begin using methods in the object. See Also: INTERFACE, ENDINTERFACE, STDMETHOD, DEFINE_GUID Example usage DEF lpTest,lpDD7 as COMREF |