Please help, I try to use DD_OK but it says it's not declared. I tried to use DxVBLib.DD_OK but it's not in there. How do I use this? I'm using DirectX7 and really need help. Here's the context of it.

VB Code:
  1. Function ExModeActive() As Boolean
  2.         Dim TestCoopRes As Long
  3.         TestCoopRes = dd.TestCooperativeLevel
  4.         If (TestCoopRes = DD_OK) Then
  5.  
  6.         End If
  7.     End Function