ReactOS 0.4.16-dev-117-g38f21f9
ModuleData Struct Reference

#include <drwtsn32.h>

Collaboration diagram for ModuleData:

Public Member Functions

 ModuleData (void *addr)
 
void Update (HANDLE hProcess)
 

Public Attributes

std::string ModuleName
 
voidBaseAddress
 
DWORD Size
 
bool Unloaded
 

Detailed Description

Definition at line 11 of file drwtsn32.h.

Constructor & Destructor Documentation

◆ ModuleData()

ModuleData::ModuleData ( void addr)

Definition at line 13 of file drwtsn32.cpp.

14{
16 Size = 0;
17 Unloaded = false;
18}
GLenum const GLvoid * addr
Definition: glext.h:9621
bool Unloaded
Definition: drwtsn32.h:16
void * BaseAddress
Definition: drwtsn32.h:14
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533

Member Function Documentation

◆ Update()

void ModuleData::Update ( HANDLE  hProcess)

Definition at line 20 of file drwtsn32.cpp.

21{
22 MODULEINFO mi = {0};
24 assert(BaseAddress == mi.lpBaseOfDll);
25 Size = mi.SizeOfImage;
26
27 ModuleName.resize(MAX_PATH);
29 ModuleName.resize(dwLen);
30}
#define MAX_PATH
Definition: compat.h:34
DWORD WINAPI GetModuleFileNameExA(HANDLE hProcess, HMODULE hModule, LPSTR lpFilename, DWORD nSize)
Definition: psapi.c:972
BOOL WINAPI GetModuleInformation(HANDLE hProcess, HMODULE hModule, LPMODULEINFO lpmodinfo, DWORD cb)
Definition: psapi.c:1064
#define assert(x)
Definition: debug.h:53
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ BOOL _In_ HANDLE hProcess
Definition: mapping.h:71
std::string ModuleName
Definition: drwtsn32.h:13
static MONITORINFO mi
Definition: win.c:7338

Referenced by PrintBugreport().

Member Data Documentation

◆ BaseAddress

void* ModuleData::BaseAddress

Definition at line 14 of file drwtsn32.h.

Referenced by ModuleData(), PrintBugreport(), and Update().

◆ ModuleName

std::string ModuleData::ModuleName

Definition at line 13 of file drwtsn32.h.

Referenced by Update().

◆ Size

DWORD ModuleData::Size

Definition at line 15 of file drwtsn32.h.

Referenced by PrintBugreport().

◆ Unloaded

bool ModuleData::Unloaded

Definition at line 16 of file drwtsn32.h.

Referenced by ModuleData().


The documentation for this struct was generated from the following files: