コード例 #1
0
ファイル: Kernel.cs プロジェクト: JackWangCUMT/Win32-1
 public static extern int WriteFile(IntPtr hFile, IntPtr lpBuffer, int nNumberOfBytesToWrite,
                                    ref int lpNumberOfBytesWritten, ref OVERLAPPED lpOverlapped);
コード例 #2
0
ファイル: Kernel.cs プロジェクト: JackWangCUMT/Win32-1
 public static extern int WriteFileEx(IntPtr hFile, IntPtr lpBuffer, int nNumberOfBytesToWrite,
                                      ref OVERLAPPED lpOverlapped, ref int lpCompletionRoutine);
コード例 #3
0
ファイル: Kernel.cs プロジェクト: JackWangCUMT/Win32-1
 public static extern int UnlockFileEx(IntPtr hFile, int dwReserved, int nNumberOfBytesToUnlockLow,
                                       int nNumberOfBytesToUnlockHigh, ref OVERLAPPED lpOverlapped);
コード例 #4
0
ファイル: Kernel.cs プロジェクト: JackWangCUMT/Win32-1
 public static extern int WaitCommEvent(IntPtr hFile, ref int lpEvtMask, ref OVERLAPPED lpOverlapped);
コード例 #5
0
ファイル: Kernel.cs プロジェクト: JackWangCUMT/Win32-1
 public static extern int TransactNamedPipe(IntPtr hNamedPipe, IntPtr lpInBuffer, int nInBufferSize,
                                            IntPtr lpOutBuffer, int nOutBufferSize, ref int lpBytesRead,
                                            ref OVERLAPPED lpOverlapped);
コード例 #6
0
ファイル: Kernel.cs プロジェクト: JackWangCUMT/Win32-1
 public static extern int ReadFile(IntPtr hFile, IntPtr lpBuffer, int nNumberOfBytesToRead,
                                   ref int lpNumberOfBytesRead, ref OVERLAPPED lpOverlapped);
コード例 #7
0
ファイル: Kernel.cs プロジェクト: JackWangCUMT/Win32-1
 public static extern int GetOverlappedResult(IntPtr hFile, ref OVERLAPPED lpOverlapped,
                                              ref int lpNumberOfBytesTransferred, int bWait);
コード例 #8
0
ファイル: Kernel.cs プロジェクト: JackWangCUMT/Win32-1
 public static extern int DeviceIoControl(IntPtr hDevice, int dwIoControlCode, IntPtr lpInBuffer,
                                          int nInBufferSize, IntPtr lpOutBuffer, int nOutBufferSize,
                                          ref int lpBytesReturned, ref OVERLAPPED lpOverlapped);
コード例 #9
0
ファイル: Kernel.cs プロジェクト: JackWangCUMT/Win32-1
 public static extern int ConnectNamedPipe(IntPtr hNamedPipe, ref OVERLAPPED lpOverlapped);