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.

29 lines
1.0 KiB

  1. 2 April 1998
  2. 1. Q: Why are there so many little include files?
  3. A: Because they are defining various private entities
  4. that we don't want to redefine (build conflicts, etc),
  5. or because they are a copy of a symbol that really
  6. lives somewhere else but we cannot include due to some
  7. header ordering problem.
  8. (e.g. we can't have both ntddk.h and ntos.h, so ZwInitiatePowerAction
  9. has to be copied into a another header file...)
  10. 2. Q: Why doesn't the driver remote, unload, stop, or even fail init?
  11. A: We call the hal with direct call vectors for use in response
  12. to the OS calling it (the hal) to go to S3 or S4. Once we've
  13. set those vectors, we can't pull the code out from under the Hal.
  14. AND
  15. Without the PNP stuff batteries don't work, but other APM features do.
  16. Without the SuspendPoll thread machine initiated APM ops don't work,
  17. but UI initiated ops (the user did C-A-D, shutdown, Standby) WILL
  18. still work.
  19. So, we take what we can get.