2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: services/dd/sound/sb16.c
5 * PURPOSE: SB16 device driver
6 * PROGRAMMER: Steven Edwards
12 /* INCLUDES ****************************************************************/
17 DriverEntry(PDRIVER_OBJECT DriverObject
,
18 PUNICODE_STRING RegistryPath
);
24 DriverEntry(PDRIVER_OBJECT DriverObject
,
25 PUNICODE_STRING RegistryPath
)
27 * FUNCTION: Called by the system to initialize the driver
29 * DriverObject = object describing this driver
30 * RegistryPath = path to our configuration entries
31 * RETURNS: Success or failure
34 PDEVICE_OBJECT DeviceObject
;
35 UNICODE_STRING DeviceName
= RTL_CONSTANT_STRING(L
"\\Device\\SNDBLST");
36 UNICODE_STRING SymlinkName
= RTL_CONSTANT_STRING(L
"\\??\\SNDBLST");
39 DPRINT1("Sound Blaster 16 Driver 0.0.1\n");
41 DriverObject
->Flags
= 0;
43 Status
= IoCreateDevice(DriverObject
,
50 if (!NT_SUCCESS(Status
))
53 /* Create the dos device link */
54 IoCreateSymbolicLink(&SymlinkName
,
57 return(STATUS_SUCCESS
);