Displaying 4 results from an estimated 4 matches for "filestandardinformation".
2008 Apr 30
8
Playing with NtQueryInformationFile
Hi all,
I''m trying to get the allocation size of a file via a file handle
(rather than its name). The example below works for FileNameInformation
but I can''t get it to work as expected for FileStandardInformation.
Here''s some sample code:
# query_test.rb
require ''windows/handle''
require ''windows/error''
include Windows::Handle
include Windows::Error
NtQueryInformationFile = API.new(''NtQueryInformationFile'', ''LPPLL'', ''...
2003 Jun 30
0
Performance: FASTIO_CHECK_IF_POSSIBLE win32 call differs on Linux / SunOS [LONG]
...gh the file-IO calls on the
win32 side with filemon, I found out some differences.
Please let me show the difference:
[Server one: Linux - superb fast, no problems]
FASTIO_QUERY_STANDARD_INFO Z:\pv8\8.1f\ADRESSEN.PV FAILURE
IRP_MJ_QUERY_INFORMATION Z:\pv8\8.1f\ADRESSEN.PV SUCCESS
FileStandardInformation
IRP_MJ_READ Z:\pv8\8.1f\ADRESSEN.PV SUCCESS Offset: 0 Length:
16384
IRP_MJ_READ* Z:\pv8\8.1f\ADRESSEN.PV SUCCESS Offset: 0 Length:
16384
FASTIO_CHECK_IF_POSSIBLE Z:\pv8\8.1f\ADRESSEN.PV SUCCESS Read:
Offset: 16384 Length: 16384
IRP_MJ_READ* Z:\pv8\8.1f\ADRESSEN.PV...
2008 Aug 18
0
Playing with NtQueryInformationFile
...or future Googlers.
Hope that''s ok.
> You wrote:
> > I''m trying to get the allocation size of a file via a file handle
> > (rather than its name). The example below works for
> > FileNameInformation but I can''t get it to work as expected
> for FileStandardInformation.
> >
> > I''m trying to get File::Stat#blksize working. It''s easy
> enough when I
> > have the file _name_, but I''d like to get it from the file
> _handle_ so
> > I can make it work properly.
>
> I''m looking for the allocat...
2008 Sep 19
0
Wine release 1.1.5
...inary mode to avoid corruption from text mode on Windows.
Tobias Jakobi (2):
wined3d: Fix SHOW_FRAME_MAKEUP debug dump code.
wined3d: Fix long int warnings.
Vincent Povirk (1):
user32: Use the correct bitmap location for MNS_CHECKORBMP.
Vitaliy Margolen (4):
kernel32: Use FileStandardInformation to get file size.
dinput: Replace strdup with HeapAlloc.
dinput: Implement DIPROP_KEYNAME property for keyboard device.
kernel32: Use NULL attributes if name and SA are not not specified.
Vitaly Lipatov (1):
wineboot: Do registry update with wineboot --update in any case....