DHookReturn.SetString Method

Set return string value. Use only for: string, stringptr or charptr return types.

The value is only applied when MRES_Override or MRES_Supercede is returned in the callback.

void SetString(const char[] buffer)

Parameters

const char[] buffer

Value to set return string to.

Errors

Invalid Handle or invalid type.