Introducing DirectX 9.0 for Managed Code

Microsoft DirectX is a set of low-level application programming interfaces (APIs) for creating games and other high-performance multimedia applications. It includes support for high-performance 2-D and 3-D graphics, sound, and input.

DirectX 9.0 for Managed Code

With DirectX 9.0, developers can take advantage of DirectX multimedia functionality and hardware acceleration while using managed code. DirectX 9.0 for Managed Code enables access to most of the original unmanaged DirectX functionality. The following are the managed code languages supported by DirectX 9.0 and documented in the software development kit (SDK).

  • Microsoft Visual C#
  • Microsoft Visual Basic .NET
  • Microsoft Visual C++
  • Microsoft JScript .NET


DirectX 9.0 for Managed Code is made up of the following major components.

  • Direct3D Graphics provides a single API that you can use for 3-D graphics programming.
  • DirectDraw provides direct low-level access to video memory for high-speed rendering. Deprecated.
  • DirectInput provides support for a variety of input devices, including full support for force-feedback technology.
  • DirectPlay provides support for multiplayer networked games. Deprecated.
  • DirectSound provides support for playing and capturing prerecorded digital samples.
  • Audio Video Playback allows for playback and simple control of audio and video media.

Benefits of DirectX 9.0 for Managed Code

By eliminating the Component Object Model (COM) interoperability layer, DirectX 9.0 for Managed Code improves performance. Managed code can reduce the volume of code and increase productivity. The interface is more intuitive, inheriting from the powerful and easy-to-use Microsoft .NET Framework common types. Managed code also frees you from having to deal with most memory management tasks, such as releasing objects. In the SDK you will find managed Visual C# samples and tutorials that duplicate many of the unmanaged code samples.


The minimum required operating system that will support the managed DirectX 9.0 runtime is Microsoft Windows 98. However, the minimum operating system that will run the samples and tools in the DirectX 9.0 SDK is Windows 2000.