search for: lppathnam

Displaying 2 results from an estimated 2 matches for "lppathnam".

Did you mean: lppathname
2005 Jan 20
1
ChangeNotify help wanted
Hi all, I''ve checked in some code to win32-changenotify. Unfortunately, it doesn''t work right. I need some help. I don''t understand what, exactly, I''m supposed to pass to ReadDirectoryChangesW() for the 2nd argument, nor how to read the data back out. There''s also a WCHAR issue that needs to be worked out with regards to the FileName
2005 Jan 06
0
Some thoughts on win32-changenotify
...n open a directory and call ReadDirectoryChangesW() successfully, but I can''t figure out how to read back out of the buffer (nor am I exactly sure what to pass as a buffer in the first place). Here''s the basic approach. // Get a handle to the directory. hDir = CreateFile( lpPathName, FILE_LIST_DIRECTORY, FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE, NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, NULL ); if(hDir == INVALID_HANDLE_VALUE) { rb_raise(cChangeNotifyError,ErrorDescription(GetLastError())); } if(!R...