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.
 
 
 
 
 
 

70 lines
904 B

/*++
Copyright (c) 1997 Microsoft Corporation
Module Name:
util.h
Abstract:
Author:
Vlad Sadovsky (vlads) 10-Jan-1997
Environment:
User Mode - Win32
Revision History:
26-Jan-1997 VladS created
--*/
#include <stistr.h>
BOOL
ParseCommandLine(
LPTSTR lpszCmdLine,
UINT *pargc,
LPTSTR *argv
);
BOOL WINAPI
IsPlatformNT(
VOID
);
BOOL
IsSetupInProgressMode(
BOOL *pUpgradeFlag = NULL
);
LONG
OpenServiceParametersKey (
LPCTSTR pszServiceName,
HKEY* phkey
);
LONG
RegQueryString (
IN HKEY hkey,
IN LPCTSTR pszValueName,
IN DWORD dwTypeMustBe,
OUT PTSTR* ppszData
) ;
LONG
RegQueryStringA (
IN HKEY hkey,
IN LPCTSTR pszValueName,
IN DWORD dwTypeMustBe,
OUT PSTR* ppszData
);