The GdiEndDocEMF function ends EMF playback operations for an EMF-formatted print job.
BOOL GdiEndDocEMF( HANDLE SpoolFileHandle );
Caller-supplied spool file handle, obtained by a previous call to GdiGetSpoolFileHandle.
If the operation succeeds, the function returns TRUE. Otherwise the function returns FALSE, and an error code can be obtained by calling GetLastError.
The GdiEndDocEMF function is exported by gdi32.dll for use within a print processor's PrintDocumentOnPrintProcessor function.
The function performs operations that must be performed after a print job's EMF records have been played. The function calls the spooler's EndDoc function (described in the Microsoft Window SDK documentation), which in turn calls the printer driver's DrvEndDoc function.
For additional information, see Using GDI Functions in Print Processors.
|Header||winppi.h (include Winppi.h)|