none
Is READ_REGISTER_ULONG macro 32-bit or 64-bit read on Win7 x64? RRS feed

  • Question

  • Hello all,

    Just a question about the macro READ_REGISTER_ULONG with regards to the x64 Win7 driver. Is this macro generate a 32-bit read of a register or 64-bit read on the Win7 x64 OS?

    Thanks for any help

    Wednesday, March 13, 2013 6:52 PM

Answers

  • ULONG is always 32-bit this is even the case for the type as well as the macro.  READ_REGISTER_ULONG64 will read 64-bits on a 64-bit OS.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Wednesday, March 13, 2013 6:54 PM

All replies

  • ULONG is always 32-bit this is even the case for the type as well as the macro.  READ_REGISTER_ULONG64 will read 64-bits on a 64-bit OS.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Wednesday, March 13, 2013 6:54 PM
  • Donald,

    Thank you for answering my question.

    Wednesday, March 13, 2013 6:56 PM