#ifndef _NTPFAPI_H
/**
* The PF_APP_LAUNCH_SCENARIO_CONTROL structure starts an application-launch scenario for a process.
* \remarks The x64 dispatcher requires exactly 16 bytes with 8-byte alignment.
* Version must be 1 and Enable must be nonzero. ProcessHandle requires PROCESS_VM_OPERATION access.
* An incorrect length returns STATUS_INVALID_BUFFER_SIZE; an incorrect version returns
* STATUS_REVISION_MISMATCH; Enable == 0 returns STATUS_INVALID_PARAMETER.
*/
typedef struct _PF_APP_LAUNCH_SCENARIO_CONTROL
{
ULONG Version; // Request version: PF_APP_LAUNCH_SCENARIO_CONTROL_VERSION (1).
ULONG Enable; // Must be nonzero; zero does not disable the scenario.
HANDLE ProcessHandle; // Target process handle.
} PF_APP_LAUNCH_SCENARIO_CONTROL, *PPF_APP_LAUNCH_SCENARIO_CONTROL;
View code on GitHubNo description available.