DirectX

 Install the 3 libraries as needed from \SDK

·      DDRAW.LIB
·      DINPUT.LIB
·      DSOUND.LIB

 

 

Architecture

DIRECTDRAW

 

 

HRESULT SetCooperativeLevel(<hWnd>, <flags>);

flags:

DDSCL_ALLOWMODEX

mode x (320X220 or 320X240) must be used w/full & exclusive

DDSCL_ALLOWREBOOT

allow ctr/alt/del in fullscreen

DDSCL_EXCLUSIVE

exc access, must be used w/fullscreen

DDSCL_FULLSCREEN

DD does whole screen w/o windows

DDSCL_NORMAL

act as a normal window

DDSCL_NOWINDOWSCHANGES

DD can’t minimize or restore app on activation