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.
 
 
 
 
 
 

41 lines
1.1 KiB

/* File: D:\WACKER\tdll\misc.h (Created: 27-Nov-1993)
*
* Copyright 1994 by Hilgraeve Inc. -- Monroe, MI
* All rights reserved
*
* $Revision: 5 $
* $Date: 4/16/02 2:40p $
*/
#if !defined(INCL_MISC)
#define INCL_MISC
BOOL mscCenterWindowOnWindow(const HWND hwndChild, const HWND hwndParent);
LPTSTR mscStripPath (LPTSTR pszStr);
LPTSTR mscStripName (LPTSTR pszStr);
LPTSTR mscStripExt (LPTSTR pszStr);
LPTSTR mscModifyToFit (HWND hwnd, LPTSTR pszStr, DWORD style);
int mscCreatePath(const TCHAR *pszPath);
int mscIsDirectory(LPCTSTR pszName);
int mscAskWizardQuestionAgain(void);
void mscUpdateRegistryValue(void);
void mscResetComboBox(const HWND hwnd);
INT_PTR mscMessageBeep(UINT aBeep);
//
// The following function is from code mofified slightly
// from MSDN for determining if you are currently running as a
// remote session (Terminal Service). REV: 10/03/2001
//
INT_PTR IsTerminalServicesEnabled( VOID );
INT_PTR IsNT(void);
DWORD GetWindowsMajorVersion(void);
#define PACKVERSION(major,minor) MAKELONG(minor,major)
DWORD GetDllVersion(LPCTSTR lpszDllName);
HICON extLoadIcon(LPCSTR);
#endif