ReactOS 0.4.16-dev-814-g656a5dc
LoadLibraryExA.cpp
Go to the documentation of this file.
1//
2// LoadLibraryExA.cpp
3//
4// Copyright (c) Microsoft Corporation. All rights reserved.
5//
6// Definition of __acrt_LoadLibraryExA.
7//
8
10
12 LPCSTR const lpFilename,
13 HANDLE const hFile,
14 DWORD const dwFlags
15 )
16{
18
20 lpFilename,
21 wide_file_name,
23 );
24
25 if (cvt1 != 0) {
26 return nullptr;
27 }
28
29 return ::LoadLibraryExW(
30 wide_file_name.data(),
31 hFile,
33 );
34}
HMODULE __cdecl __acrt_LoadLibraryExA(LPCSTR const lpFilename, HANDLE const hFile, DWORD const dwFlags)
#define __cdecl
Definition: accygwin.h:79
errno_t __acrt_mbs_to_wcs_cp(char const *const null_terminated_input_string, __crt_win32_buffer< wchar_t, ResizePolicy > &win32_buffer, unsigned int const code_page)
unsigned int __acrt_get_utf8_acp_compatibility_codepage()
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ HANDLE hFile
Definition: mswsock.h:90
errno_t const cvt1
Definition: strftime.cpp:139
int errno_t
Definition: corecrt.h:615
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
const char * LPCSTR
Definition: xmlstorage.h:183