#include <corecrt_internal.h>
#include <process.h>
Go to the source code of this file.
◆ _CRT_ENABLE_OBSOLETE_LOADLIBRARY_FUNCTIONS
#define _CRT_ENABLE_OBSOLETE_LOADLIBRARY_FUNCTIONS |
◆ proc_address_type
◆ _getdllprocaddr()
Definition at line 41 of file getproc.cpp.
46{
47 HMODULE const module_handle =
reinterpret_cast<HMODULE>(module_handle_value);
48 if (procedure_name == nullptr)
49 {
50 if (ordinal <= 65535)
51 {
52 char* const ordinal_as_string = reinterpret_cast<char*>(ordinal);
55 }
56 }
57 else
58 {
59 if (ordinal ==
static_cast<intptr_t>(-1))
60 {
63 }
64 }
65
66 return nullptr;
67}
#define GetProcAddress(x, y)
int(__cdecl * proc_address_type)()