ITcModuleInstance::GetModulePara

The parameter ID is first searched for in interface pointers, then in data pointers, and finally in the module parameters. The values found are returned as byte SAFEARRAY. For process images, the ULONG returned by GetModuleParaDWORD is returned as a byte array.

Signature

HRESULT GetModulePara(ULONG pid, VARIANT* pvData);

Parameter

Name

Type

Description

pid

ULONG

[in] Parameter ID.

Return value

Name

Type

Description

pvData

VARIANT*

[out, retval] Parameter data as SAFEARRAY or VARIANT.

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

Error codes