Quantcast
Channel: Win32 API from C# PInvoke
Browsing all 7 articles
Browse latest View live

Win32 API from C# PInvoke

Hmm, I had originally tried that but it gave me another error. Now it's letting me do that with no errors. Odd.

View Article



Win32 API from C# PInvoke

Unfortunately, you need to cast the enum value like:parToSend.OptionId = (uint)OptionID.OPTION_SUBNET_MASK;Hannes If you have got questions about this, just ask. In a perfect world, users would never...

View Article

Win32 API from C# PInvoke

What I ended up doing with the OptionId was this:public enum OptionID : uint { OPTION_PAD = 0, OPTION_SUBNET_MASK = 1, OPTION_TIME_OFFSET = 2, OPTION_ROUTER_ADDRESS = 3, OPTION_TIME_SERVERS = 4,...

View Article

Win32 API from C# PInvoke

Thank you. Though I would love to know how you looked into the file once you knew what file to look for.I just did a quick search for dhcpcsdk.h and found it.So I just need to create a variable and...

View Article

Win32 API from C# PInvoke

Thank you. Though I would love to know how you looked into the file once you knew what file to look for.So I just need to create a variable and pass it's pointer to DhcpCApiInitialize then from that I...

View Article


Win32 API from C# PInvoke

Hi,if you take a look at: http://msdn.microsoft.com/en-us/library/windows/desktop/aa363345%28v=vs.85%29.aspx you will see that the example includes thedhcpcsdk.h library. Looking into this file you...

View Article

Win32 API from C# PInvoke

I am accessing the Win32 API in my application using C#, however, I'm a little confused on a few things in the documentation. I was hoping to use this thread to clear up a little bit of my confusion....

View Article
Browsing all 7 articles
Browse latest View live




Latest Images