I am trying to figure out how to port from a C Header File to a PB inc file, and have hit a snag.
Code in C
which as it turns out is a macro to declare what value is used for IOCTL_INTERNAL_USB_CYCLE_PORT
I did not know you could dynamicly declare an equates, but wondered if anyone knows what the equivalent is in PB?
Or how I can determine the value so that I could just declare as
Thanx for any help, this one has really got me stumped.
Code in C
Code:
#define IOCTL_INTERNAL_USB_CYCLE_PORT \ CTL_CODE(FILE_DEVICE_USB, USB_CYCLE_PORT, METHOD_NEITHER, FILE_ANY_ACCESS)
I did not know you could dynamicly declare an equates, but wondered if anyone knows what the equivalent is in PB?
Or how I can determine the value so that I could just declare as
Code:
%IOCTL_INTERNAL_USB_CYCLE_PORT = <insert value>

Comment