C# Class SharpBoot.DeviceIO

P/Invoke wrappers around Win32 functions and constants.
Mostra file Open project: zdimension/SharpBoot Class Usage Examples

Private Methods

Method Description
CloseHandle ( SafeFileHandle hHandle ) : bool
CreateFile ( string FileName, uint DesiredAccess, uint ShareMode, IntPtr SecurityAttributes, uint CreationDisposition, uint FlagsAndAttributes, IntPtr hTemplateFile ) : SafeFileHandle
DeviceIoControl ( SafeFileHandle hDevice, uint dwIoControlCode, IntPtr lpInBuffer, uint nInBufferSize, [ lpOutBuffer, uint nOutBufferSize, uint &lpBytesReturned, IntPtr lpOverlapped ) : bool
FlushFileBuffers ( SafeFileHandle hFile ) : bool
ReadFile ( SafeFileHandle hFile, byte pBuffer, uint NumberOfBytesToRead, uint pNumberOfBytesRead, IntPtr Overlapped ) : bool
SetFilePointerEx ( SafeFileHandle hFile, ulong liDistanceToMove, ulong &lpNewFilePointer, uint dwMoveMethod ) : bool
WriteFile ( SafeFileHandle hFile, byte pBuffer, uint NumberOfBytesToWrite, uint pNumberOfBytesWritten, IntPtr Overlapped ) : bool