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.

54 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1998-2000 Microsoft Corporation
  3. Module Name :
  4. rdpdrpnp.h
  5. Abstract:
  6. This module includes routines for handling PnP-related IRP's for RDP device
  7. redirection.
  8. Author:
  9. tadb
  10. Revision History:
  11. --*/
  12. #pragma once
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif // __cplusplus
  16. // Handles PnP Start Device IRP's.
  17. NTSTATUS RDPDRPNP_HandleStartDeviceIRP(
  18. PDEVICE_OBJECT StackDeviceObject,
  19. PIO_STACK_LOCATION IoStackLocation,
  20. IN PIRP Irp
  21. );
  22. // Handles PnP Remove Device IRP's.
  23. NTSTATUS RDPDRPNP_HandleRemoveDeviceIRP(
  24. IN PDEVICE_OBJECT DeviceObject,
  25. PDEVICE_OBJECT StackDeviceObject,
  26. IN PIRP Irp
  27. );
  28. // This routine should only be called one time to create the "dr"'s FDO
  29. // that sits on top of the PDO for the sole purpose of registering new
  30. // device interfaces.
  31. // This function is called by PnP to make the "dr" the function driver
  32. // for a root dev node that was created on install.
  33. NTSTATUS RDPDRPNP_PnPAddDevice(
  34. IN PDRIVER_OBJECT DriverObject,
  35. IN PDEVICE_OBJECT PhysicalDeviceObject
  36. );
  37. #ifdef __cplusplus
  38. }
  39. #endif // __cplusplus