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
426 B
12 lines
426 B
#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
|