GdiEndDocEMF function (winppi.h)
The GdiEndDocEMF function ends EMF playback operations for an EMF-formatted print job.
Syntax
BOOL GdiEndDocEMF(
HANDLE SpoolFileHandle
);
Parameters
SpoolFileHandle
Caller-supplied spool file handle, obtained by a previous call to GdiGetSpoolFileHandle.
Return value
If the operation succeeds, the function returns TRUE. Otherwise the function returns FALSE, and an error code can be obtained by calling GetLastError.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Header | winppi.h (include Winppi.h) |
Library | Gdi32.Lib |
DLL | Gdi32.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for