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

/* File: D:\WACKER\tdll\tdll.h (Created: 26-Nov-1993)
*
* Copyright 1994 by Hilgraeve Inc. -- Monroe, MI
* All rights reserved
*
* $Revision: 5 $
* $Date: 4/05/02 4:32p $
*/
#if !defined(INCL_TDLL)
#define INCL_TDLL
BOOL TerminateApplication(const HINSTANCE hInstance);
BOOL InitInstance(const HINSTANCE hInstance,
const LPTSTR lpCmdLine,
const int nCmdShow);
int MessageLoop(void);
INT ExitMessage(const int nMessageNumber);
int GetFileNameFromCmdLine(TCHAR *pachCmdLine, TCHAR *pachFileName, int nSize);
LRESULT CALLBACK SessProc(HWND hwnd, UINT msg, WPARAM uPar, LPARAM lPar);
INT_PTR DoDialog(HINSTANCE hInst, LPCTSTR lpTemplateName, HWND hwndParent,
DLGPROC lpProc, LPARAM lPar);
HWND DoModelessDialog(HINSTANCE hInst, LPCTSTR lpTemplateName, HWND hwndParent,
DLGPROC lpProc, LPARAM lPar);
INT EndModelessDialog(HWND hDlg);
INT_PTR CALLBACK TransferSendDlg(HWND hDlg, UINT wMsg, WPARAM wPar, LPARAM lPar);
INT_PTR CALLBACK TransferReceiveDlg(HWND hDlg, UINT wMsg, WPARAM wPar, LPARAM lPar);
INT_PTR CALLBACK CaptureFileDlg(HWND hDlg, UINT wMsg, WPARAM wPar, LPARAM lPar);
INT_PTR CALLBACK PrintEchoDlg(HWND hDlg, UINT wMsg, WPARAM wPar, LPARAM lPar);
INT_PTR CALLBACK NewConnectionDlg(HWND hDlg, UINT wMsg, WPARAM wPar, LPARAM lPar);
INT_PTR CALLBACK asciiSetupDlgProc(HWND hDlg, UINT wMsg, WPARAM wPar, LPARAM lPar);
void AboutDlg(HWND hwndSession);
BOOL RegisterTerminalClass(const HINSTANCE hInstance);
BOOL UnregisterTerminalClass(const HINSTANCE hInstance);
void ProcessMessage(MSG *pmsg);
int CheckModelessMessage(MSG *pmsg);
int RegisterSidebarClass(const HINSTANCE hInstance);
int UnregisterSidebarClass(const HINSTANCE hInstance);
void Rest(DWORD dwMilliSecs);
// from clipbrd.c
BOOL CopyBufferToClipBoard(const HWND hwnd, const DWORD dwCnt, const void *pvBuf);
#endif