Counter Strike : Global Offensive Source Code
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
877 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef IOCTLCODES_H
  9. #define IOCTLCODES_H
  10. #pragma once
  11. // Define the IOCTL codes we will use. The IOCTL code contains a command
  12. // identifier, plus other information about the device, the type of access
  13. // with which the file must have been opened, and the type of buffering.
  14. // Device type -- in the "User Defined" range."
  15. #define DEVICE_FILE_TYPE 40000
  16. // The IOCTL function codes from 0x800 to 0xFFF are for customer use.
  17. #define IOCTL_WRITE_MSR \
  18. CTL_CODE( DEVICE_FILE_TYPE, 0x900, METHOD_BUFFERED, FILE_READ_ACCESS )
  19. #define IOCTL_READ_MSR \
  20. CTL_CODE( DEVICE_FILE_TYPE, 0x901, METHOD_BUFFERED, FILE_READ_ACCESS )
  21. #endif IOCTLCODES_H