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.

12 lines
414 B

  1. #ifndef _IOCTL
  2. #define _IOCTL
  3. // Define the ioctls for adding and removing ports.
  4. #define CTRL_CODE(function, method, access) \
  5. CTL_CODE(FILE_DEVICE_NETWORK, function, method, access)
  6. #define IOCTL_TIMESTMP_REGISTER_PORT CTRL_CODE( 0x847, METHOD_BUFFERED, FILE_WRITE_ACCESS)
  7. #define IOCTL_TIMESTMP_DEREGISTER_PORT CTRL_CODE( 0x848, METHOD_BUFFERED, FILE_WRITE_ACCESS)
  8. #endif //_IOCTL