Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The RequestShutdown method requests that a pipeline be shut down.
Syntax
HRESULT RequestShutdown(
[in] HRESULT hrReason,
[in] IImgErrorInfo *pReason
);
Parameters
[in] hrReason
An HRESULT value that indicates the reason for the lack of memory.
[in] pReason
Not used. Set to NULL.
Return value
RequestShutdown returns an HRESULT value.
Remarks
A filter that uses the IXpsDocumentConsumer interface must call IPrintPipelineManagerControl::RequestShutdown before it calls IXpsDocumentConsumer::CloseSender to shut down the pipeline. Calling IXpsDocumentConsumer::CloseSender first can produce an invalid XPS document and cause an error.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Desktop |
| Header | filterpipeline.h |