Skip to content

Commit

Permalink
Fix flags
Browse files Browse the repository at this point in the history
  • Loading branch information
reflectronic committed Feb 14, 2021
1 parent 6548c69 commit 2fc3b19
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion generation/um/RestartManager/generate.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ um-RestartManager.h
--traverse
C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/RestartManager.h
--with-attribute
RM_APP_TYPE=Flags
RM_APP_STATUS=Flags
RM_REBOOT_REASON=Flags
RM_SHUTDOWN_TYPE=Flags
--with-librarypath
*=rstrtmgr
3 changes: 3 additions & 0 deletions sources/Interop/Windows/um/RestartManager/RM_APP_STATUS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
// Ported from um/RestartManager.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.

using System;

namespace TerraFX.Interop
{
[Flags]
public enum RM_APP_STATUS
{
RmStatusUnknown = 0x0,
Expand Down
3 changes: 0 additions & 3 deletions sources/Interop/Windows/um/RestartManager/RM_APP_TYPE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
// Ported from um/RestartManager.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.

using System;

namespace TerraFX.Interop
{
[Flags]
public enum RM_APP_TYPE
{
RmUnknownApp = 0,
Expand Down
3 changes: 3 additions & 0 deletions sources/Interop/Windows/um/RestartManager/RM_REBOOT_REASON.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
// Ported from um/RestartManager.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.

using System;

namespace TerraFX.Interop
{
[Flags]
public enum RM_REBOOT_REASON
{
RmRebootReasonNone = 0x0,
Expand Down

0 comments on commit 2fc3b19

Please sign in to comment.