The other poster is correct, Macros as they existed in
c/c++ do not exist in c#, that does not mean you cannot
call the code you want to... take a look at
http://blogs.msdn.com/jeffrey_wall/a...04/09/13/22913
7.aspx for one example of how to still use CTL_CODE
>-----Original Message-----
>Can someone please help with converting this c++ to c#.
I couldn't find the
>macro of CTL_CODE in c#.
>
>#define CF9_PACKET CTL_CODE(FILE_DEVICE_CF9,
CF9_IOCTL_INDEX +21,
>METHOD_BUFFERED, FILE_ANY_ACCESS)
>
>Thanks in advance,
>
>.
>