[BDAPLGIN]
[reactos.git] / reactos / dll / directx / bdaplgin / devicecontrol.cpp
index d44367f..661eba5 100644 (file)
@@ -498,6 +498,10 @@ CBDADeviceControl_fnConstructor(
     IBaseFilter *pFilter = NULL;
     HANDLE hFile;
 
+#ifdef BDAPLGIN_TRACE
+    OutputDebugStringW(L"CBDADeviceControl_fnConstructor\n");
+#endif
+
     //DebugBreak();
 
     // sanity check
@@ -540,10 +544,6 @@ CBDADeviceControl_fnConstructor(
     // construct device control
     CBDADeviceControl * handler = new CBDADeviceControl(pUnkOuter, pFilter, hFile);
 
-#ifdef BDAPLGIN_TRACE
-    OutputDebugStringW(L"CBDADeviceControl_fnConstructor\n");
-#endif
-
     if (!handler)
         return E_OUTOFMEMORY;