Microsoft SDK for Java

com.ms.directX Package Overview

Microsoft Packages Overview

The com.ms.directX package provides the classes and interfaces needed by Java programs and applets to access the services and features of the DirectX® Component Object Model (COM) interface for Microsoft® Windows®.

This package contains the following:

Classes

Interfaces

Hierarchy

Note   The SDK for Java does not explain how to use the DirectX classes. For information about how to use DirectX, see the DirectX Software Development Kit (SDK). In some cases, you may need to refer to the MSDN™ Library for full details about selected structures.

Important   Unlike their counterparts in COM, DirectX methods in Java do not return HRESULT error values. At best, a method will indicate whether a call to it succeeded or failed; the exact cause of an error is not available. Although you can catch the ComException exception to determine whether a DirectX method failed, the getHResult method of this exception does not specify the exact cause of the error.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.