IPrinterQueue2::SendBidiSetRequestAsync method (printerextension.h)

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(
  [in]          BSTR                            bstrBidiRequest,
  [in]          IPrinterBidiSetRequestCallback  *pCallback,
  [out, retval] IPrinterExtensionAsyncOperation **ppAsyncOperation
);

Parameters

[in] bstrBidiRequest

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

[in] pCallback

Callback object for the Bidi Set request.

[out, retval] ppAsyncOperation

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

Return value

This method returns the appropriate HRESULT value.

Requirements

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

See also

IPrinterBidiSetRequestCallback

IPrinterExtensionAsyncOperation

IPrinterQueue2