Package com.ms.com.directX |
![]() Previous |
![]() Microsoft Packages |
![]() Index |
![]() Next |
The DirectX package provides the classes and interfaces needed by Java programs and applets to access the services and features of the DirectX COM interface for Windows. This document presents the DirectX classes, and identifies and provides detailed information about the methods and fields of these classes.
Note This document does not explain how to use the DirectX classes. For overview information about how to use DirectX, see the DirectX Software Development Kit. In some cases, you may need to refer to the Win32 Software Development Kit for full details about selected structures.
This document has these 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.