// prntfont.h
typedef struct _OEMFONTINSTPARAM {
DWORD cbSize;
HANDLE hPrinter;
HANDLE hModule;
HANDLE hHeap;
DWORD dwFlags;
PWSTR pFontInstallerName;
} OEMFONTINSTPARAM, *POEMFONTINSTPARAM;
View the official Windows Driver Kit DDI referenceNo description available.
The OEMFONTINSTPARAM structure is used as an input parameter to a user interface plug-in's IPrintOemUI::FontInstallerDlgProc method.
cbSizeSize, in bytes, of the OEMFONTINSTPARAM structure.
hPrinterUnidrv-supplied printer handle.
hModuleUnidrv-supplied handle to the user interface plug-in.
hHeapUnidrv-supplied handle to a heap from which space can be allocated by calling the HeapAlloc function (described in the Microsoft Windows SDK documentation).
dwFlagsUnidrv-supplied flags. The only defined flag is FG_CANCHANGE which, if set, indicates the user interface should allow the user to change the installed fonts. Otherwise the user interface should be displayed in read-only mode.
pFontInstallerNamePointer to a string representing the font installer's name. The IPrintOemUI::FontInstallerDlgProc method must supply this string if the received message is WM_USER+WM_FI_NAME. The string must be placed in memory allocated using hHeap.