ILITCSSHost::GetCurrentLine

The GetCurrentLine method returns the current line of the parser, in case of a warning or error during Finish().

Syntax

HRESULT GetCurrentLine (
[out, retval] ULONG* pcLine
);

Parameters

pcLine

Pointer to ULONG to receive the line

Return Values

S_OK

E_INVALIDARG

E_OUTOFMEMORY

E_UNEXPECTED

E_FAIL

Remarks

Parse warnings and errors are sent during Finish(), when the client may be looking at </style>, for example. This method returns the offset in lines from the beginning of the CSS data.  The line number is not always available.

See Also

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