RouterGetPrintClassObject - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// prnasntp.h

HRESULT RouterGetPrintClassObject(
  [in]  PCWSTR pPrinter,
  [in]  REFIID riid,
  [out] VOID   **ppv
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-prnasntp-routergetprintclassobject)

RouterGetPrintClassObject function

Description

The RouterGetPrintClassObject function enumerates the list of print providers, searching for the print provider with the specified name and interface ID.

Parameters

pPrinter [in]

A pointer to a null-terminated string that contains the name of the printer or print server.

riid [in]

The identifier of the requested COM interface.

ppv [out]

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.