2 * Win32 file change notification functions
4 * FIXME: this is VERY difficult to implement with proper Unix support
5 * at the wineserver side.
6 * (Unix doesn't really support this)
7 * See http://x57.deja.com/getdoc.xp?AN=575483053 for possible solutions.
9 * Copyright 1998 Ulrich Weigand
19 #include "wine/server.h"
20 #include "debugtools.h"
22 DEFAULT_DEBUG_CHANNEL(file
);
24 /****************************************************************************
25 * FindFirstChangeNotificationA (KERNEL32.@)
27 HANDLE WINAPI
FindFirstChangeNotificationA( LPCSTR lpPathName
, BOOL bWatchSubtree
,
28 DWORD dwNotifyFilter
)
30 HANDLE ret
= INVALID_HANDLE_VALUE
;
32 FIXME("this is not supported yet (non-trivial).\n");
34 SERVER_START_REQ( create_change_notification
)
36 req
->subtree
= bWatchSubtree
;
37 req
->filter
= dwNotifyFilter
;
38 if (!wine_server_call_err( req
)) ret
= reply
->handle
;
44 /****************************************************************************
45 * FindFirstChangeNotificationW (KERNEL32.@)
47 HANDLE WINAPI
FindFirstChangeNotificationW( LPCWSTR lpPathName
,
51 HANDLE ret
= INVALID_HANDLE_VALUE
;
53 FIXME("this is not supported yet (non-trivial).\n");
55 SERVER_START_REQ( create_change_notification
)
57 req
->subtree
= bWatchSubtree
;
58 req
->filter
= dwNotifyFilter
;
59 if (!wine_server_call_err( req
)) ret
= reply
->handle
;
65 /****************************************************************************
66 * FindNextChangeNotification (KERNEL32.@)
68 BOOL WINAPI
FindNextChangeNotification( HANDLE handle
)
70 /* FIXME: do something */
74 /****************************************************************************
75 * FindCloseChangeNotification (KERNEL32.@)
77 BOOL WINAPI
FindCloseChangeNotification( HANDLE handle
)
79 return CloseHandle( handle
);