Skip to content

Windows 7 Managed Code APIs through the “Windows API Code Pack”

I just stumbled across an article that might interest those wishing to perform development specific to the Windows 7 platform from a managed code environment (.NET).

Windowsteamblog.com have announced a downloadable Windows API Code Pack for Microsoft .NET Framework. As  some of you may know, most Windows 7 APIs are written in native code C, C++, and COM APIs, and provide no .NET equivalents, but this pack intends to bridges that gap.  The Windows SDK team have put together this pack to provide you with a managed code .NET API which interfaces to these unmanaged code libraries, providing a simple to understand and easy to access mechanism which enable many of the features typically much more difficult to access.

More information direct from Windows Team Blog article:

As mentioned in the Windows 7 .NET Interop Sample Libraries post, most Windows 7 APIs are written in native code C, C++, and COM APIs, and have no .Net equivalents. This makes the life of managed code developers a bit hard, forcing them to create their own interoperability layers for communicating between .NET and the native Windows APIs. Some native APIs are easy to wrap and use from managed code, requiring simple interoperability efforts like adding a reference to a COM type library. However, some are extremely problematic and require a lot of knowledge about the “Win32” programming style. That is exactly why the Windows API Code Pack for Microsoft .NET Framework was created.

In the Windows 7 .NET Interop Sample Libraries post, we highlighted few samples codes showing how to access the Taskbar, Libraries, Sensor, and multi-touch from .NET, and we also promised to report in the near future on a new project, Windows API Code Pack for Microsoft .NET Framework. The Windows SDK team built the Windows API Code Pack to provide easy access to Windows 7 features for .NET developers , lowering the bar for developers who want to target Windows 7 Client applications. Basically, it is the closest thing a .NET developer will have to managed code APIs for Windows 7.

Sounds pretty cool huh?
Check out the remainder of the article at windowsteamblog.com as well as the download links.

VN:F [1.9.1_1087]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.1_1087]
Rating: 0 (from 0 votes)
Bookmark and Share
kick it on DotNetKicks.com
Shout it

NOW, FOR A WORD FROM OUR SPONSORS

3 Comments

  1. Chris Gilbert

    That’s awesome!

    VA:F [1.9.1_1087]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.1_1087]
    Rating: 0 (from 0 votes)
    Posted on 21-May-09 at 10:23 am | Permalink
  2. Graham O'Neale

    Ah good morning Chris! You do check my blog, hehe cool :)

    VA:F [1.9.1_1087]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.1_1087]
    Rating: 0 (from 0 votes)
    Posted on 21-May-09 at 10:49 am | Permalink
  3. JessicaD

    Graham O’Neale,

    There were many reasons why Windows 7 was written the way it was and you have mentioned a few of the benefits of it. I encourage you and all Windows 7 RC users to head on over to Microsoft Springboard to learn more about the many new features and why they were developed.

    http://tinyurl.com/832nco

    Jessica
    Microsoft TechNet / Springboard

    VA:F [1.9.1_1087]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.1_1087]
    Rating: 0 (from 0 votes)
    Posted on 22-May-09 at 10:31 am | Permalink

One Trackback/Pingback

  1. [...] Then you’ll want to grab the Windows API code pack for MS .NET framework – here.  This .NET source code supports new Windows 7 developer features via managed code APIs including the following: Shell features, Direct 3D 11.0, and Sensor Platform APIs.  More about the value of this download from this blog post. [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*
My name is Graham O'Neale and I'm a software architect from Gold Coast, Australia. I am an overtime thinker, full time coder and awake part time in the real world. I have a keen interest in software development, particularly in the realm of programming (C#, ASP.NET, ASP.NET MVC, LINQ (2 SQL), Entity Framework, Silverlight, Blend, WCF, WPF) and a keen interest in the cutting edge and innovation. I have a new found love for design patterns, ALT.NET practices and well crafted software architecture. The purpose of this blog is to express any thoughts, findings, tips and gripes along my travels in the wonderful world of coding and technology...