Επεξεργασία

Κοινή χρήση μέσω


PRINT_EXECUTION_CONTEXT enumeration

Represents the execution context when GetPrintExecutionData is called.

Syntax

typedef enum  { 
  PRINT_EXECUTION_CONTEXT_APPLICATION             = 0,
  PRINT_EXECUTION_CONTEXT_SPOOLER_SERVICE         = 1,
  PRINT_EXECUTION_CONTEXT_SPOOLER_ISOLATION_HOST  = 2,
  PRINT_EXECUTION_CONTEXT_FILTER_PIPELINE         = 3,
  PRINT_EXECUTION_CONTEXT_WOW64                   = 4
} PRINT_EXECUTION_CONTEXT;

Constants

PRINT_EXECUTION_CONTEXT_APPLICATION

The caller is running in an application.

PRINT_EXECUTION_CONTEXT_SPOOLER_SERVICE

The caller is running in the spooler service (spoolsv.exe).

PRINT_EXECUTION_CONTEXT_SPOOLER_ISOLATION_HOST

The caller is running in the print isolation host (PrintIsolationHost.exe)

PRINT_EXECUTION_CONTEXT_FILTER_PIPELINE

The caller is running in the print filter pipeline (printfilterpipelinesvc.exe)

PRINT_EXECUTION_CONTEXT_WOW64

The caller is running in splwow64.exe

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_DATA