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.
 
 
 
 
 
 

48 lines
2.0 KiB

#pragma once
HRESULT HrGetNetupgrdDir(OUT tstring* pstrNetupgrdDir);
HRESULT HrCopyFiles(IN PCWSTR pszSrcDir, IN PCWSTR pszDstDir);
HRESULT HrDeleteDirectory(IN PCWSTR pszDir,
IN BOOL fContinueOnError);
HRESULT HrSetupGetLineText(PINFCONTEXT Context,
HINF hinf,
PCWSTR pszSection,
PCWSTR pszKey,
tstring* pstrReturnedText);
HRESULT HrRegOpenServiceSubKey(IN PCWSTR pszServiceName,
IN PCWSTR pszSubKeyName,
REGSAM samDesired,
OUT HKEY* phKey);
HRESULT HrGetPreNT5InfIdAndDesc(IN HKEY hkeyCurrentVersion,
OUT tstring* pstrInfId,
OUT tstring* pstrDescription,
OUT tstring* pstrServiceName);
void GetUnsupportedMessage(IN PCWSTR pszComponentType,
IN PCWSTR pszPreNT5InfId,
IN PCWSTR pszDescription,
OUT tstring* pstrMsg);
void GetUnsupportedMessageBool(IN BOOL fIsHardwareComponent,
IN PCWSTR pszPreNT5InfId,
IN PCWSTR pszDescription,
OUT tstring* pstrMsg);
void ConvertMultiSzToDelimitedList(IN PCWSTR mszList,
IN WCHAR chDelimeter,
OUT tstring* pstrList);
#ifdef ENABLETRACE
void TraceStringList(IN TraceTagId ttid,
IN PCWSTR pszMsgPrefix,
IN TStringList& sl);
void TraceMultiSz(IN TraceTagId ttid,
IN PCWSTR pszMsgPrefix,
IN PCWSTR msz);
#else
#define TraceStringList(ttid,szMsgPrefix,sl) (void) 0
#define TraceMultiSz(ttid,szMsgPrefix,msz) (void) 0
#endif
HRESULT HrGetWindowsDir(OUT tstring* pstrWinDir);
HRESULT HrDirectoryExists(IN PCWSTR pszDir);
BOOL FIsPreNT5NetworkingInstalled();