Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

This method returns the current line of XML that is being parsed. When there is an error, it is helpful to see the original decoded XML that contained the error.

Syntax

HRESULT GetLineBuffer( 
  const WCHAR * 
ppwcBuf,
  ULONG * 
pulLen,
  ULONG * 
pulStartPos
);

Parameters

ppwcBuf

[out] Pointer into the decoded XML buffer

pulLen

[out] The length of the buffer

pulStartPos

[out] The position of the error inside the buffer

Return Value

This method is not guaranteed to always return something. If no parse is started or if there was an error fetching any XML data, this method will return an empty buffer of length 0.

Remarks

Other kinds of IXMLNodeSourceinterfaces might be unable to provide this information.

Requirements

Header xmlparser.h
Library xmlparser.lib
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also

Reference

IXMLNodeSource