aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/windows/bits.zig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/os/windows/bits.zig')
-rw-r--r--lib/std/os/windows/bits.zig13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/std/os/windows/bits.zig b/lib/std/os/windows/bits.zig
index 4c5e091573..33005ef366 100644
--- a/lib/std/os/windows/bits.zig
+++ b/lib/std/os/windows/bits.zig
@@ -37,6 +37,7 @@ pub const UCHAR = u8;
pub const FLOAT = f32;
pub const HANDLE = *c_void;
pub const HCRYPTPROV = ULONG_PTR;
+pub const ATOM = u16;
pub const HBRUSH = *opaque {};
pub const HCURSOR = *opaque {};
pub const HICON = *opaque {};
@@ -770,6 +771,13 @@ pub const FILE_FLAG_SESSION_AWARE = 0x00800000;
pub const FILE_FLAG_SEQUENTIAL_SCAN = 0x08000000;
pub const FILE_FLAG_WRITE_THROUGH = 0x80000000;
+pub const RECT = extern struct {
+ left: LONG,
+ top: LONG,
+ right: LONG,
+ bottom: LONG,
+};
+
pub const SMALL_RECT = extern struct {
Left: SHORT,
Top: SHORT,
@@ -777,6 +785,11 @@ pub const SMALL_RECT = extern struct {
Bottom: SHORT,
};
+pub const POINT = extern struct {
+ x: LONG,
+ y: LONG,
+};
+
pub const COORD = extern struct {
X: SHORT,
Y: SHORT,