DllFunction.SetIntPtrArg

Prototypes

void SetIntPtrArg( int nPos, long value )

Parameters

int nPos
The number (1-based) of the parameter whose value you want to set.

long value
The value to assign to the function parameter. On Win32 systems, only the lower 32 bits of the value are used.

Remarks

This method assigns a value to the specified parameter. The type of the parameter must have been previously declared with the method NextArgIsIntPtr.

Example
declare long value = 5;
func.SetIntPtrArg( 2, value );
See Also

DllFunction.NextArgIsIntPtr