acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
aaa_metrowin1.h
1#pragma once
2
3
4namespace universal_windows
5{
6
7
8 class thread;
9
11 {
12 ::i32 function();
13 };
14
15 CLASS_DECL_ACME HINSTANCE LoadLibrary(const_char_pointer psz);
16 CLASS_DECL_ACME bool SHGetSpecialFolderPath(oswindow hwnd, string &str, ::i32 csidl, bool fCreate);
17 CLASS_DECL_ACME ::u32 GetFileAttributes(const_char_pointer lpFileName);
18 CLASS_DECL_ACME bool CreateDirectory(const_char_pointer lpPathName, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
19 CLASS_DECL_ACME ::u32 GetCurrentDirectory(string & str);
20 CLASS_DECL_ACME ::u32 GetTempPath(string & str);
21 CLASS_DECL_ACME ::i32 RegQueryValue(HKEY hkey, const_char_pointer pszSubKey, string & str);
22 CLASS_DECL_ACME HICON ExtractIcon(HINSTANCE hInst, const_char_pointer pszExeFileName, ::u32 nIconIndex);
23 CLASS_DECL_ACME bool DeleteFile(const_char_pointer lpFileName);
24 CLASS_DECL_ACME ::i32 GetMenuStringW(HMENU hMenu, ::u32 uDItem, string & str, ::u32 flags);
25 CLASS_DECL_ACME void TimeToFileTime(::particle * pparticle, const ::earth::time& time, LPFILETIME pFileTime);
26
27
28} // namespace universal_windows
29
30
31
32// helpers for registering your own WNDCLASSes
33#ifndef UNIVERSAL_WINDOWS
34
35CLASS_DECL_ACME LRESULT CALLBACK __window_procedure(oswindow hWnd, ::u32 nMsg, WPARAM wParam, LPARAM lParam);
36CLASS_DECL_ACME WNDPROC __get_window_procedure();
37#define __window_procedure (*__get_window_procedure())
38
39/*typedef void (__MSG_CALL ::windowing::window::*__PMSGW)();
40 // like '__PMSG' but for ::windowing::window derived classes only
41
42typedef void (__MSG_CALL ::thread::*__PMSGT)();
43 // like '__PMSG' but for thread-derived classes only*/
44#endif
45
46
47
48
49CLASS_DECL_ACME ::i32 delete_registry_tree_helper(HKEY hParentKey, const ::scoped_string & scopedstrKeyName);
50
51
52
53CLASS_DECL_ACME ::UNIVERSAL_WINDOWS::thread * __get_thread();
54CLASS_DECL_ACME void __set_thread(::thread * pthread);
55CLASS_DECL_ACME MSG* __get_current_message();
56
57CLASS_DECL_ACME void __end_thread(::particle * pparticle, ::u32 nExitCode, bool bDelete = true);
58
59CLASS_DECL_ACME void __init_thread();
60//CLASS_DECL_ACME void __term_thread(::particle * pparticle, HINSTANCE hInstTerm = nullptr);
61//CLASS_DECL_ACME void __term_thread(::particle * pparticle);
62
63
64//CLASS_DECL_ACME ::pointer<::user::interaction>__get_main_window();
65
66
67CLASS_DECL_ACME void __delete_object(HGDIOBJ* pObject);
68
69void CLASS_DECL_ACME __global_free(HGLOBAL hGlobal);
Definition flags.h:13
Definition particle.h:95
Definition aaa_time.h:13
Definition aaa_metrowin1.h:11