UpdateResource function kernel32
Adds, deletes, or replaces a resource in a portable executable (PE) file.
BOOL UpdateResourceW(
HANDLE hUpdate,
LPCWSTR lpType,
LPCWSTR lpName,
WORD wLanguage,
LPVOID lpData,
DWORD cb
);
Implementation
int UpdateResource(
int hUpdate,
Pointer<Utf16> lpType,
Pointer<Utf16> lpName,
int wLanguage,
Pointer lpData,
int cb,
) => _UpdateResource(hUpdate, lpType, lpName, wLanguage, lpData, cb);