IITDatabase::CreateObject method (infotech.h)
Creates an unnamed object you can reference in the future through the *pdwObjInstance parameter.
Syntax
HRESULT CreateObject(
[in] REFCLSID rclsid,
[out] DWORD *pdwObjInstance
);
Parameters
[in] rclsid
Class ID for object.
[out] pdwObjInstance
Identifier for object.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
The object was successfully created. |
|
The argument was not valid. |
|
The database has not been opened. |
|
The memory required for internal structures could not be allocated. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | infotech.h |