Source code of Windows XP (NT5)
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

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