ReactOS 0.4.16-dev-889-g9563c07
WideCharToMultiByte.c
Go to the documentation of this file.
1//
2// WideCharToMultiByte.c
3//
4// Copyright (c) 2024 Timo Kreuzer
5//
6// Definition of __acrt_WideCharToMultiByte.
7//
8// SPDX-License-Identifier: MIT
9//
10
11#include <windows.h>
12//#include <stringapiset.h>
13
14_Success_(return != 0)
15int
26{
35}
return __acrt_WideCharToMultiByte(code_page, 0, buffer.get(), -1, result_size !=0 ? result :nullptr, result_size, nullptr, nullptr)
#define __cdecl
Definition: accygwin.h:79
_In_ DWORD _In_ LPCWSTR _In_ int _In_ int _In_opt_ LPCSTR _LpDefaultChar
_In_ DWORD _In_ LPCSTR _In_ int _In_ int _CchWideChar
_In_ DWORD _In_ LPCWSTR _LpWideCharStr
_In_ DWORD _In_ int _Out_ LPWORD _In_ int _CodePage
_In_ DWORD _DWFlags
_In_ DWORD _In_ LPCSTR _In_ int _CbMultiByte
_In_ DWORD _In_ LPCWSTR _In_ int _In_ int _In_opt_ LPCSTR _Out_opt_ LPBOOL _LpUsedDefaultChar
_In_ DWORD _In_ LPCSTR _LpMultiByteStr
#define WideCharToMultiByte
Definition: compat.h:111
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned int UINT
Definition: ndis.h:50
#define _Out_opt_
Definition: no_sal2.h:214
#define _Success_(c)
Definition: no_sal2.h:84
#define _Out_writes_opt_(s)
Definition: no_sal2.h:226
#define _In_
Definition: no_sal2.h:158
#define _In_opt_
Definition: no_sal2.h:212
BOOL * LPBOOL
Definition: windef.h:162
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185