windows-nt/Source/XPSP1/NT/base/mvdm/wow16/inc/userproc.h
2020-09-26 16:20:57 +08:00

39 lines
937 B
C

/*
*
* 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;
LPARAM dwData;
POINT ptDrop;
LPARAM 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);
LRESULT FAR PASCAL DragObject(HWND hwndParent, HWND hwndFrom, WORD wFmt,
LPARAM dwData, HANDLE hCursor);
BOOL FAR PASCAL DragDetect(HWND hwnd, POINT pt);
void FAR PASCAL FillWindow(HWND hwndBrush, HWND hwndPaint, HDC hdc,
HBRUSH hBrush);