libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
resource_util.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <windows.h>
9#include "buffer_util.h"
10
11namespace peconv {
12
13 const LPSTR RT_RCDATA_A = MAKEINTRESOURCEA(10);
14
22 peconv::ALIGNED_BUF load_resource_data(OUT size_t &out_size, const int res_id, const LPSTR res_type = RT_RCDATA_A, HMODULE hInstance = nullptr);
23
28
33
34}; //namespace peconv
Definitions of the used buffer types. Functions for their allocation and deallocation.
PBYTE ALIGNED_BUF
Definition buffer_util.h:46
HMODULE get_current_module_handle()
void free_resource_data(peconv::ALIGNED_BUF buffer)
peconv::ALIGNED_BUF load_resource_data(OUT size_t &out_size, const int res_id, const LPSTR res_type=RT_RCDATA_A, HMODULE hInstance=nullptr)
const LPSTR RT_RCDATA_A