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.

17 lines
648 B

  1. //
  2. // Function proto-types for util.cpp
  3. //
  4. LPTSTR CheckSlash (LPTSTR lpDir);
  5. BOOL RegCleanUpValue (HKEY hKeyRoot, LPTSTR lpSubKey, LPTSTR lpValueName);
  6. UINT CreateNestedDirectory(LPCTSTR lpDirectory, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
  7. BOOL StringToNum(TCHAR *pszStr,UINT * pnVal);
  8. BOOL ImpersonateUser (HANDLE hNewUser, HANDLE *hOldUser);
  9. BOOL RevertToUser (HANDLE *hUser);
  10. void StringToGuid( TCHAR *szValue, GUID *pGuid );
  11. void GuidToString( GUID *pGuid, TCHAR * szValue );
  12. BOOL ValidateGuid( TCHAR *szValue );
  13. INT CompareGuid( GUID *pGuid1, GUID *pGuid2 );
  14. HRESULT IsFilePresent (WCHAR *szDirName, WCHAR *szFormat);