42 switch (
Stack->MajorFunction)
45 DPRINT1(
"(SoundBlaster 16 Driver WaveOut) Creating\n");
55 DPRINT1(
"(SoundBlaster 16 Driver) Writing %d bytes\n",
Stack->Parameters.Write.Length);
66 Irp->IoStatus.Information = 0;
85 DPRINT1(
"SoundBlaster 16 Driver 0.0.1\n");
88 DPRINT1(
"Soundblaster 16 not found\n");
110 DPRINT1(
"Detect DSP failed!!!\n");
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
#define STATUS_NOT_IMPLEMENTED
sb_status reset_dsp(unsigned short base_address)
sb_status detect_dsp(SB16 *sb16)
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)
#define IoCompleteRequest
#define FILE_DEVICE_WAVE_OUT
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
_In_ WDFREQUEST _In_ PIO_STACK_LOCATION Stack
_In_ USHORT _In_ ULONG _In_ PSOCKADDR _In_ PSOCKADDR _Reserved_ ULONG _In_opt_ PVOID _In_opt_ const WSK_CLIENT_CONNECTION_DISPATCH * Dispatch