Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "GetFileInformationByHandle" in [All]

Structures

.
Summary
.

Otherwise, You can get strange values in fields after GetFileInformationByHandle - in Win/64

kernel32

.
Summary
.

    private static extern bool GetFileInformationByHandleEx(IntPtr hFile, FILE_INFO_BY_HANDLE_CLASS infoClass, out FILE_ID_BOTH_DIR_INFO dirInfo, uint dwBufferSize);

.

Declare Function GetFileInformationByHandleEx Lib "kernel32.dll" (TODO) As TODO

.

        GetFileInformationByHandleEx(handle, FILE_INFO_BY_HANDLE_CLASS.FileIdBothDirectoryInfo, out fileStruct, (uint)Marshal.SizeOf(fileStruct));

.
Summary
.

    private static extern bool GetFileInformationByHandleEx(IntPtr hFile, FILE_INFO_BY_HANDLE_CLASS infoClass, out FILE_ID_BOTH_DIR_INFO dirInfo, uint dwBufferSize);

.

Declare Function GetFileInformationByHandleEx Lib "kernel32.dll" (TODO) As TODO

.

        GetFileInformationByHandleEx(handle, FILE_INFO_BY_HANDLE_CLASS.FileIdBothDirectoryInfo, out fileStruct, (uint)Marshal.SizeOf(fileStruct));

.
Documentation
[GetFileInformationByHandleEx] on MSDN

 
Access PInvoke.net directly from VS: