/// <summary> /// Creates a new session used to interact with the dynamic store maintained by the System Configuration server. /// Follows the "Create Rule" where if you create it, you delete it. /// </summary> /// <param name="name">The name of the calling process or plug-in of the caller.</param> /// <param name="callout">The function to be called when a watched value in the dynamic store is changed. /// Pass null if no callouts are desired.</param> /// <param name="context">The context associated with the callout.</param> /// <returns>A reference to the new dynamic store session.</returns> internal static unsafe SafeCreateHandle SCDynamicStoreCreate(CFStringRef name, SCDynamicStoreCallBack callout, SCDynamicStoreContext* context) { return SCDynamicStoreCreate(IntPtr.Zero, name, callout, context); }
private static extern unsafe SafeCreateHandle SCDynamicStoreCreate( IntPtr allocator, CFStringRef name, SCDynamicStoreCallBack callout, SCDynamicStoreContext* context);