acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
_.h
1#pragma once
2
3
4//#include "gdi_winrt.h"
5
6
7#define GW_HWNDFIRST 0
8#define GW_HWNDLAST 1
9#define GW_HWNDNEXT 2
10#define GW_HWNDPREV 3
11#define GW_OWNER 4
12#define GW_CHILD 5
13#if(WINVER <= 0x0400)
14#define GW_MAX 5
15#else
16#define GW_ENABLEDPOPUP 6
17#define GW_MAX 6
18#endif
19
20
21//CLASS_DECL_ACME bool __cdecl __is_idle_message(::message::message * pmessage);
22//CLASS_DECL_ACME bool __cdecl __is_idle_message(MESSAGE * pMsg);
23
24
25//CLASS_DECL_ACME oswindow WINAPI WinGetFocus();
26//CLASS_DECL_ACME oswindow WINAPI WinSetFocus(::acme::windowing::window * pacmewindowingwindow);
27
28
29CLASS_DECL_ACME string normalize_path(const_char_pointer lpcszPath);
30
31
32//CLASS_DECL_ACME oswindow get_mouse_capture();
33//CLASS_DECL_ACME oswindow set_mouse_capture(::acme::windowing::window * pacmewindowingwindow);
34//CLASS_DECL_ACME ::i32_bool release_mouse_capture();
35//
36//CLASS_DECL_ACME oswindow get_active_window();
37//CLASS_DECL_ACME oswindow set_active_window(::acme::windowing::window * pacmewindowingwindow);
38//
39//
40//
41//CLASS_DECL_ACME ::i32_bool is_window(::acme::windowing::window * pacmewindowingwindow);
42
43
44void CLASS_DECL_ACME __cdecl _ca2_purecall();
45void CLASS_DECL_ACME __cdecl _null_se_translator(::u32 uiCode, EXCEPTION_POINTERS* ppointers);
46bool CLASS_DECL_ACME __windows_init();
47
48
49CLASS_DECL_ACME HANDLE hfile_create(const_char_pointer lpcszFileName, ::u32 dwDesiredAcces, ::u32 dwShareMode, LPSECURITY_ATTRIBUTES lpSA, ::u32 dwCreationDisposition, ::u32 dwFlagsAndAttributes, HANDLE hTemplateFile);
50
51
52//CLASS_DECL_ACME ::i32 WINAPI GetSystemMetrics(::i32 i);
53
54namespace user
55{
56
57 //class interaction_impl;
58 class interaction;
59 // class interaction;
60 //
61 //
62} // namespace user
63
64
65//#include "acme/graphics/graphics/buffer.h"
66//#include "_UWP_gdi_winrt.h"
67
68
69//#include "oswindow.h"
70
71
72
73#include "exception_engine.h"
74
75
76
77//CLASS_DECL_ACME ::winrt::Windows::Storage::StorageFolder ^ get_os_folder(const_char_pointer lpcszDirName);
78//CLASS_DECL_ACME::winrt::Windows::Storage::StorageFile ^ get_os_file(const_char_pointer lpcszFileName, dword dwDesiredAcces, dword dwShareMode, LPSECURITY_ATTRIBUTES lpSA, dword dwCreationDisposition, dword dwFlagsAndAttributes, HANDLE hTemplateFile);
79//CLASS_DECL_ACME bool get_file_time(::winrt::Windows::Storage::StorageFile ^ file, LPFILETIME lpCreationTime, LPFILETIME lpItemTime, LPFILETIME lpLastWriteTime);
80
81
82
83
84
85
86
87
88#include "base_file.h"
89#include "parallelization.h"
90
91
92//#ifdef __cplusplus
93//#include "operating_system-windows_common/windows_commoncomptr.h"
94//#endif
95
96
97//#ifndef UNIVERSAL_WINDOWS
98//
99//CLASS_DECL_ACME void WINAPI sleep(::u32 dw::times);
100//
101//#endif
102
103/*#define GetAValue(rgb) (lower_byte((rgb)>>24))
104#define argb(a, r,g,b) ((color32_t)(((::u8)(r)|((::u16)((::u8)(g))<<8))|(((::u32)(::u8)(b))<<16)|(((::u32)(::u8)(a))<<24)))*/
105
106
107//CLASS_DECL_ACME ::i32_bool os_initialize();
108//CLASS_DECL_ACME ::i32_bool os_finalize();
109
110
111CLASS_DECL_ACME ::i32_bool main_initialize();
112CLASS_DECL_ACME ::i32_bool main_finalize();
113
114
115CLASS_DECL_ACME void set_main_htask(htask htask);
116CLASS_DECL_ACME void set_main_itask(itask itask);
117CLASS_DECL_ACME htask main_htask();
118CLASS_DECL_ACME itask main_itask();
119
120//CLASS_DECL_ACME oswindow get_focus();
121//CLASS_DECL_ACME oswindow set_keyboard_focus(::acme::windowing::window * pacmewindowingwindow);
122
123//CLASS_DECL_ACME oswindow get_window(::acme::windowing::window * pacmewindowingwindow, ::i32 iWindow);
124
125//CLASS_DECL_ACME void attach_thread_input_to_main_thread(::i32_bool bAttach);
126
127
128//CLASS_DECL_ACME ::u32 WINAPI WaitForSingleObject( _In_ HANDLE hHandle, _In_ ::u32 dw::times );
129
130
131
132
133//CLASS_DECL_ACME char_pointer getenv(const_char_pointer pszName);
134//CLASS_DECL_ACME HANDLE WINAPI CreateMutex(_In_opt_ LPSECURITY_ATTRIBUTES lpMutexAttributes, _In_ BOOL bInitialOwner, _In_opt_ const_char_pointer lpName );
135
136//CLASS_DECL_ACME HANDLE WINAPI CreateMutexW( _In_opt_ LPSECURITY_ATTRIBUTES lpMutexAttributes, _In_ BOOL bInitialOwner, _In_opt_ const ::wide_character * lpName );
137
138
139
140//inline ::i32_bool is_nok(hfile hfile);
141
142//
143//inline ::i32_bool is_ok(hfile hfile);
144//
145//
146//CLASS_DECL_ACME void dpi_os_initialize();
147//
148
149
150
151
152#include "_winrt_foundation.h"
153
154
Definition types.h:47
Definition types.h:93
Created by camilo on 2026-05-28 12:34 <3ThomasBorregaardSørensen!! Mummi!! Bilbo!!
Definition _.h:67