IPrintClassObjectFactory::GetPrintClassObject method (filterpipeline.h)
The GetPrintClassObject method creates a print filter-related object for a specified printer by using the IID of the interface object to create.
Syntax
HRESULT GetPrintClassObject(
[in] const wchar_t *pszPrinterName,
[in] REFIID riid,
[out] void **ppNewObject
);
Parameters
[in] pszPrinterName
The printer name.
[in] riid
The IID of the interface to create. Filters should use IID_IPrintAsyncNotify to create notification channels.
[out] ppNewObject
The new object that this method creates.
Return value
GetPrintClassObject returns an HRESULT value.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | filterpipeline.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for