3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: services/dd/sound/sb16.c
6 * PURPOSE: SB16 device driver
7 * PROGRAMMER: Steven Edwards
13 /* INCLUDES ****************************************************************/
15 #include <ddk/ntddk.h>
16 #include <rosrtl/string.h>
22 DriverEntry(PDRIVER_OBJECT DriverObject
,
23 PUNICODE_STRING RegistryPath
)
25 * FUNCTION: Called by the system to initalize the driver
27 * DriverObject = object describing this driver
28 * RegistryPath = path to our configuration entries
29 * RETURNS: Success or failure
32 PDEVICE_OBJECT DeviceObject
;
33 UNICODE_STRING DeviceName
= ROS_STRING_INITIALIZER(L
"\\Device\\SNDBLST");
34 UNICODE_STRING SymlinkName
= ROS_STRING_INITIALIZER(L
"\\??\\SNDBLST");
37 DPRINT1("Sound Blaster 16 Driver 0.0.1\n");
39 DriverObject
->Flags
= 0;
41 Status
= IoCreateDevice(DriverObject
,
48 if (!NT_SUCCESS(Status
))
51 /* Create the dos device link */
52 IoCreateSymbolicLink(&SymlinkName
,
55 return(STATUS_SUCCESS
);