mirror of https://github.com/tongzx/nt5src
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.
39 lines
891 B
39 lines
891 B
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// MISCFUNC.H
|
|
//
|
|
// Microsoft Confidential
|
|
// Copyright (c) Microsoft Corporation 1998
|
|
// All rights reserved
|
|
//
|
|
// Misc. functions prototypes.
|
|
//
|
|
// 7/98 - Jason Cohen (JCOHEN)
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
#ifndef _MISCFUNC_H_
|
|
#define _MISCFUNC_H_
|
|
|
|
// Inlcude file(s).
|
|
//
|
|
#include <windows.h>
|
|
|
|
|
|
// Exported function prototypes.
|
|
//
|
|
VOID CenterWindow(HWND, HWND, BOOL = FALSE);
|
|
VOID ShowEnableWindow(HWND, BOOL);
|
|
LPTSTR AllocateString(HINSTANCE, UINT);
|
|
BOOL IsUserAdmin(VOID);
|
|
VOID ExecAndWait(HWND, LPTSTR, LPTSTR, LPTSTR, BOOL = TRUE, BOOL = FALSE);
|
|
BOOL ErrMsg(HWND, INT);
|
|
DWORD StartScheduler(VOID);
|
|
HFONT GetFont(HWND, LPTSTR, DWORD, LONG, BOOL = FALSE);
|
|
BOOL CreatePath(LPTSTR);
|
|
DWORD GetCommandLineOptions(LPTSTR **);
|
|
|
|
|
|
#endif // _MISCFUNC_H_
|