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.

60 lines
1.8 KiB

  1. /* File: D:\WACKER\tdll\tdll.h (Created: 26-Nov-1993)
  2. *
  3. * Copyright 1994 by Hilgraeve Inc. -- Monroe, MI
  4. * All rights reserved
  5. *
  6. * $Revision: 5 $
  7. * $Date: 4/05/02 4:32p $
  8. */
  9. #if !defined(INCL_TDLL)
  10. #define INCL_TDLL
  11. BOOL TerminateApplication(const HINSTANCE hInstance);
  12. BOOL InitInstance(const HINSTANCE hInstance,
  13. const LPTSTR lpCmdLine,
  14. const int nCmdShow);
  15. int MessageLoop(void);
  16. INT ExitMessage(const int nMessageNumber);
  17. int GetFileNameFromCmdLine(TCHAR *pachCmdLine, TCHAR *pachFileName, int nSize);
  18. LRESULT CALLBACK SessProc(HWND hwnd, UINT msg, WPARAM uPar, LPARAM lPar);
  19. INT_PTR DoDialog(HINSTANCE hInst, LPCTSTR lpTemplateName, HWND hwndParent,
  20. DLGPROC lpProc, LPARAM lPar);
  21. HWND DoModelessDialog(HINSTANCE hInst, LPCTSTR lpTemplateName, HWND hwndParent,
  22. DLGPROC lpProc, LPARAM lPar);
  23. INT EndModelessDialog(HWND hDlg);
  24. INT_PTR CALLBACK TransferSendDlg(HWND hDlg, UINT wMsg, WPARAM wPar, LPARAM lPar);
  25. INT_PTR CALLBACK TransferReceiveDlg(HWND hDlg, UINT wMsg, WPARAM wPar, LPARAM lPar);
  26. INT_PTR CALLBACK CaptureFileDlg(HWND hDlg, UINT wMsg, WPARAM wPar, LPARAM lPar);
  27. INT_PTR CALLBACK PrintEchoDlg(HWND hDlg, UINT wMsg, WPARAM wPar, LPARAM lPar);
  28. INT_PTR CALLBACK NewConnectionDlg(HWND hDlg, UINT wMsg, WPARAM wPar, LPARAM lPar);
  29. INT_PTR CALLBACK asciiSetupDlgProc(HWND hDlg, UINT wMsg, WPARAM wPar, LPARAM lPar);
  30. void AboutDlg(HWND hwndSession);
  31. BOOL RegisterTerminalClass(const HINSTANCE hInstance);
  32. BOOL UnregisterTerminalClass(const HINSTANCE hInstance);
  33. void ProcessMessage(MSG *pmsg);
  34. int CheckModelessMessage(MSG *pmsg);
  35. int RegisterSidebarClass(const HINSTANCE hInstance);
  36. int UnregisterSidebarClass(const HINSTANCE hInstance);
  37. void Rest(DWORD dwMilliSecs);
  38. // from clipbrd.c
  39. BOOL CopyBufferToClipBoard(const HWND hwnd, const DWORD dwCnt, const void *pvBuf);
  40. #endif