LoadResource function Null safety kernel32

int LoadResource(
  1. int hModule,
  2. int hResInfo
)

Retrieves a handle that can be used to obtain a pointer to the first byte of the specified resource in memory.

HGLOBAL LoadResource(
  HMODULE hModule,
  HRSRC   hResInfo
);

Implementation

int LoadResource(int hModule, int hResInfo) => _LoadResource(hModule, hResInfo);