[SHELL32] CDrivesFolder: Implement the eject and disconnect menu items. CORE-13841
[reactos.git] / dll / win32 / serialui / serialui.h
index ba293ca..121d11e 100644 (file)
@@ -6,8 +6,15 @@
  * PROGRAMMERS: Saveliy Tretiakov (saveliyt@mail.ru)
  */
 
-#include <windows.h>
-#include <shlwapi.h>
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+#include <stdarg.h>
+#include <windef.h>
+#include <winbase.h>
+#include <winuser.h>
+#include <winnls.h>
+
 #include "resource.h"
 
 #define UNIMPLEMENTED \
@@ -75,7 +82,10 @@ DWORD WINAPI drvGetDefaultCommConfigA(LPCSTR lpszDevice,
  *
  ************************************/
 
-LRESULT CommDlgProc(HWND hDlg,
+INT_PTR
+CALLBACK
+CommDlgProc(
+       HWND hDlg,
        UINT Msg,
        WPARAM wParam,
        LPARAM lParam);