IRsObjectFactory Struct Reference

Inherits IUnknown.

List of all members.

Public Member Functions

HRESULT CreateCOMObjectInstance ([in] const IID *piid,[out, retval] IUnknown **ppObj)


Detailed Description

General COM object factory - used to create objects that are not Nodes, Data Objects, Commands or other types for which specific factories exist.

Member Function Documentation

HRESULT IRsObjectFactory::CreateCOMObjectInstance ( [in] const IID *  piid,
[out, retval] IUnknown **  ppObj 
)

Creates new instance of given COM object.

Parameters:
piid [in] Pointer to the identifier of the class to create.
Returns:
ppObj [out,retval] New instance of an COM object.

This method supports the standard return values E_INVALIDARG, E_OUTOFMEMORY, and E_UNEXPECTED, as well as the following:

S_OK The specified object was created.

E_INVALIDARG if factory does not create instance of an object.


Generated on Wed May 20 21:32:24 2009 for trueSpace7.6 SDK by  doxygen 1.5.5