IPrinterQueue2::SendBidiSetRequestAsync method

Uses an XML string value to send a Bidi Set request as an asynchronous operation.

This method allows the user to perform device maintenance tasks from within a UWP device app for printers.

Syntax

HRESULT SendBidiSetRequestAsync(
  BSTR                            bstrBidiRequest,
  IPrinterBidiSetRequestCallback  *pCallback,
  IPrinterExtensionAsyncOperation **ppAsyncOperation
);

Parameters

bstrBidiRequest

XML string that is used to transfer the data for the Set request.

pCallback

Callback object for the Bidi Set request.

ppAsyncOperation

Context object associated with the asynchronous Bidi Set request (operation).

Return Value

This method returns the appropriate HRESULT value.

Requirements

   
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Target Platform Desktop
Header printerextension.h

See Also

IPrinterBidiSetRequestCallback

IPrinterExtensionAsyncOperation

IPrinterQueue2