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.

74 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. rulehlpr.h
  5. Abstract:
  6. Declares the public routines implemented in w95upgnt\rulehlpr.
  7. The name rulehlpr comes from history: the original Win9x upgrade code
  8. used a set of rules, controlled by an INF. Rule Helpers were functions
  9. that converted data. These functions are still valid today, and
  10. they are still controlled by usermig.inf and wkstamig.inf. However,
  11. the syntax is no longer a rule, but instead is just an entry.
  12. Rule Helpers implement various types of registry data conversion.
  13. Author:
  14. Jim Schmidt (jimschm) 11-Mar-1997
  15. Revision History:
  16. <alias> <date> <comments>
  17. --*/
  18. #include "object.h"
  19. typedef BOOL (PROCESSINGFN_PROTOTYPE)(PCTSTR Src, PCTSTR Dest, PCTSTR User, PVOID Data);
  20. typedef PROCESSINGFN_PROTOTYPE * PROCESSINGFN;
  21. typedef BOOL (REGVALFN_PROTOTYPE)(PDATAOBJECT ObPtr);
  22. typedef REGVALFN_PROTOTYPE * REGVALFN;
  23. typedef struct {
  24. DATAOBJECT Object;
  25. BOOL EnumeratingSubKeys;
  26. } KEYTOVALUEARG, *PKEYTOVALUEARG;
  27. BOOL
  28. WINAPI
  29. RuleHlpr_Entry(
  30. HINSTANCE hInstance,
  31. DWORD dwReason,
  32. PVOID lpReserved);
  33. PROCESSINGFN
  34. RuleHlpr_GetFunctionAddr (
  35. PCTSTR Function,
  36. PVOID *ArgPtrToPtr
  37. );
  38. FILTERRETURN
  39. Standard9xSuppressFilter (
  40. IN CPDATAOBJECT SrcObject,
  41. IN CPDATAOBJECT DstObject,
  42. IN FILTERTYPE FilterType,
  43. IN PVOID Arg
  44. );
  45. BOOL
  46. ConvertCommandToCmd (
  47. PCTSTR InputLine,
  48. PTSTR OutputLine // must be 2x length of input line
  49. );