link directive

This commit is contained in:
Krzosa Karol
2022-10-09 14:00:41 +02:00
parent faec89beae
commit 0049b39e17
12 changed files with 42 additions and 14 deletions

View File

@@ -1,4 +1,5 @@
#import "KERNEL32.core"
#link "gdi32.lib"
RBGQUAD :: struct;; rgbBlue: BYTE; rgbGreen: BYTE; rgbRed: BYTE; rgbReserved: BYTE
BITMAPINFOHEADER :: struct;; biSize: DWORD; biWidth: LONG; biHeight: LONG; biPlanes: WORD; biBitCount: WORD; biCompression: DWORD; biSizeImage: DWORD; biXPelsPerMeter: LONG; biYPelsPerMeter: LONG; biClrUsed: DWORD; biClrImportant: DWORD
BITMAPINFO :: struct;; bmiHeader: BITMAPINFOHEADER; bmiColors: [1]RBGQUAD

View File

@@ -1,3 +1,5 @@
#link "kernel32.lib"
DWORD :: U32
LPCSTR :: *char
LPSTR :: *char

View File

@@ -1,4 +1,5 @@
#import "KERNEL32.core"
#link "user32.lib"
WNDPROC :: (hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM): LRESULT
WNDCLASSW :: struct;; style: UINT; lpfnWndProc: WNDPROC; cbClsExtra: int; cbWndExtra: int; hInstance: HINSTANCE; hIcon: HICON; hCursor: HCURSOR; hbrBackground: HBRUSH; lpszMenuName: LPCWSTR; lpszClassName: LPCWSTR
MSG :: struct;; hwnd: HWND; message: UINT; wParam: WPARAM; lParam: LPARAM; time: DWORD; pt: POINT; lPrivate: DWORD

View File

@@ -1,4 +1,5 @@
#import "KERNEL32.core"
#link "winmm.lib"
MMRESULT :: UINT
TIMERR_NOERROR :: 0