Ahh, I think I have not made clear that I am trying to implement QueryInfo()
in my protocol handler - not call it. So you see I need to know how to
respond to the call from MSHTML.
By looking at the disassembly from a breakpoint, it looks like MSHTML calls
CoInternetQueryInfo which eventually calls my QueryInfo(). And it looks like
MSHTML provides a four-byte buffer and tests it to see if its all zeroes or
not. So I guess I should return a 4-byte BOOL in the buffer.
BTW, what is QUERY_CAN_NAVIGATE actually asking? The documentation says
"Check if the protocol can navigate.". But what does that actually mean? What
is the difference between a protocol that "can navigate" and one that can't?
--
Regards
Simon
Post by Luke Zhang [MSFT]Just a quick guess, it should be a pointer to a bool value you get from
HRESULT QueryInfo( LPCWSTR pwzUrl,
QUERYOPTION OueryOption,
DWORD dwQueryFlags,
LPVOID pBuffer,
DWORD cbBuffer,
DWORD *pcbBuf,
DWORD dwReserved
);
pBuffer is pointer to the bool value. ( you may get the actual size of
returned value from *pcbBuf)
Regards,
Luke Zhang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
(This posting is provided "AS IS", with no warranties, and confers no
rights.)