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

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