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.
16 lines
621 B
16 lines
621 B
|
|
//
|
|
// Function proto-types for util.cpp
|
|
//
|
|
|
|
LPTSTR CheckSlash (LPTSTR lpDir);
|
|
BOOL RegDelnode (HKEY hKeyRoot, LPTSTR lpSubKey);
|
|
BOOL RegCleanUpValue (HKEY hKeyRoot, LPTSTR lpSubKey, LPTSTR lpValueName);
|
|
UINT CreateNestedDirectory(LPCTSTR lpDirectory, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
|
|
BOOL StringToNum(TCHAR *pszStr,UINT * pnVal);
|
|
BOOL ImpersonateUser (HANDLE hNewUser, HANDLE *hOldUser);
|
|
BOOL RevertToUser (HANDLE *hUser);
|
|
void StringToGuid( TCHAR *szValue, GUID *pGuid );
|
|
void GuidToString( GUID *pGuid, TCHAR * szValue );
|
|
BOOL ValidateGuid( TCHAR *szValue );
|
|
INT CompareGuid( GUID *pGuid1, GUID *pGuid2 );
|