PRINT_EXECUTION_DATA structure

Contains the execution context of the printer driver that calls GetPrintExecutionData.

Syntax

typedef struct _PRINT_EXECUTION_DATA {
  PRINT_EXECUTION_CONTEXT  context;
  DWORD                    clientAppPID;
} PRINT_EXECUTION_DATA;

Members

context

The PRINT_EXECUTION_CONTEXT value that represents the current execution context of the printer driver.

clientAppPID

If the value of context is PRINT_EXECUTION_CONTEXT_WOW64, clientAppPID identifies the client application on whose behalf the splwow64.exe process loaded the printer driver. If the value of context is not PRINT_EXECUTION_CONTEXT_WOW64, clientAppPID is zero.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
Winspool.h (include Windows.h)

See also

GetPrintExecutionData

PRINT_EXECUTION_CONTEXT