C# Class LibUsbDotNet.Internal.Kernel32

显示文件 Open project: arvydas/BlinkStickDotNet

Public Methods

Method Description
FormatSystemMessage ( int dwMessageId ) : string

Private Methods

Method Description
CreateFile ( string fileName, [ fileAccess, [ fileShare, IntPtr securityAttributes, [ creationDisposition, NativeFileFlag flags, IntPtr template ) : SafeFileHandle
DeviceIoControl ( SafeHandle hDevice, int IoControlCode, IntPtr InBuffer, int nInBufferSize, IntPtr OutBuffer, int nOutBufferSize, int &pBytesReturned, IntPtr Overlapped ) : bool
DeviceIoControl ( SafeHandle hDevice, int IoControlCode, [ InBuffer, int nInBufferSize, IntPtr OutBuffer, int nOutBufferSize, int &pBytesReturned, IntPtr pOverlapped ) : bool
DeviceIoControl ( SafeHandle hDevice, int IoControlCode, [ InBuffer, int nInBufferSize, [ SizeParamIndex = 6),Out]byte[]OutBuffer, int nOutBufferSize, int &pBytesReturned, IntPtr Overlapped ) : bool
DeviceIoControlAsObject ( SafeHandle hDevice, int IoControlCode, [ InBuffer, int nInBufferSize, IntPtr OutBuffer, int nOutBufferSize, int &pBytesReturned, IntPtr Overlapped ) : bool
FormatMessage ( int dwFlags, IntPtr lpSource, int dwMessageId, int dwLanguageId, [ lpBuffer, int nSize, IntPtr lpArguments ) : int
GetOverlappedResult ( SafeHandle hDevice, IntPtr lpOverlapped, int &lpNumberOfBytesTransferred, bool bWait ) : bool

Method Details

FormatSystemMessage() public static method

public static FormatSystemMessage ( int dwMessageId ) : string
dwMessageId int
return string