A print provider's InitializePrintProvidor function initializes the provider and supplies the print spooler with the provider's entry points.
BOOL
InitializePrintProvidor(
LPPRINTPROVIDOR pPrintProvidor,
DWORD cbPrintProvidor,
LPWSTR pFullRegistryPath
);
If the operation succeeds, the function should return TRUE. Otherwise the function should return FALSE.
Declared in winsplp.h. Include winsplp.h.
Print providers are required to define an InitializePrintProvidor function, which is the first function called by the spooler after the provider has been loaded. The function must fill the supplied PRINTPROVIDOR structure with pointers to the provider's defined functions (see Functions Defined by Print Providers). The function can also perform other provider-specific initialization operations.