Menu

#1833 multiple stdcall suffix fixes along with some prototypes

WSL
pending
Task
later
Feature_in_WSL_4.1
True
2013-02-23
2011-10-10
Ozkan Sezer
No

The ddk def files have incorrect stdcall suffixes at multiple places. I had fixed them a long time ago in mingw-w64, so I am returning the information here too: see the attached patch, which does the following:

- ddk/cfgmgr32.h (CM_Add_IDA, CM_Add_IDW): Fix prototype per msdn:
http://msdn.microsoft.com/en-us/library/windows/hardware/ff537928\(v=vs.85).aspx

- lib/kernel32.def: Move RegGetValue[A|W] from here...
- lib/advapi32.def: ... here. See
http://msdn.microsoft.com/en-us/library/ms724868\(VS.85).aspx

- lib/*.def, lib/ddk/*.def: Fix multiple exports' stdcall suffixes:
I will will only give two msdn reference as samples for DuplicateEncryptionInfoFile and UninstallApplication:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa364011\(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/aa375095\(v=vs.85).aspx
For the rest, you can look at your own headers for the relevant functions' prototypes which covers more than 80% of the cases I guess. And for the rest, looking at gendef output should be enough.

Feel free to review, use abuse and apply,

Discussion

  • Ozkan Sezer

    Ozkan Sezer - 2011-10-10

    def fixes, etc

     
  • Ozkan Sezer

    Ozkan Sezer - 2011-10-11

    more fixes (this one for ndis)

     
  • Ozkan Sezer

    Ozkan Sezer - 2011-10-11

    Attached another diff, this time fixing an ndis export and prototype. (seems like I missed it the first time.)

     
  • Earnie Boyd

    Earnie Boyd - 2013-02-14

    Ticket moved from /p/mingw/patches/497/

     
  • Earnie Boyd

    Earnie Boyd - 2013-02-14
    • labels: w32api -->
    • status: open --> pending
    • assigned_to: Earnie Boyd
    • milestone: --> WSL
    • type: --> Task
    • resolution: --> later
    • category: --> Unknown
    • patch_attached: --> True
     
  • Earnie Boyd

    Earnie Boyd - 2013-02-21
    • category: Unknown --> Feature_in_WSL_4.0
     
  • Earnie Boyd

    Earnie Boyd - 2013-02-23
    • labels: --> needs review, needs test
    • category: Feature_in_WSL_4.0 --> Feature_in_WSL_4.1