IXpsDocumentConsumer::GetNewEmptyPart method (filterpipeline.h)
The GetNewEmptyPart
method creates a new XPS part.
Syntax
HRESULT GetNewEmptyPart(
[in] const wchar_t *uri,
[in] REFIID riid,
[out] void **ppNewObject,
[out] IPrintWriteStream **ppWriteStream
);
Parameters
[in] uri
The URI for the new part to be created.
[in] riid
A reference identifier (REFIID) for one of the following interfaces:
[out] ppNewObject
A pointer to the new object to be created.
[out] ppWriteStream
A data stream object that the part will be written to. Each part is associated with a data stream object.
Return value
GetNewEmptyPart
returns an HRESULT.
Remarks
A filter can create new XPS parts by using the GetNewEmptyPart
method. Typically, the filter receives XPS parts from the inter-filter object.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | filterpipeline.h |
See also
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