Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure contains information about a DLL that has just been loaded.

Syntax

typedef struct _LOAD_DLL_DEBUG_INFO { 
  HANDLE 
hFile; 
  LPVOID 
lpBaseOfDll; 
  DWORD 
dwDebugInfoFileOffset; 
  DWORD 
nDebugInfoSize; 
  LPVOID 
lpImageName; 
  WORD 
fUnicode; 
} LOAD_DLL_DEBUG_INFO; 

Members

hFile

Ignored.

Set to NULL.

lpBaseOfDll

Long pointer to the base address of the DLL in the address space of the process loading the DLL.

dwDebugInfoFileOffset

Ignored.

Must be 0.

nDebugInfoSize

Ignored.

Must be 0.

lpImageName

Long pointer to the address space of the process being debugged.

Use the ReadProcessMemoryfunction to retrieve the actual image name.

This member is optional.

Debuggers must be prepared to handle the case where lpImageNameis NULL or where *lpImageName, in the address space of the process being debugged, is NULL.

Specifically, the system never provides an image name for a create process event, and it will not likely pass an image name for the first DLL event.

The system also never provides this information if debugging events originate from a call to the DebugActiveProcessfunction.

fUnicode

Indicates whether a file name specified by lpImageNameis Unicode or ANSI.

If this value is 0, the file name is ASCII.

If this value is nonzero, the file name is Unicode.

Requirements

Header winbase.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also