GetPrintExecutionData function winspool
The GetPrintExecutionData retrieves the current print context.
To learn more, see learn.microsoft.com/windows/win32/printdocs/getprintexecutiondata.
Implementation
@pragma('vm:prefer-inline')
bool GetPrintExecutionData(Pointer<PRINT_EXECUTION_DATA> pData) =>
_GetPrintExecutionData(pData) != FALSE;