ITcModuleManager::LookupModule
Searches for a module based on its object ID and returns it via the interface requested using riid.
Signature
HRESULT LookupModule(ULONG oid, REFIID riid, IUnknown** pipModule);
Parameter
|
Name |
Type |
Description |
|---|---|---|
|
oid |
ULONG |
[in] Object ID of the module being searched for. |
|
riid |
REFIID |
[in] Desired interface ID. |
Return value
|
Name |
Type |
Description |
|---|---|---|
|
pipModule |
IUnknown** |
[out, retval] The requested interface of the module instance. |
|
(HRESULT) |
HRESULT |
|
Error codes
-
E_UNEXPECTED: No module with this object ID was found. - Other
QueryInterfaceerrors: The found item does not supportriid, or the output pointer is invalid.