DHookGetParamAddress Function

Get param address (Use only for ptr param types)

Address DHookGetParamAddress(Handle hParams, int num)

Parameters

Handle hParams

Handle to params structure

int num

Param number to get. (Example if the function has 2 params and you need the value of the first param num would be 1.)

Return Value

Address of the parameter.

Errors

Invalid handle. Invalid param number. Invalid param type.