Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

112 lines
1.8 KiB

/*++
Copyright (c) 1998 SCM Microsystems, Inc.
Module Name:
stcusbNT.h
Abstract:
Driver header - WDM Version
Author:
Revision History:
PP 1.00 12/18/1998 Initial Version
--*/
#if !defined ( __STCUSB_WDM_H__ )
#define __STCUSB_WDM_H__
//
// Prototypes ----------------------------------------------------------------
//
NTSTATUS
DriverEntry(
PDRIVER_OBJECT DriverObject,
PUNICODE_STRING RegistryPath);
NTSTATUS
StcUsbPnP(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp);
NTSTATUS
StcUsbPower(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp);
NTSTATUS
StcUsbCreateDevice(
IN PDRIVER_OBJECT DriverObject,
OUT PDEVICE_OBJECT *DeviceObject);
NTSTATUS
StcUsbStartDevice(
PDEVICE_OBJECT DeviceObject);
VOID
StcUsbStopDevice(
PDEVICE_OBJECT DeviceObject);
NTSTATUS
StcUsbAddDevice(
IN PDRIVER_OBJECT DriverObject,
IN PDEVICE_OBJECT PhysicalDeviceObject);
VOID
StcUsbUnloadDevice(
PDEVICE_OBJECT DeviceObject);
VOID
StcUsbUnloadDriver(
PDRIVER_OBJECT DriverObject);
NTSTATUS
StcUsbCleanup(
PDEVICE_OBJECT DeviceObject,
PIRP Irp);
NTSTATUS
StcUsbSystemControl(
PDEVICE_OBJECT DeviceObject,
PIRP Irp);
NTSTATUS
StcUsbDeviceIoControl(
PDEVICE_OBJECT DeviceObject,
PIRP Irp);
NTSTATUS
StcUsbCreateClose(
PDEVICE_OBJECT DeviceObject,
PIRP Irp);
NTSTATUS
StcUsbCancel(
PDEVICE_OBJECT DeviceObject,
PIRP Irp);
NTSTATUS
StcUsbGenericIOCTL(
PSMARTCARD_EXTENSION SmartcardExtension);
NTSTATUS
StcUsbStartPollThread( PDEVICE_EXTENSION DeviceExtension );
VOID
StcUsbStopPollThread( PDEVICE_EXTENSION DeviceExtension );
void SysDelay( ULONG Timeout );
#endif // __STCUSB_WDM_H__