ULONG DrvFontManagement(
IN SURFOBJ *pso, | |
IN FONTOBJ *pfo, | |
IN ULONG iMode, | |
IN ULONG cjIn, | |
IN PVOID pvIn, | |
IN ULONG cjOut, | |
OUT PVOID pvOut | |
); |
DrvFontManagement is an optional entry point provided for PostScript devices. If this function is hooked by the device driver then GDI will pass calls made by an application to ExtEscape for escape numbers 0x100 through 0x3fe, or for the QUERYESCSUPPORT escape when the first DWORD pointed to by pvIn is in the range 0x100 through 0x3fe.
Parameters
pso
Points to a SURFOBJ.
pfo
Points to a FONTOBJ.
iMode
Specifies the escape number to be perfomed. This must either be equal to QUERYESCSUPPORT, or in the range 0x100 through 0x3FE.
cjIn
Specifies the size, in bytes, of the buffer pointed to by pvIn.
pvIn
Points to an input buffer. If the iMode parameter is QUERYESCSUPPORT, pvIn points to a ULONG value in the range 0x100 through 0x3FE.
cjOut
Specifies the size, in bytes, of the output buffer.
pvOut
Points to the output data buffer.
Return Value
The return value is a value in the range 0x00000001 through 0x7FFFFFFF if the function is successful. If the escape is not implemented, the return value is zero. If the function fails, the return value is a value in the range 0x80000000 through 0xFFFFFFFF.
See Also