XPLMCommandBegin
XPLM_API void XPLMCommandBegin(
XPLMCommandRef inCommand);
XPLMCommandBegin starts the execution of a command, specified by its command reference. The command is “held down” until XPLMCommandEnd is called. You must balance each XPLMCommandBegin call with an XPLMCommandEnd call.