public static extern bool WriteFile( IntPtr hFile, byte[] lpBuffer, UInt32 nNumberOfBytesToWrite, ref UInt32 lpNumberOfBytesWritten, ref api.driverDefine.OVERLAPPED lpOverlapped );
public static unsafe extern bool ReadFile( IntPtr hFile, byte[] lpBuffer, UInt32 nNumberOfBytesToRead, ref UInt32 lpNumberOfBytesRead, ref api.driverDefine.OVERLAPPED lpOverlapped );
public static extern bool DeviceIoControl( IntPtr hDevice, UInt32 dwIoControlCode, byte[] lpInBuffer, UInt32 nInBufferSize, byte[] lpOutBuffer, UInt32 nOutBufferSize, ref UInt32 lpBytesReturned, ref api.driverDefine.OVERLAPPED lpOverlapped );
public static extern IntPtr CreateFile( String lpFileName, UInt32 dwDesiredAccess, UInt32 dwShareMode, ref api.driverDefine.SECURITY_ATTRIBUTES lpSecurityAttributes, UInt32 dwCreationDisposition, UInt32 dwFlagsAndAttributes, IntPtr hTemplateFile );
public static extern IntPtr CreateEvent( ref api.driverDefine.SECURITY_ATTRIBUTES lpEventAttributes, bool bManualReset, bool bInitialState, String lpName );
public static extern bool ControlService( IntPtr hService, UInt32 dwControl, ref api.driverDefine.SERVICE_STATUS lpServiceStatus );