Tests the validity of a hyperlink ID value.
Syntax
HRESULT QueryHlink( DWORD grfHLQF, ULONG uHLID );
Parameters
- grfHLQF
- [in] Unsigned integer value that specifies a flag used to test the validity of a hyperlink. This can be one of the HLQF values.
- uHLID
- [in] Integer that specifies the hyperlink to test. One of the HLID values, such as HLID_PREVIOUS or HLID_NEXT, can be used to indicate a logically identified hyperlink.
Return Value
Returns one of the following values:
S_OK If grfHLQF is HLQF_ISVALID, uHLID identifies a valid hyperlink within the browse context. If grfHLQF is HLQF_ISCURRENT, uHLID identifies the current hyperlink of the browse context. S_FALSE If grfHLQF is HLQF_ISVALID, uHLID does not identify a valid hyperlink within the browse context. If grfHLQF is HLQF_ISCURRENT, uHLID does not identify the current hyperlink of the browse context.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0