"Rookie" <do***********@rediffmail.com> wrote in message
news:Oh*************@TK2MSFTNGP12.phx.gbl...
Hi,
Can someone suggest a way to use some of the constants defined in Win32.h
eg. FILE_MAP_ALL_ACCESS ?
Is there a way to include a .h file in C# code?
It would be great if someone could provide links to articles/tutorials on
this topic. Thank you.
Have a look at
http://www.pinvoke.net/
There is also a rather handy plugin on this site that integrates with VS.NET
and allows you to drop these sorts of things direct into the code.
(Unfortunately your example doesn't exist in the P/Invoke database... yet).
Stu