Source code of Windows XP (NT5)
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.

45 lines
971 B

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. IopDevObj.h
  5. Abstract:
  6. This header contains private information for managing device objects. This
  7. file is meant to be included only by IoDevObj.c.
  8. Author:
  9. Adrian J. Oney - April 21, 2002
  10. Revision History:
  11. --*/
  12. //
  13. // Define PDEVICE_TYPE field (grrr... not declared in any headers today)
  14. //
  15. typedef DEVICE_TYPE *PDEVICE_TYPE;
  16. //
  17. // This one is exported, but isn't in any of the headers!
  18. //
  19. extern POBJECT_TYPE *IoDeviceObjectType;
  20. VOID
  21. IopDevObjAdjustNewDeviceParameters(
  22. IN PSTACK_CREATION_SETTINGS StackCreationSettings,
  23. IN OUT PDEVICE_TYPE DeviceType,
  24. IN OUT PULONG DeviceCharacteristics,
  25. IN OUT PBOOLEAN Exclusive
  26. );
  27. NTSTATUS
  28. IopDevObjApplyPostCreationSettings(
  29. IN PDEVICE_OBJECT DeviceObject,
  30. IN PSTACK_CREATION_SETTINGS StackCreationSettings
  31. );