diff options
Diffstat (limited to 'src/mscorlib/src/System/Runtime/InteropServices/WindowsRuntime/IRestrictedErrorInfo.cs')
-rw-r--r-- | src/mscorlib/src/System/Runtime/InteropServices/WindowsRuntime/IRestrictedErrorInfo.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Runtime/InteropServices/WindowsRuntime/IRestrictedErrorInfo.cs b/src/mscorlib/src/System/Runtime/InteropServices/WindowsRuntime/IRestrictedErrorInfo.cs new file mode 100644 index 0000000000..48bcc4f618 --- /dev/null +++ b/src/mscorlib/src/System/Runtime/InteropServices/WindowsRuntime/IRestrictedErrorInfo.cs @@ -0,0 +1,26 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +// + +using System; + +namespace System.Runtime.InteropServices.WindowsRuntime +{ +#if FEATURE_CORECLR + [System.Runtime.CompilerServices.FriendAccessAllowed] +#endif + [ComImport] + [Guid("82BA7092-4C88-427D-A7BC-16DD93FEB67E")] + [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] + internal interface IRestrictedErrorInfo + { + void GetErrorDetails([MarshalAs(UnmanagedType.BStr)] out string description, + out int error, + [MarshalAs(UnmanagedType.BStr)] out string restrictedDescription, + [MarshalAs(UnmanagedType.BStr)] out string capabilitySid); + + void GetReference([MarshalAs(UnmanagedType.BStr)] out string reference); + } +} |