GM_SetMiscOptionEx

Sets an advanced/miscellaneous option to use during operation. Returns the previous value. See definition of GM_MiscOpt_t32 type for a list of available options and their descriptions. The filename values take a const char*. For on/off options you can also use the special value GM_MiscOptVal_Toggle to toggle the value to the opposite of the current value.

If you just want to get the current value of an option and not change it, use GM_GetMiscOption .

Syntax

C++
Copy
GM_DLL_EXPORTED uint8 __stdcall GM_SetMiscOptionEx
(
GM_MiscOpt_t32  aOpt,       // IN: Option to set
void*           aNewValue   // IN: New value (i.e. 1 to enable or 0 to disable), or value of other setting
void*           aReserved   // IN: Reserved for future use, must be NULL
);