Adds OnLoad and OnUnload methods to the credential provider and tile

This commit is contained in:
Ryan Newington
2024-01-07 14:32:56 +11:00
parent 6f9fecb137
commit 65506d9945
4 changed files with 29 additions and 0 deletions
@@ -60,6 +60,8 @@ namespace Lithnet.CredentialProvider
Marshal.AddRef(intPtr);
}
this.OnLoad();
return HRESULT.S_OK;
}
catch (Exception ex)
@@ -83,6 +85,8 @@ namespace Lithnet.CredentialProvider
this.credentialProviderEventsAdviseContext = IntPtr.Zero;
}
this.OnUnload();
return HRESULT.S_OK;
}
catch (Exception ex)