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.

Re: RegFlushKey by ctacke/>

ctacke/>
Mon Jul 04 11:43:16 CDT 2005

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

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

-Chris


"Peter" <pvdacker_ADD_NOSPAM_home.nl> wrote in message
news:eWs6wKLgFHA.2156@TK2MSFTNGP14.phx.gbl...
> 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.
>
>