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.

104 lines
1.7 KiB

  1. /***************************************************************************
  2. Copyright (c) 2002 Microsoft Corporation
  3. Module Name:
  4. pnp.h
  5. Abstract:
  6. PnP Routines for Smartcard Driver Utility Library
  7. Environment:
  8. Kernel Mode Only
  9. Notes:
  10. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  11. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  12. IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  13. PURPOSE.
  14. Copyright (c) 2001 Microsoft Corporation. All Rights Reserved.
  15. Revision History:
  16. 05/14/2002 : created
  17. Authors:
  18. Randy Aull
  19. ****************************************************************************/
  20. #ifndef __PNP_H__
  21. #define __PNP_H__
  22. NTSTATUS
  23. ScUtilStartDevice(
  24. PDEVICE_OBJECT DeviceObject,
  25. PIRP Irp
  26. );
  27. NTSTATUS
  28. ScUtilStopDevice(
  29. PDEVICE_OBJECT DeviceObject,
  30. PIRP Irp
  31. );
  32. NTSTATUS
  33. ScUtilQueryRemoveDevice(
  34. PDEVICE_OBJECT DeviceObject,
  35. PIRP Irp
  36. );
  37. NTSTATUS
  38. ScUtilCancelRemoveDevice(
  39. PDEVICE_OBJECT DeviceObject,
  40. PIRP Irp
  41. );
  42. NTSTATUS
  43. ScUtilRemoveDevice(
  44. PDEVICE_OBJECT DeviceObject,
  45. PIRP Irp
  46. );
  47. NTSTATUS
  48. ScUtilSurpriseRemoval(
  49. PDEVICE_OBJECT DeviceObject,
  50. PIRP Irp
  51. );
  52. NTSTATUS
  53. ScUtilQueryStopDevice(
  54. PDEVICE_OBJECT DeviceObject,
  55. PIRP Irp
  56. );
  57. NTSTATUS
  58. ScUtilCancelStopDevice(
  59. PDEVICE_OBJECT DeviceObject,
  60. PIRP Irp
  61. );
  62. PNPSTATE
  63. SetPnPState(
  64. PSCUTIL_EXTENSION pExt,
  65. PNPSTATE State
  66. );
  67. #endif