Click to return to the Reusing Browser Technology home page    
IMarkupServices::MoveRang...     IMarkupServices::ParseStr...     IMarkupServices Interface    
Web Workshop  |  Reusing Browser Technology

IMarkupServices::ParseGlobal Method


Creates an instance of the element object for the specified tag.

Syntax

HRESULT ParseGlobal(
   HGLOBAL hglobalHTML,
   DWORD dwFlags,
   IMarkupContainer **ppContainerResult,
   IMarkupPointer *pPointerStart,
   IMarkupPointer *pPointerFinish
);

Parameters

hglobalHTML
NULL-terminated string to parse.
dwFlags
Reserved. Must be set to zero.
ppContainerResult
Address of a pointer to an IMarkupContainer interface that returns the results of parsing the contents of a string.
pPointerStart
Address of an IMarkupPointer interface used to indicate the start point of the selection in the source.
pPointerFinish
Address of an IMarkupPointer interface used to indicate the end point of the selection in the source.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

Only new IMG and OPTION objects can be created. Before they can be used, new objects must be explicitly added to their respective collections.

The pPointerStart and pPointerFinish parameters are used with CF_HTML to indicate where the selection part of the CF_HTML was in the source.

See Also

ParseString


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.