* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: template.c,v 1.3 2002/05/23 09:52:56 ekohl Exp $
+/* $Id: template.c,v 1.4 2002/08/20 20:37:07 hyperion Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
{
PDEVICE_OBJECT DeviceObject;
NTSTATUS Status;
- UNICODE_STRING DeviceName;
+ UNICODE_STRING DeviceName = UNICODE_STRING_INITIALIZER(L"\\Device\\BareFsd");
DbgPrint("Bare FSD Template 0.0.1\n");
DriverObject = _DriverObject;
- RtlInitUnicodeString(&DeviceName,
- L"\\Device\\BareFsd");
Status = IoCreateDevice(DriverObject,
0,
&DeviceName,