Skip to content

Commit

Permalink
declare WideCharToMultiByte
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Aug 24, 2024
1 parent b3b1be4 commit 2896dc8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion RGFW.h
Original file line number Diff line number Diff line change
Expand Up @@ -5006,7 +5006,9 @@ static const struct wl_callback_listener wl_surface_frame_listener = {
#include <windowsx.h>
#include <shellapi.h>
#include <shellscalingapi.h>


__declspec(dllimport) int __stdcall WideCharToMultiByte( UINT CodePage, DWORD dwFlags, const WCHAR* lpWideCharStr, int cchWideChar, LPSTR lpMultiByteStr, int cbMultiByte, LPCCH lpDefaultChar, LPBOOL lpUsedDefaultChar);

#ifndef RGFW_NO_XINPUT
typedef DWORD (WINAPI * PFN_XInputGetState)(DWORD,XINPUT_STATE*);
PFN_XInputGetState XInputGetStateSRC = NULL;
Expand Down

0 comments on commit 2896dc8

Please sign in to comment.