Menu

#136 Winbase.h, ntdll.def

closed-fixed
nobody
w32api (251)
2003-01-02
2002-12-18
No

Winbase.h

- Changed NMPWAIT_WAIT_FOREVER constant from (-
1) to 0xffffffff. The constant should be of type DWORD
though, as the documentation of CallNamedPipe states:
http://msdn.microsoft.com/library/en-
us/ipc/base/callnamedpipe.asp
Since DWORDs can't be negative, the compiler raises a
warning and converts the value of
NMPWAIT_WAIT_FOREVER from (-1) to 0xffffffff. So on
a binary basis, nothing is changed, but it removes a
compiler warning.

- Added missing constant
LOGON32_LOGON_NETWORK = 3:
Documentation references:
http://msdn.microsoft.com/library/en-
us/security/security/logonuser.asp documents the
existance and the value has
http://support.microsoft.com/default.aspx?scid=kb%
3Bde%3BD43865 documents the value

ntdll.def

- Added Nt-/ZwConnectPort, Nt-/ZwOpenEvent, Nt-
/ZwRequestWaitReplyPort, Nt-/ZwWaitForSingleObject

Documentation reference:
Nt-/ZwConnectPort, Nt-/ZwRequestWaitReplyPort:
http://www.windowsitlibrary.com/Content/356/08/2.html

Nt-/ZwOpenEvent, Nt-/ZwWaitForSingleObject:
Book "Windows NT/2000 Native API Reference" by Gary
Nebbett, ISBN 1-57870-199-6, Chapter 9

Discussion

  • Danny Smith

    Danny Smith - 2002-12-26

    Logged In: YES
    user_id=11494

    I don't see an actual patch here. Could you please try to
    upload again. Also, a correctly formatted ChangeLog
    entry would be nice.
    Thanks
    Danny

     
  • Hartmut Honisch

    Hartmut Honisch - 2002-12-26

    Logged In: YES
    user_id=629477

    For the Changelog:

    * include/winbase.h: Changed and added constants
    * lib/ntdll.def: Added function references

     
  • Hartmut Honisch

    Hartmut Honisch - 2002-12-26
     
  • Danny Smith

    Danny Smith - 2003-01-02

    Logged In: YES
    user_id=11494

    Fixed in CVS.
    Thanks

    2002-12-30 Hartmut Honisch
    <hhonisch@users.sourceforge.net>

    \* include/winbase.h
    

    (NMPWAIT_WAIT_FOREVER): Cast to DWORD.

    \* lib/ntdll.def \(NtConnectPort, NtOpenEvent,
    NtRequestWaitReplyPort,
    

    NtWaitForSingleObject,ZwConnectPort,
    ZwOpenEvent, ZwRequestWaitReplyPort,
    ZwWaitForSingleObject):
    Add stubs.

     
  • Danny Smith

    Danny Smith - 2003-01-02
    • status: open --> closed-fixed
     
MongoDB Logo MongoDB