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.

42 lines
1.5 KiB

  1. /****************************** Module Header ******************************\
  2. * Module Name: ddemlsvr.h
  3. *
  4. * Copyright (c) 1985 - 1999, Microsoft Corporation
  5. *
  6. * Typedefs, defines, and prototypes that are used exclusively by the DDEML
  7. * server-side.
  8. *
  9. * History:
  10. * 12-6-91 sanfords Created.
  11. * 21-Jan-1992 IanJa ANSI/Unicode neutralized (null op)
  12. \***************************************************************************/
  13. #define MF_INTERNAL 0x80000000L
  14. // globals
  15. extern PSVR_INSTANCE_INFO psiiList;
  16. extern DWORD MonitorFlags;
  17. // event.c
  18. VOID xxxChangeMonitorFlags(PSVR_INSTANCE_INFO psii, DWORD afCmdNew);
  19. DWORD xxxCsEvent(PEVENT_PACKET pep, WORD cbEventData);
  20. LRESULT xxxEventWndProc(PWND pwnd, UINT message, WPARAM wParam, LPARAM lParam);
  21. VOID xxxProcessDDEMLEvent(PSVR_INSTANCE_INFO psii, PEVENT_PACKET pep);
  22. VOID xxxMessageEvent(PWND pwndTo, UINT message, WPARAM wParam, LPARAM lParam,
  23. DWORD flag, PDDEML_MSG_HOOK_DATA pdmhd);
  24. // ddemlsvr.c
  25. DWORD xxxCsDdeInitialize(PHANDLE phInst, HWND *phwndEvent, LPDWORD pMonitorFlags,
  26. DWORD afCmd, PVOID pcii);
  27. DWORD _CsUpdateInstance(HANDLE hInst, LPDWORD pMonitorFlags, DWORD afCmd);
  28. BOOL _CsDdeUninitialize(HANDLE hInst);
  29. VOID xxxDestroyThreadDDEObject(PTHREADINFO pti, PSVR_INSTANCE_INFO psii);
  30. PVOID _CsValidateInstance(HANDLE hInst);
  31. // CSR callbacks
  32. DWORD ClientEventCallback(PVOID pcii, PEVENT_PACKET pep);
  33. DWORD ClientGetDDEHookData(UINT message, LPARAM lParam, PDDEML_MSG_HOOK_DATA pdmhd);