Skip to content

Commit a0073fd

Browse files
authored
Update entrypoint.c
1 parent ca78386 commit a0073fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/windows/entrypoint.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,9 @@ void capture_mono_path(void *handle) {
137137

138138
bool_t initialized = FALSE;
139139
void *WINAPI get_proc_address_detour(void *module, char *name) {
140+
// If the lpProcName pointer contains an ordinal rather than a string,
141+
// high-word value of the pointer is zero (see PR #66)
140142
#define REDIRECT_INIT(init_name, init_func, target, extra_init) \
141-
// If the lpProcName pointer contains an ordinal rather than a string, high-word value of the pointer is zero (see PR #66)
142143
if (HIWORD(name) && lstrcmpA(name, init_name) == 0) { \
143144
if (!initialized) { \
144145
initialized = TRUE; \

0 commit comments

Comments
 (0)