CreateXmlWriterOutputWithEncodingCodePage (Compact 7)
3/12/2014
This function creates an instance of IXmlWriter with the specified parameters.
Syntax
HRESULT CreateXmlWriterOutputWithEncodingCodePage (
ISequentialStream* pStream,
IMalloc* pMalloc
);
Arguments
- pstream
A pointer to the output stream to which the writer is to write data.
- pMalloc
A pointer to a user-provided implementation of the IMalloc interface. The writer will use this for all memory allocation. If this parameter is NULL, the writer will use its own implementation.
- nEncodingCodePage
Specifies the encoding to use by providing the encoding page number of the encoding.
- ppOutput
The new IXmlWriterOutput object.
Return Value
This function returns S_OK if no error is generated.
Remarks
After it creates the writer, the output stream for the writer can be changed by using the SetOutput method of the writer.
See Also
Reference
Functions
IXmlWriter
IMalloc
IXmlWriterOutput
SetOutput
Error Codes