GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fixed syntax error on MSVC. · iCodeIN/MemoryModule@cddc54a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • MemoryModule.c
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎MemoryModule.c‎

Copy file name to clipboardExpand all lines: MemoryModule.c
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,9 @@ BuildImportTable(PMEMORYMODULE module)
425425

426426
static HCUSTOMMODULE _LoadLibrary(LPCSTR filename, void *userdata)
427427
{
428+
HMODULE result;
428429
UNREFERENCED_PARAMETER(userdata);
429-
HMODULE result = LoadLibraryA(filename);
430+
result = LoadLibraryA(filename);
430431
if (result == NULL) {
431432
return NULL;
432433
}
@@ -898,8 +899,9 @@ HMEMORYRSRC MemoryFindResourceEx(HMEMORYMODULE module, LPCTSTR name, LPCTSTR typ
898899

899900
DWORD MemorySizeofResource(HMEMORYMODULE module, HMEMORYRSRC resource)
900901
{
902+
PIMAGE_RESOURCE_DATA_ENTRY entry;
901903
UNREFERENCED_PARAMETER(module);
902-
PIMAGE_RESOURCE_DATA_ENTRY entry = (PIMAGE_RESOURCE_DATA_ENTRY) resource;
904+
entry = (PIMAGE_RESOURCE_DATA_ENTRY) resource;
903905
if (entry == NULL) {
904906
return 0;
905907
}

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.