21 lines
693 B
C
21 lines
693 B
C
#pragma once
|
|
|
|
#include <stdio.h>
|
|
#include <stdbool.h>
|
|
|
|
typedef long HRESULT;
|
|
struct HMONITOR__;
|
|
struct HWND__;
|
|
|
|
void kinc_microsoft_affirm(HRESULT result);
|
|
void kinc_microsoft_affirm_message(HRESULT result, const char *format, ...);
|
|
void kinc_microsoft_format(const char *format, va_list args, wchar_t *buffer);
|
|
|
|
int kinc_windows_get_display_for_monitor(struct HMONITOR__ *monitor);
|
|
bool kinc_windows_set_display_mode(int display_index, int width, int height, int bpp, int frequency);
|
|
void kinc_windows_restore_display(int display_index);
|
|
void kinc_windows_restore_displays();
|
|
void kinc_windows_hide_windows();
|
|
void kinc_windows_destroy_windows();
|
|
struct HWND__ *kinc_windows_window_handle();
|