Changeset View
Changeset View
Standalone View
Standalone View
source/lib/sysdep/os/win/wutil.h
Show First 20 Lines • Show All 197 Lines • ▼ Show 20 Lines | |||||
extern HMODULE wutil_LibModuleHandle(); | extern HMODULE wutil_LibModuleHandle(); | ||||
/** | /** | ||||
* @return handle to the first window owned by the current process, or | * @return handle to the first window owned by the current process, or | ||||
* 0 if none exist (e.g. it hasn't yet created one). | * 0 if none exist (e.g. it hasn't yet created one). | ||||
* | * | ||||
* enumerates all top-level windows and stops if PID matches. | * enumerates all top-level windows and stops if PID matches. | ||||
* once this function returns a non-NULL handle, it will always | * once this function returns a non-nullptr handle, it will always | ||||
* return that cached value. | * return that cached value. | ||||
**/ | **/ | ||||
extern HWND wutil_AppWindow(); | extern HWND wutil_AppWindow(); | ||||
#endif // #ifndef INCLUDED_WUTIL | #endif // #ifndef INCLUDED_WUTIL |
Wildfire Games · Phabricator