DirectDraw を Visual C++ で使うには ヘッダに ddraw.h リンカに ddraw.lib を追加します。 マルチメディアタイマーを使う場合は、 ヘッダに mmsystem.h リンカに winmm.lib を追加。