summaryrefslogtreecommitdiffstats
path: root/private/os2/client/thunk/include/userproc.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--private/os2/client/thunk/include/userproc.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/private/os2/client/thunk/include/userproc.h b/private/os2/client/thunk/include/userproc.h
new file mode 100644
index 000000000..523b6d663
--- /dev/null
+++ b/private/os2/client/thunk/include/userproc.h
@@ -0,0 +1,38 @@
+/*
+ *
+ * UserProc.H
+ *
+ * Addition exports from USER.EXE
+ */
+
+/* lParam of WM_DROPOBJECT and WM_QUERYDROPOBJECT points to one of these.
+ */
+typedef struct _dropstruct
+ {
+ HWND hwndSource;
+ HWND hwndSink;
+ WORD wFmt;
+ DWORD dwData;
+ POINT ptDrop;
+ DWORD dwControlData;
+ } DROPSTRUCT;
+
+#define DOF_EXECUTABLE 0x8001
+#define DOF_DOCUMENT 0x8002
+#define DOF_DIRECTORY 0x8003
+#define DOF_MULTIPLE 0x8004
+
+typedef DROPSTRUCT FAR * LPDROPSTRUCT;
+
+WORD FAR PASCAL GetInternalWindowPos(HWND,LPRECT,LPPOINT);
+BOOL FAR PASCAL SetInternalWindowPos(HWND,WORD,LPRECT,LPPOINT);
+
+void FAR PASCAL CalcChildScroll(HWND,WORD);
+void FAR PASCAL ScrollChildren(HWND,WORD,WORD,LONG);
+
+DWORD FAR PASCAL DragObject(HWND hwndParent, HWND hwndFrom, WORD wFmt,
+ DWORD dwData, HANDLE hCursor);
+BOOL FAR PASCAL DragDetect(HWND hwnd, POINT pt);
+
+void FAR PASCAL FillWindow(HWND hwndBrush, HWND hwndPaint, HDC hdc,
+ HBRUSH hBrush);