RegFlushKey

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

Hello All,

Can anyone explain me how to P/Invoke the proper way the function
RegFlushKey in C# ?
In my device I can save the registry to the Flash, but nowhere I can find a
example how to use the regflushkey (also not in my studybook)

Thanks,

Peter.
 
Off the top of my head (meaning it may need checked):

[DllImport("coredll.dll"), SetLastError=true]
public static extern int RegFlushKey(int hKey);

-Chris
 
Back
Top