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.

30 lines
581 B

  1. #ifndef _REGROUTINES_
  2. #define _REGROUTINES_
  3. #define GUID_SIZE 128
  4. #define MAX_STRING_LENGTH 256
  5. BOOL SetRegKeyValue(
  6. HKEY hKeyTop,
  7. LPTSTR pszKey,
  8. LPTSTR pszSubkey,
  9. LPTSTR pszValue);
  10. BOOL AddRegNamedValue(
  11. LPTSTR pszKey,
  12. LPTSTR pszSubkey,
  13. LPTSTR pszValueName,
  14. LPTSTR pszValue);
  15. STDMETHODIMP GetItemIdForHandlerItem(CLSID CLSIDServer,WCHAR *pszItemText,SYNCMGRITEMID *ItemID,BOOL fCreateKey);
  16. STDMETHODIMP SetItemIdForHandlerItem(CLSID CLSIDServer,WCHAR *pszItemText,SYNCMGRITEMID ItemID);
  17. #endif // _REGROUTINES_