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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/hmfile.h

    r21564 r22024  
    8181
    8282       /* this is a handler method for calls to GetFileInformationByHandle() */
    83   virtual DWORD GetFileInformationByHandle(PHMHANDLEDATA pHMHandleData,
    84                                            BY_HANDLE_FILE_INFORMATION* pHFI);
     83  virtual BOOL GetFileInformationByHandle(PHMHANDLEDATA pHMHandleData,
     84                                          BY_HANDLE_FILE_INFORMATION* pHFI);
    8585
    8686                     /* this is a handler method for calls to SetEndOfFile() */
Note: See TracChangeset for help on using the changeset viewer.