Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Commit

Permalink
53X Again 6!
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiizor authored and Taiizor committed Apr 11, 2021
1 parent ee67b12 commit 6967db7
Show file tree
Hide file tree
Showing 7 changed files with 480 additions and 46 deletions.
20 changes: 19 additions & 1 deletion src/Taskbar/Enum/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,25 @@ public enum MessageType : uint
SetState = 0x0000000A,
}

public enum StateType
/// <summary>
///
/// </summary>
public enum ShowStateType : uint
{
/// <summary>
///
/// </summary>
Hide = 0x00,
/// <summary>
///
/// </summary>
Show = 0x01
}

/// <summary>
///
/// </summary>
public enum HideStateType : uint
{
/// <summary>
///
Expand Down
44 changes: 44 additions & 0 deletions src/Taskbar/Struct/Structs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#region Imports

using System;
using System.Runtime.InteropServices;
using Taskbar.Enum;

#endregion

namespace Taskbar.Struct
{
/// <summary>
///
/// </summary>
public class Structs
{
#region Structs
/// <summary>
///
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct Data
{
public uint cbSize;
public IntPtr hWnd;
public uint uCallbackMessage;
public Enums.EdgeType uEdge;
public Rectangle rect;
public int lParam;
}

/// <summary>
///
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct Rectangle
{
public int Left;
public int Top;
public int Right;
public int Bottom;
}
#endregion
}
}
Loading

0 comments on commit 6967db7

Please sign in to comment.