#528 IOleDocumentView::GetDocument wrongly defined in docobj.h

component_package
closed-fixed
nobody
2004-04-23
2004-03-15
No

MinGW version 3.10
w32api-2.4

In /mingw/include/docobj.h, the declaration for the
IOleDocumentView is as:

DECLARE_INTERFACE_(IOleDocumentView,IUnknown)
{
// [snip]
// docobj.h, line 91:
STDMETHOD(GetDocument)(THIS_ IUnknown*) PURE;
};

The argument to GetDocument should be of type IUnknown**.

Proposed patch: add a star in line 91 of <docobj.h>.

Source: go to http://msdn.microsoft.com/library and
search for "IOleDocumentView GetObject".

Discussion

  • Buster Copley

    Buster Copley - 2004-03-15
    • status: open --> open-works-for-me
     
  • Buster Copley

    Buster Copley - 2004-03-15
    • status: open-works-for-me --> open
     
  • Luke Dunstan

    Luke Dunstan - 2004-04-23
    • status: open --> closed-fixed
     

Log in to post a comment.