| Package com.ms.com.directX |
Previous |
Microsoft Packages |
Index |
Next |
The Microsoft® 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 article presents the DirectX classes, and identifies and provides detailed information about the methods and fields of these classes.
Note This article does not explain how to use the DirectX classes. For overview information about how to use DirectX, see the DirectX Software Development Kit (SDK). In some cases, you may need to refer to the Microsoft Win32 SDK for full details about selected structures.
This article has the following sections:
| DirectX Classes | Lists the DirectX classes and describes their methods. |
| DirectX Final Classes | Lists the final classes that are used by the DirectX classes. |
| DirectX Callback Interfaces | Lists the DirectX interfaces used to implement callback functions for DirectX methods. |
| DirectX Interfaces | Lists the DirectX interfaces from which DirectX classes are implemented. |
| Interface ddConstants | Lists the values used in the methods and fields of DirectX classes. |
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.
| © 1997 Microsoft Corporation. All rights reserved. Terms of Use. |