Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
2.8 KiB

  1. /*++ BUILD Version: 0001
  2. *
  3. * WOW v1.0
  4. *
  5. * Copyright (c) 1991, Microsoft Corporation
  6. *
  7. * WDDEML.H
  8. * WOW32 16-bit DDEML API support
  9. *
  10. * History:
  11. * Created Jan-23-1993 by Chandan Chauhan (ChandanC)
  12. --*/
  13. #define MAX_CONVS 3200
  14. typedef struct _BIND1632 {
  15. DWORD x16;
  16. DWORD x32;
  17. } BIND1632;
  18. ULONG FASTCALL WD32DdeInitialize(PVDMFRAME pFrame);
  19. ULONG FASTCALL WD32DdeUninitialize(PVDMFRAME pFrame);
  20. ULONG FASTCALL WD32DdeConnectList(PVDMFRAME pFrame);
  21. ULONG FASTCALL WD32DdeQueryNextServer(PVDMFRAME pFrame);
  22. ULONG FASTCALL WD32DdeDisconnectList(PVDMFRAME pFrame);
  23. ULONG FASTCALL WD32DdeConnect(PVDMFRAME pFrame);
  24. ULONG FASTCALL WD32DdeDisconnect(PVDMFRAME pFrame);
  25. ULONG FASTCALL WD32DdeQueryConvInfo(PVDMFRAME pFrame);
  26. ULONG FASTCALL WD32DdeSetUserHandle(PVDMFRAME pFrame);
  27. ULONG FASTCALL WD32DdeClientTransaction(PVDMFRAME pFrame);
  28. ULONG FASTCALL WD32DdeAbandonTransaction(PVDMFRAME pFrame);
  29. ULONG FASTCALL WD32DdePostAdvise(PVDMFRAME pFrame);
  30. ULONG FASTCALL WD32DdeCreateDataHandle(PVDMFRAME pFrame);
  31. ULONG FASTCALL WD32DdeAddData(PVDMFRAME pFrame);
  32. ULONG FASTCALL WD32DdeGetData(PVDMFRAME pFrame);
  33. ULONG FASTCALL WD32DdeAccessData(PVDMFRAME pFrame);
  34. ULONG FASTCALL WD32DdeUnaccessData(PVDMFRAME pFrame);
  35. ULONG FASTCALL WD32DdeFreeDataHandle(PVDMFRAME pFrame);
  36. ULONG FASTCALL WD32DdeGetLastError(PVDMFRAME pFrame);
  37. ULONG FASTCALL WD32DdeCreateStringHandle(PVDMFRAME pFrame);
  38. ULONG FASTCALL WD32DdeFreeStringHandle(PVDMFRAME pFrame);
  39. ULONG FASTCALL WD32DdeQueryString(PVDMFRAME pFrame);
  40. ULONG FASTCALL WD32DdeKeepStringHandle(PVDMFRAME pFrame);
  41. ULONG FASTCALL WD32DdeEnableCallback(PVDMFRAME pFrame);
  42. ULONG FASTCALL WD32DdeNameService(PVDMFRAME pFrame);
  43. ULONG FASTCALL WD32DdeCmpStringHandles(PVDMFRAME pFrame);
  44. ULONG FASTCALL WD32DdeReconnect(PVDMFRAME pFrame);
  45. HDDEDATA W32DdemlCallBack(UINT type, UINT fmt, HCONV hconv, HSZ hsz1,
  46. HSZ hsz2, HDDEDATA hData, DWORD dwData1,
  47. DWORD dwData2);
  48. VOID WOWDdemlBind (DWORD x16, DWORD x32, BIND1632 aBind[]);
  49. VOID WOWDdemlUnBind (DWORD x32, BIND1632 aBind[]);
  50. DWORD WOWDdemlGetBind16 (DWORD x32, BIND1632 aBind[]);
  51. DWORD WOWDdemlGetBind32 (DWORD x16, BIND1632 aBind[]);
  52. BOOL DdeDataBuf16to32(PVOID p16DdeData, LPBYTE *pp32DdeData, PDWORD pcbData,
  53. PDWORD pcbOffset, UINT format);
  54. BOOL DdeDataBuf32to16(PVOID p16DdeData, PVOID p32DdeData, DWORD cbData,
  55. DWORD cbOffset, UINT format);
  56. VOID DdeDataSize16to32(DWORD *pcbData, DWORD *pcbOff, UINT format);
  57. VOID DdeDataSize32to16(DWORD *pcbData, DWORD *pcbOff, UINT format);
  58. VOID W32GetConvContext (VPVOID vp, PCONVCONTEXT pCC32);
  59. VOID W32PutConvContext (VPVOID vp, PCONVCONTEXT pCC32);
  60. /*
  61. * Imports from user32.dll - need to eventually be moved to winuserp.h
  62. * or ddemlp.h
  63. */
  64. BOOL DdeIsDataHandleInitialized(HDDEDATA hData);