VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

DirectX 7 Example of DirectDraw. See Microsoft website for further info: http://msdn.microsoft.com/

Gideon Cole  (3 Submissions)   Graphics   VB 6.0   Unknown Difficulty   Wed 7th June 2000   Mon 8th February 2021

DirectX 7 Example of DirectDraw. See Microsoft website for further info: https://msdn.microsoft.com/library/psdk/directx/vbddtut_0k4i.htm

API Declarations



' Visual Basic 6.0 Source Code
' illustrating Direct Draw via DirectX 7.0 API
'
' Developed using http://msdn.microsoft.com/library/psdk/directx/vbddtut_0k4i.htm example.

Dim objDX As New DirectX7 'DirectX Object
Dim objDD As DirectDraw7 'Direct Draw Object
Dim ddsd1 As DDSURFACEDESC2 'Surface Desc
Dim ddsd2 As DDSURFACEDESC2 'Surface Desc
Dim objDDSurf As DirectDrawSurface7 'Surface
Dim objDDPrimSurf As DirectDrawSurface7 'Surface
Dim ddClipper As DirectDrawClipper 'Clipper
Dim rSource As RECT
Dim rDestination As RECT

Dim bInit As Boolean
Dim lResult As Long

Rate DirectX 7 Example of DirectDraw. See Microsoft website for further info: http://msdn.microsoft.com/ (1(1 Vote))
DirectX 7 Example of DirectDraw. See Microsoft website for further info: http://msdn.microsoft.com/.bas

DirectX 7 Example of DirectDraw. See Microsoft website for further info: http://msdn.microsoft.com/ Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters