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 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 |