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

S_OK if successful, otherwise an error code.

Error codes