search for: dwfileattribut

Displaying 6 results from an estimated 6 matches for "dwfileattribut".

Did you mean: dwfileattributes
2004 Dec 14
2
[LLVMdev] Which StatusInfo fields should have values set when dealing with win32 platform
...need one. Reid Spencer wrote: >Henrik, > >modTime.fromWin32Time(ftLastWriteTime); > Note that you'll need write a "fromWin32Time" for the TimeValue > class to make the conversion of ftLastWriteTime to TimeValue's > notion of normalized time. > >isDir = dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY; > >fileSize = nFileSizeLow + (nFileSizeHigh << sizeof(DWORD)*8); > >The mode, user, and group fields aren't applicabe to Win32 so just set >them as follows (to avoid Unix issues): > >user = 9999; >group = 9999; >mode = 0777; &gt...
2004 Dec 13
0
[LLVMdev] Which StatusInfo fields should have values set when dealing with win32 platform
Henrik, modTime.fromWin32Time(ftLastWriteTime); Note that you'll need write a "fromWin32Time" for the TimeValue class to make the conversion of ftLastWriteTime to TimeValue's notion of normalized time. isDir = dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY; fileSize = nFileSizeLow + (nFileSizeHigh << sizeof(DWORD)*8); The mode, user, and group fields aren't applicabe to Win32 so just set them as follows (to avoid Unix issues): user = 9999; group = 9999; mode = 0777; Reid. On Mon, 2004-12-13 at 15:15, He...
2004 Dec 14
0
[LLVMdev] Which StatusInfo fields should have values set when dealing with win32 platform
...;Henrik, > > > >modTime.fromWin32Time(ftLastWriteTime); > > Note that you'll need write a "fromWin32Time" for the TimeValue > > class to make the conversion of ftLastWriteTime to TimeValue's > > notion of normalized time. > > > >isDir = dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY; > > > >fileSize = nFileSizeLow + (nFileSizeHigh << sizeof(DWORD)*8); > > > >The mode, user, and group fields aren't applicabe to Win32 so just set > >them as follows (to avoid Unix issues): > > > >user = 9999; &gt...
2004 Dec 13
2
[LLVMdev] Which StatusInfo fields should have values set when dealing with win32 platform
Hi, Does any one have an idea which fields and how to the values correctly of the StatusInfo struct when dealing with the information returned in the BY_HANDLE_FILE_INFORMATION struct (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/by_handle_file_information_str.asp) from windows instead of the unix stuff in getStatusInfo: --- (excerpt start) -------------
2007 Oct 04
0
Prototyping the Dir class
...39; require ''windows/error'' require ''windows/unicode'' require ''windows/directory'' require ''windows/process'' require ''windows/handle'' # Struct sizes (ANSI/Wide) # # WIN32_FIND_DATA: 320/592 # [0,4] => dwFileAttributes # [4,8] => ftCreationTime # [12,8] => ftLastAccessTime # [20,8] => ftLastWriteTime # [28,4] => nFileSizeHigh # [32,4] => nFileSizeLow # [36,4] => dwReserved0 # [40,4] => dwReserved1 # [44,260/520] => cFileName[MAX_PATH] # [304,14] =&g...
2001 Aug 05
4
Abiword as test of Wine
One problem with Wine has been that there were few serious open source win32 applications out there to test Wine with (ok, maybe my opinions are from 1997 :-) In any case, we have some great open source Win32 applications to test with. AbiWord is one. I just tried installing AbiWord 0.9 under the latest Codeweavers preview. The install worked -- but generated about a billion warnings of the