Geoff Chappell - Software Analyst
SKETCH OF HOW RESEARCH MIGHT CONTINUE AND RESULTS BE PRESENTED
HRESULT CreateHTMLPropertyPage ( IMoniker *pmk, IPropertyPage **ppPP);
The pMk argument is the address of an IMoniker interface for access to the document that is to be shown in the property page.
The ppPP argument is the address of a variable that is to receive the address of the property page’s IPropertyPage interface.
The function returns zero for success, else an error code.
The CreateHTMLPropertyPage function is exported from MSHTML by name in versions 5.00 and higher. The function is documented, though somehow has Internet Explorer 4.0 listed as its minimum availability.
The Windows SDK provides a prototype in the MSHTMHST.H header file, but it is not immediately useful to programmers because the SDK does not supply any import library for resolving a natural call to the function. Instead, the SDK tells programmers to write some supporting code that uses LoadLibrary to load MSHTML.DLL, and GetProcAddress to locate the function, and then calls the function indirectly. This is all plainly silly and anyone who anticipates doing this work more than once would obviously do better to synthesise the missing import library.