public static extern IntPtr CreateFile(
     String lpFileName,
     UInt32 dwDesiredAccess,
     UInt32 dwShareMode,
     ref DriverEntity.SECURITY_ATTRIBUTES lpSecurityAttributes,
     UInt32 dwCreationDisposition,
     UInt32 dwFlagsAndAttributes,
     IntPtr hTemplateFile
     );
 public static extern IntPtr CreateEvent(
     ref DriverEntity.SECURITY_ATTRIBUTES lpEventAttributes,
     bool bManualReset,
     bool bInitialState,
     String lpName
     );