IITDatabase::GetObject method (infotech.h)
Retrieves a specified IUnknown-based interface on the object identified by the dwObjInstance parameter.
Syntax
HRESULT GetObject(
[in] DWORD dwObjInstance,
[in] REFIID riid,
[out] LPVOID *ppvObj
);
Parameters
[in] dwObjInstance
Identifier for object.
[in] riid
[out] ppvObj
Interface ID requested.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
The operation completed successfully. |
|
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 |