mirror of https://github.com/dahall/Vanara.git
Added error handling for EditSecurityAdvanced in ShowDialog
parent
dbba1f3220
commit
9540eedad0
|
@ -208,7 +208,7 @@ namespace Vanara.Security.AccessControl
|
|||
}
|
||||
else
|
||||
{
|
||||
EditSecurityAdvanced(hWnd, this, pageType, pageAct);
|
||||
Marshal.ThrowExceptionForHR((int)EditSecurityAdvanced(hWnd, this, pageType, pageAct));
|
||||
}
|
||||
if (sd != null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue