EN
此内容没有您的语言版本,但有英语版本。

IBidiSpl2::IBidiSpl2::SendRecvXMLString method

The IBidiSpl2::SendRecvXMLString method sends a bidirectional printer communication request and receives the response as Unicode strings formatted in accordance with the Bidi Request and Response Schemas.

Syntax


HRESULT IBidiSpl2::SendRecvXMLString(
  [in]   BSTR bstrRequest,
  [out]  BSTR *pbstrResponse
);

Parameters

bstrRequest [in]

The bidi communication request as a Unicode string that complies with one of the Bidi Request Schemas.

pbstrResponse [out]

A pointer to the printer's response as a Unicode string that complies with one of the Bidi Response Schemas.

Return value

The method returns one of the following values.

ValueDescription
S_OK

The operation was successful.

E_HANDLE

The interface handle is invalid.

None of the above

The HRESULT contains an error code that corresponds to the last error.

 

Note that the HRESULT may contain a system error code that is defined in Bidi Error Codes.

For more information about Component Object Model (COM) error codes, see Error Handling.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Bidispl.h

DLL

Bidispl.dll

See also

IBidiSpl2
Printing and Print Spooler Overview
Printing and Print Spooler Interfaces
Bidi Communications Schema
Bidi Request and Response Schemas

 

 

社区附加资源

显示:
© 2014 Microsoft