21 SIZE_T InfoSize =
sizeof(HeadlessInformation);
37 (HeadlessInformation.
Serial.TerminalAttached)))
#define FILE_DEVICE_SECURE_OPEN
#define NT_SUCCESS(StatCode)
DRIVER_INITIALIZE DriverEntry
BOOLEAN NTAPI InitializeDeviceData(IN PDEVICE_OBJECT DeviceObject)
VOID NTAPI FreeGlobalData(VOID)
BOOLEAN NTAPI InitializeGlobalData(IN PUNICODE_STRING RegistryPath, IN PDRIVER_OBJECT DriverObject)
NTSTATUS NTAPI DispatchDeviceControl(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
NTSTATUS NTAPI DispatchShutdownControl(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
@ HeadlessCmdQueryInformation
@ HeadlessUndefinedPortType
NTSTATUS NTAPI HeadlessDispatch(IN HEADLESS_CMD Command, IN PVOID InputBuffer, IN SIZE_T InputBufferSize, OUT PVOID OutputBuffer, OUT PSIZE_T OutputBufferSize)
#define RtlFillMemoryUlong(dst, len, val)
_In_ PDRIVER_UNLOAD UnloadHandler
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
NTSTATUS NTAPI IoCreateDevice(IN PDRIVER_OBJECT DriverObject, IN ULONG DeviceExtensionSize, IN PUNICODE_STRING DeviceName, IN DEVICE_TYPE DeviceType, IN ULONG DeviceCharacteristics, IN BOOLEAN Exclusive, OUT PDEVICE_OBJECT *DeviceObject)
NTSTATUS NTAPI IoRegisterShutdownNotification(PDEVICE_OBJECT DeviceObject)
#define STATUS_PORT_DISCONNECTED
#define FILE_DEVICE_UNKNOWN
#define IRP_MJ_DEVICE_CONTROL
#define SAC_DBG_ENTRY_EXIT
struct _HEADLESS_RSP_QUERY_INFO::@1785::@1787 Serial
HEADLESS_TERM_PORT_TYPE PortType
#define STATUS_INSUFFICIENT_RESOURCES
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
_In_ USHORT _In_ ULONG _In_ PSOCKADDR _In_ PSOCKADDR _Reserved_ ULONG _In_opt_ PVOID _In_opt_ const WSK_CLIENT_CONNECTION_DISPATCH * Dispatch