Source code of Windows XP (NT5)
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.

38 lines
891 B

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // MISCFUNC.H
  4. //
  5. // Microsoft Confidential
  6. // Copyright (c) Microsoft Corporation 1998
  7. // All rights reserved
  8. //
  9. // Misc. functions prototypes.
  10. //
  11. // 7/98 - Jason Cohen (JCOHEN)
  12. //
  13. //////////////////////////////////////////////////////////////////////////////
  14. #ifndef _MISCFUNC_H_
  15. #define _MISCFUNC_H_
  16. // Inlcude file(s).
  17. //
  18. #include <windows.h>
  19. // Exported function prototypes.
  20. //
  21. VOID CenterWindow(HWND, HWND, BOOL = FALSE);
  22. VOID ShowEnableWindow(HWND, BOOL);
  23. LPTSTR AllocateString(HINSTANCE, UINT);
  24. BOOL IsUserAdmin(VOID);
  25. VOID ExecAndWait(HWND, LPTSTR, LPTSTR, LPTSTR, BOOL = TRUE, BOOL = FALSE);
  26. BOOL ErrMsg(HWND, INT);
  27. DWORD StartScheduler(VOID);
  28. HFONT GetFont(HWND, LPTSTR, DWORD, LONG, BOOL = FALSE);
  29. BOOL CreatePath(LPTSTR);
  30. DWORD GetCommandLineOptions(LPTSTR **);
  31. #endif // _MISCFUNC_H_