Changeset 22024 for trunk/include


Ignore:
Timestamp:
Sep 27, 2012, 4:08:58 PM (13 years ago)
Author:
dmik
Message:

kernel32: Fix inverted return values in dummy HMDeviceHandler implementations.

This in particular affected GetFileInformationByHandle and other APIs. Some applications
(like Flash 10.1+) could be completely confused by the fact that the unimplemented API
returns success.

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/os2win.h

    r21916 r22024  
    689689DWORD   OPEN32API O32_GetFileAttributes( LPSTR );
    690690
    691 DWORD   OPEN32API O32_GetFileInformationByHandle( HANDLE, BY_HANDLE_FILE_INFORMATION * );
     691BOOL    OPEN32API O32_GetFileInformationByHandle( HANDLE, BY_HANDLE_FILE_INFORMATION * );
    692692
    693693DWORD   OPEN32API O32_GetFileSize( HANDLE, PDWORD );
  • trunk/include/win/winbase.h

    r22020 r22024  
    16431643BOOL      WINAPI GetFileAttributesExW(LPCWSTR,GET_FILEEX_INFO_LEVELS,LPVOID);
    16441644#define     GetFileAttributesEx WINELIB_NAME_AW(GetFileAttributesEx)
    1645 DWORD       WINAPI GetFileInformationByHandle(HANDLE,BY_HANDLE_FILE_INFORMATION*);
     1645BOOL        WINAPI GetFileInformationByHandle(HANDLE,BY_HANDLE_FILE_INFORMATION*);
    16461646BOOL        WINAPI GetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD);
    16471647BOOL        WINAPI GetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD);
Note: See TracChangeset for help on using the changeset viewer.