Win 3.x API Functions Not Wrapped by MFC (Part III)

Last reviewed: July 17, 1997
Article ID: Q86528
7.00 | 1.00 1.50 MS-DOS | WINDOWS kbprg

The information in this article applies to:

  • The Microsoft Foundation Classes (MFC) included with:

        - Microsoft C/C++ version 7.0
        - Microsoft Visual C++ for Windows, versions 1.0 and 1.5
    

SUMMARY

The following are the Microsoft Windows versions 3.0 and 3.1 API functions that are not wrapped by the Microsoft Foundation Classes (MFC) because they duplicate a language feature or a library routine.

Windows 3.0 and 3.1 API             Equivalent Feature
-----------------------             ------------------

_lclose                             CFile::Close
_lcreat                             CFile::CFile
                                    CFile::Open
_llseek                             CFile::Seek
                                    CFile::SeekToBegin
                                    CFile::SeekToEnd
_lopen                              CFile::Open
_lread                              CFile::Read
_lwrite                             CFile::Write
DefDlgProc                          Default member function
DefFrameProc                        Default member function
DefMDIChildProc                     Default member function
DefWindowProc                       Default member function
EnumProps                           Member data in derived class (1)
GetClassInfo                        Member data in derived class
GetClassLong                        Member data in derived class
GetClassWord                        Member data in derived class
GetProp                             Member data in derived class (1)
GetWindowLong                       Member data in derived class
GetWindowWord                       Member data in derived class
RemoveProp                          Member data in derived class (1)
SetClassLong                        Member data in derived class
SetClassWord                        Member data in derived class
SetProp                             Member data in derived class (1)
SetWindowLong                       Member data in derived class
SetWindowWord                       Member data in derived class


(1) The property list mechanism is similar to member variables in that data is associated with an HWnd. However, member variables must be known at compile time, while a property list is maintained at run-time. A user can get similar functionality by using an MFC list object for this kind of member data.


Additional reference words: kbinf 7.00 1.00 1.50 2.00 2.50 wrapped
KBCategory: kbprg
KBSubcategory: MfcMisc
Keywords : kb16bitonly
Technology : kbMfc


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.