#define help..

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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,
 
C# beginner said:
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,
No, there is no macro in C# , at least now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top