I have an api call to createfile and want to pass the following
blah = CreateFile(DRIVER_NAME,GENERIC_READ | GENERIC_WRITE .....
the constants are declared as uints but at compile time I get
Operator '|' cannot be applied to operands of type 'uint'
fair enough, so what type should I use? Or is there a C# way of doing this.
C# is suppoooooooosed to be a c based language but I have run into difficulties.
blah = CreateFile(DRIVER_NAME,GENERIC_READ | GENERIC_WRITE .....
the constants are declared as uints but at compile time I get
Operator '|' cannot be applied to operands of type 'uint'
fair enough, so what type should I use? Or is there a C# way of doing this.
C# is suppoooooooosed to be a c based language but I have run into difficulties.
Comment