windows-nt/Source/XPSP1/NT/net/qos/tools/qtcp/ioctl.h
2020-09-26 16:20:57 +08:00

13 lines
414 B
C

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