home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 January
/
Chip_1997-01_cd.bin
/
ms95
/
disk22
/
dir04
/
f012380.re_
/
f012380.re
Wrap
Text File
|
1996-04-02
|
7KB
|
234 lines
/*----------------------------------------------------------------------+
| |
| Copyright (c) 1985-93; Bentley Systems, Inc., All rights reserved. |
| |
| "MicroStation", "MDL", and "MicroCSL" are trademarks of Bentley |
| Systems, Inc. |
| |
| Limited permission is hereby granted to reproduce and modify this |
| copyrighted material provided that the resulting code is used only |
| in conjunction with Bentley Systems products under the terms of the |
| license agreement provided therein, and that this notice is retained |
| in its entirety in any such reproduction or modification. |
| |
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
| |
| msw32dde.fdf -- WinNT DDE interface .fdf file |
| |
| $Workfile: msw32dde.fdf $
| $Revision: 6.0 $
| $Date: Thu Oct 21 10:42:24 1993 $
| |
+----------------------------------------------------------------------*/
#ifndef __msw32ddeFDF__
#define __msw32ddeFDF__
/*----------------------------------------------------------------------+
| |
| Header File Dependencies |
| |
+----------------------------------------------------------------------*/
#include <w32dde.h>
/*======================================================================+
| |
| Major Public Code Section |
| |
+======================================================================*/
int mdlWin32_DdeCmpStringHandles /* <= -1,0,1 <,=,> */
(
HSZ hsz1, /* => String handle to compare */
HSZ hsz2 /* => String handle to compare */
);
BOOL mdlWin32_DdeKeepStringHandle /* <= TRUE for success; FALSE otherwise */
(
DWORD idInst, /* => Instance id */
HSZ hsz /* => String handle to save */
);
BOOL mdlWin32_DdeFreeStringHandle /* <= TRUE for success; FALSE otherwise */
(
DWORD idInst, /* => Instance id */
HSZ hsz /* => String handle to save */
);
DWORD mdlWin32_DdeQueryString
(
DWORD idInst, /* => Instance id */
HSZ hsz, /* => String handle source */
LPSTR psz, /* => Char buffer destination */
DWORD cchMax, /* => destination size */
int iCodePage /* => CP_WINANSI or CP_UNICODE */
);
HSZ mdlWin32_DdeCreateStringHandle
(
DWORD idInst, /* => Instance id */
LPSTR psz, /* => Source char string */
int iCodePage /* => CP_WINANSI or CP_UNICODE */
);
UINT mdlWin32_DdeGetLastError
(
DWORD idInst /* => Instance id */
);
BOOL mdlWin32_DdeFreeDataHandle
(
HDDEDATA hData /* => DDE object handle */
);
BOOL mdlWin32_DdeUnaccessData
(
HDDEDATA hData /* => DDE object handle */
);
LPBYTE mdlWin32_DdeAccessData
(
HDDEDATA hData, /* => DDE object handle */
LPDWORD pcbDataSize /* <= Size of DDE object */
);
HDDEDATA mdlWin32_DdeAddData
(
HDDEDATA hData, /* => DDE object handle */
LPBYTE pSrc, /* => Source data buffer */
DWORD cb, /* => Source data size */
DWORD cbOff /* => Offset into source buffer */
);
HDDEDATA mdlWin32_DdeCreateDataHandle
(
DWORD idInst, /* => Instance id */
LPBYTE pSrc, /* => Source data buffer */
DWORD cb, /* => Source data size */
DWORD cbOff, /* => Offset into source buffer */
HSZ hszItem, /* => Item name string handle */
UINT wFmt, /* => Clipboard format */
UINT afCmd /* => Creation flag */
);
HDDEDATA mdlWin32_DdeNameService
(
DWORD idInst, /* => Instance id */
HSZ hsz1, /* => Service name string handle */
HSZ hsz2, /* => Reserved, pass NULL */
UINT afCmd /* => Service flags */
);
BOOL mdlWin32_DdeImpersonateClient
(
HCONV hConv /* => Conversation handle */
);
BOOL mdlWin32_DdeEnableCallback
(
DWORD idInst, /* => Instance id */
HCONV hConv, /* => Conversation handle */
UINT wCmd /* => EC_ flag */
);
BOOL mdlWin32_DdePostAdvise
(
DWORD idInst, /* => Instance id */
HSZ hszTopic, /* => Topic name string handle */
HSZ hszItem /* => Item name string handle */
);
BOOL mdlWin32_DdeAbandonTransaction
(
DWORD idInst, /* => Instance id */
HCONV hConv, /* => Conversation handle */
DWORD idTransaction /* => XTYP_ or NULL for all */
);
BOOL mdlWin32_DdeSetUserHandle
(
HCONV hConv, /* => Conversation handle */
DWORD id, /* => QID_ */
DWORD hUser /* => Value to attach to message */
);
UINT mdlWin32_DdeQueryConvInfo
(
HCONV hConv, /* => Conversation handle */
DWORD idTransaction, /* => XTYP_ or NULL for all */
PCONVINFO pConvInfo /* <= CONVINFO with .cb loaded */
);
HCONV mdlWin32_DdeReconnect
(
HCONV hConv /* => Conversation handle */
);
BOOL mdlWin32_DdeDisconnect
(
HCONV hConv /* => Conversation handle. */
);
BOOL mdlWin32_DdeDisconnectList
(
HCONVLIST hConvList
);
HCONV mdlWin32_DdeQueryNextServer
(
HCONVLIST hConvList,
HCONV hConvPrev /* => Conversation handle */
);
HCONVLIST mdlWin32_DdeConnectList
(
DWORD idInst, /* => Instance id */
HSZ hszService, /* => Service string handle */
HSZ hszTopic, /* => Topic string handle */
HCONVLIST hConvList,
PCONVCONTEXT pCC
);
BOOL mdlWin32_DdeUninitialize
(
DWORD idInst /* => Instance id */
);
DWORD mdlWin32_DdeGetData
(
HDDEDATA hData, /* => DDE object handle */
LPBYTE pDst, /* <=> Destination buffer */
DWORD cbMax, /* => Destination buffer size */
DWORD cbOff /* => Offset into buffer */
);
HDDEDATA mdlWin32_DdeClientTransaction
(
LPBYTE pData, /* => Data to pass to server */
DWORD cbData, /* => Data size */
HCONV hConv, /* => Conversation handle */
HSZ hszItem, /* => Item string handle */
UINT wFmt, /* => Clipboard format */
UINT wType, /* => XTYP_ */
DWORD dwTimeout, /* => Timeout */
LPDWORD pdwResult /* <= Transaction result */
);
HCONV mdlWin32_DdeConnect /* <= Conversation handle */
(
DWORD idInst, /* => Process instance */
HSZ hszService, /* => Service string handle */
HSZ hszTopic, /* => Topic string handle */
PCONVCONTEXT pCC /* => Restore conversation context */
);
UINT mdlWin32_DdeInitialize
(
LPDWORD lpidInst, /* <=> Address of instance identifier */
PFNCALLBACK pfnCallbackFunc, /* => DDE callback function */
DWORD afCmdFilterFlags, /* => Message filter array */
DWORD uReserved /* => reserved, must be zero */
);
#endif