Changeset 3483 for trunk/src/kernel32/Fileio.cpp
- Timestamp:
- May 2, 2000, 10:53:15 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/Fileio.cpp
r3380 r3483 1 /* $Id: Fileio.cpp,v 1. 29 2000-04-15 10:00:44sandervl Exp $ */1 /* $Id: Fileio.cpp,v 1.30 2000-05-02 20:53:11 sandervl Exp $ */ 2 2 3 3 /* … … 6 6 * Copyright 1998 Sander van Leeuwen 7 7 * Copyright 1998 Patrick Haller 8 *9 8 * 10 9 * Project Odin Software License can be found in LICENSE.TXT … … 773 772 return(length-1); 774 773 } 775 //******************************************************************************776 //******************************************************************************777 ODINFUNCTION3(HANDLE, FindFirstChangeNotificationA,778 LPCSTR, lpPathName,779 BOOL, bWatchSubtree,780 DWORD, dwNotifyFilter)781 {782 dprintf(("KERNEL32: FindFirstChangeNotificationA, Not implemented\n"));783 return(0);784 }785 //******************************************************************************786 //******************************************************************************787 ODINFUNCTION1(BOOL, FindNextChangeNotification,788 HANDLE, hChange)789 {790 dprintf(("KERNEL32: FindNextChangeNotification (%08xh), Not implemented\n",791 hChange));792 793 return(0);794 }795 //******************************************************************************796 //******************************************************************************797 774 ODINPROCEDURE0(SetFileApisToANSI) 798 775 { … … 933 910 } 934 911 935 912 //****************************************************************************** 913 //****************************************************************************** 914 ODINFUNCTION3(HANDLE, FindFirstChangeNotificationA, 915 LPCSTR, lpPathName, 916 BOOL, bWatchSubtree, 917 DWORD, dwNotifyFilter) 918 { 919 dprintf(("KERNEL32: FindFirstChangeNotificationA, Not implemented (faked)\n")); 920 return -1; 921 } 922 //****************************************************************************** 923 //****************************************************************************** 924 ODINFUNCTION1(BOOL, FindNextChangeNotification, 925 HANDLE, hChange) 926 { 927 dprintf(("KERNEL32: FindNextChangeNotification (%08xh), Not implemented\n", 928 hChange)); 929 930 return FALSE; 931 } 932 //****************************************************************************** 933 //****************************************************************************** 934 ODINFUNCTION1(BOOL, FindCloseChangeNotification, HANDLE, hChange) 935 { 936 dprintf(("KERNEL32: OS2FindNextChangeNotification, Not implemented\n")); 937 938 return(TRUE); 939 } 940 /***************************************************************************** 941 * Name : HANDLE WIN32API FindFirstChangeNotificationW 942 * Purpose : The FindFirstChangeNotification function creates a change 943 * notification handle and sets up initial change notification 944 * filter conditions. A wait on a notification handle succeeds when 945 * a change matching the filter conditions occurs in the specified 946 * directory or subtree. 947 * Parameters: LPCWSTR lpPathName pointer to name of directory to watch 948 * BOOL bWatchSubtree flag for monitoring directory or 949 * directory tree 950 * DWORD dwNotifyFilter filter conditions to watch for 951 * Variables : 952 * Result : If the function succeeds, the return value is a handle to a find 953 * change notification object. 954 * If the function fails, the return value is INVALID_HANDLE_VALUE 955 * Remark : 956 * Status : UNTESTED STUB 957 * 958 * Author : Markus Montkowski [Tha, 1998/05/21 20:57] 959 *****************************************************************************/ 960 ODINFUNCTION3(HANDLE, FindFirstChangeNotificationW, LPCWSTR, lpPathName, 961 BOOL, bWatchSubtree, 962 DWORD, dwNotifyFilter) 963 { 964 LPSTR lpAsciiPath; 965 HANDLE hChange; 966 967 lpAsciiPath = UnicodeToAsciiString( (LPWSTR) lpPathName); 968 hChange = FindFirstChangeNotificationA(lpAsciiPath, bWatchSubtree, 969 dwNotifyFilter ); 970 if (lpAsciiPath) FreeAsciiString(lpAsciiPath); 971 return hChange; 972 } 973 //****************************************************************************** 974 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.