Skip to content

Commit

Permalink
Add IWin32ApiError
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-rtf committed Mar 24, 2024
1 parent c499054 commit a7fcb22
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Morphic.Controls/TrayButton/Windows11/TrayButton.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2023 Raising the Floor - US, Inc.
// Copyright 2020-2024 Raising the Floor - US, Inc.
//
// Licensed under the New BSD license. You may not use this file except in
// compliance with this License.
Expand Down
2 changes: 1 addition & 1 deletion Morphic.WindowsNative/ExtendedPInvoke.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2023 Raising the Floor - US, Inc.
// Copyright 2020-2024 Raising the Floor - US, Inc.
//
// Licensed under the New BSD license. You may not use this file except in
// compliance with this License.
Expand Down
31 changes: 31 additions & 0 deletions Morphic.WindowsNative/IWin32ApiError.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// Copyright 2020-2024 Raising the Floor - US, Inc.
//
// Licensed under the New BSD license. You may not use this file except in
// compliance with this License.
//
// You may obtain a copy of the License at
// https://github.com/raisingthefloor/morphic-windowsnative-lib-cs/blob/main/LICENSE
//
// The R&D leading to these results received funding from the:
// * Rehabilitation Services Administration, US Dept. of Education under
// grant H421A150006 (APCP)
// * National Institute on Disability, Independent Living, and
// Rehabilitation Research (NIDILRR)
// * Administration for Independent Living & Dept. of Education under grants
// H133E080022 (RERC-IT) and H133E130028/90RE5003-01-00 (UIITA-RERC)
// * European Union's Seventh Framework Programme (FP7/2007-2013) grant
// agreement nos. 289016 (Cloud4all) and 610510 (Prosperity4All)
// * William and Flora Hewlett Foundation
// * Ontario Ministry of Research and Innovation
// * Canadian Foundation for Innovation
// * Adobe Foundation
// * Consumer Electronics Association Foundation

using Morphic.Core;

namespace Morphic.WindowsNative;

public interface IWin32ApiError
{
public record Win32Error(uint win32ErrorCode) : IWin32ApiError;
}

0 comments on commit a7fcb22

Please sign in to comment.