--- mstools/h/ddeml.h 2018/08/09 18:20:29 1.1.1.1 +++ mstools/h/ddeml.h 2018/08/09 18:21:07 1.1.1.2 @@ -59,6 +59,8 @@ typedef struct tagCONVINFO { UINT wLastError; /* last transaction error. */ HCONVLIST hConvList; /* parent hConvList if this conversation is in a list */ CONVCONTEXT ConvCtxt; /* conversation context */ + HWND hwnd; /* window handle for this conversation */ + HWND hwndPartner; /* partner window handle for this conversation */ } CONVINFO; typedef CONVINFO FAR *PCONVINFO; @@ -106,12 +108,13 @@ typedef CONVINFO FAR *PCONVINFO; #define DDE_FACKREQ 0x8000 #define DDE_FRELEASE 0x2000 #define DDE_FREQUESTED 0x1000 -#define DDE_FACKRESERVED 0x3ff0 -#define DDE_FADVRESERVED 0x3fff -#define DDE_FDATRESERVED 0x4fff -#define DDE_FPOKRESERVED 0xdfff #define DDE_FAPPSTATUS 0x00ff -#define DDE_FNOTPROCESSED 0x0000 +#define DDE_FNOTPROCESSED 0x0000 + +#define DDE_FACKRESERVED (~(DDE_FACK | DDE_FBUSY | DDE_FAPPSTATUS)) +#define DDE_FADVRESERVED (~(DDE_FACKREQ | DDE_FDEFERUPD)) +#define DDE_FDATRESERVED (~(DDE_FACKREQ | DDE_FRELEASE | DDE_FREQUESTED)) +#define DDE_FPOKRESERVED (~(DDE_FRELEASE)) /***** message filter hook types *****/