Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The RouterGetPrintClassObject
function enumerates the list of print providers, searching for the print provider with the specified name and interface ID.
Syntax
HRESULT RouterGetPrintClassObject(
[in] PCWSTR pPrinter,
[in] REFIID riid,
[out] VOID **ppv
);
Parameters
[in] pPrinter
A pointer to a null-terminated string that contains the name of the printer or print server.
[in] riid
The identifier of the requested COM interface.
[out] ppv
A pointer to a variable that supplies the address of the COM interface requested in the iid parameter.
Return value
This function returns S_OK on success, and a standard COM error code otherwise.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | prnasntp.h (include Prnasntp.h) |
Library | Spoolss.lib |
DLL | Spoolss.dll |