Platform SDK: DirectX

DirectX7

The DirectX7 class serves as a starting point for the DirectX component technologies. This class contains methods which create the main objects for the DirectDraw®, Direct3D®, DirectSound®, DirectInput®, DirectPlay®, and DirectMusic® application programming interfaces. It also contains global methods used by various DirectX components.

An instance of this class is usually the first object created in your DirectX application. It can be obtained by declaring an object variable as New, as in the following example:

Public objDX7 As New DirectX7

The methods of the DirectX7 class can be organized into the following groups:

Object creation Direct3DRMCreate
  DirectDrawCreate
DirectInputCreate
DirectMusicComposerCreate
DirectMusicLoaderCreate
DirectMusicPerformanceCreate
DirectPlayCreate
DirectPlayLobbyCreate
DirectSoundCaptureCreate
DirectSoundCreate
Enumeration GetDDEnum
  GetDSCaptureEnum
GetDSEnum
Color management ColorGetAlpha
  ColorGetBlue
ColorGetGreen
ColorGetRed
CreateColorRGB
CreateColorRGBA
Vector management VectorAdd
  VectorCopy
VectorCrossProduct
VectorDotProduct
VectorModulus
VectorNormalize
VectorRandom
VectorReflect
VectorRotate
VectorScale
VectorSubtract
Vertex management CreateD3DLVertex
  CreateD3DTLVertex
CreateD3DVertex
Matrix CopyMatrix
  IdentityMatrix
MatrixFromQuaternion
MatrixMultiply
ProjectionMatrix
QuaternionMultiply
QuaternionRotation
QuaternionSlerp
RotateXMatrix
RotateYMatrix
RotateZMatrix
ViewMatrix
ZeroMatrix
Miscellaneous CreateEvent
  CreateNewGuid
DestroyEvent
GetWindowRect
SetEvent
SystemBpp
TickCount