Microsoft DirectX 9.0 |
The CreateInstance method creates a new instance of this object.
Syntax
static CUnknown * WINAPI CreateInstance(
LPUNKNOWN pUnk,
HRESULT *phr
);
Parameters
pUnk
Pointer to the aggregating IUnknown interface.
phr
Pointer to a variable that receives an HRESULT value indicating the success or failure of the method.
Return Value
Returns a pointer to a new instance of this object.
Remarks
The class factory calls this method to create the object.
See Also