|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| winbase.h
| Unicode
| No
| Platform Notes
| None
|
|
|
CREATE_PROCESS_DEBUG_INFO
The CREATE_PROCESS_DEBUG_INFO structure contains process creation information that can be used by a
debugger.
typedef struct _CREATE_PROCESS_DEBUG_INFO { // cpdi
HANDLE hFile;
HANDLE hProcess;
HANDLE hThread;
LPVOID lpBaseOfImage;
DWORD dwDebugInfoFileOffset;
DWORD nDebugInfoSize;
LPVOID lpThreadLocalBase;
LPTHREAD_START_ROUTINE lpStartAddress;
LPVOID lpImageName;
WORD fUnicode;
} CREATE_PROCESS_DEBUG_INFO;
Members
hFile
Identifies an open handle of the process's image file. If this member is NULL,
the handle is not valid. Otherwise, the debugger can use the member to read
from and write to the image file.
hProcess
Identifies an open handle of the process. If this member is NULL, the handle
is not valid. Otherwise, the debugger can use the member to read from and write
to the process's memory.
hThread
Identifies an open handle of the initial thread of the process identified by
the hProcess member. If hThread is NULL, the handle is not valid. Otherwise, the debugger has
THREAD_GET_CONTEXT, THREAD_SET_CONTEXT, and THREAD_SUSPEND_RESUME access to the thread,
allowing the debugger to read from and write to the registers of the thread and to
control execution of the thread.
lpBaseOfImage
Points to the base address of the executable image that the process is
running.
dwDebugInfoFileOffset
Specifies the offset to the debugging information in the file identified by
the hFile member. The kernel expects the debugging information to be in Microsoft® CodeView® version 4.0 format. This format is currently a derivative of COFF (Common
Object File Format).
nDebugInfoSize
Specifies the size, in bytes, of the debugging information in the file. If
this value is zero, there is no debugging information.
lpThreadLocalBase
Points to a block of data. At offset 0x2C into this block is another pointer,
called ThreadLocalStoragePointer, that points to an array of per-module thread
local storage blocks. This gives a debugger access to per-thread data in the
threads of the process being debugged using the same algorithms that a compiler
would use.
lpStartAddress
Points to the starting address of the thread. This value may only be an
approximation of the thread's starting address, because any application with
appropriate access to the thread can change the thread's context by using the SetThreadContext function.
lpImageName
Points to the filename associated with the hFile parameter. This parameter may be NULL, or it may contain the address of a
string pointer in the address space of the process being debugged. That address
may, in turn, either be NULL or point to the actual filename. If fUnicode is a nonzero value, the name string is Unicode; otherwise, it is ANSI.
This member is strictly optional. Debuggers must be prepared to handle the
case where lpImageName is NULL or *lpImageName (in the address space of the process being debugged) is NULL. Specifically,
Windows does not provide an image name for a create process event, and will not
likely pass an image name for the first DLL event. Windows also does not
provide this information in the case of debug events that originate from a call to
the DebugActiveProcess function.
fUnicode
Indicates whether a file name specified by the lpImageName member is Unicode or ANSI. A nonzero value indicates Unicode; zero indicates
ANSI.
See Also
CREATE_THREAD_DEBUG_INFO, DebugActiveProcess, DEBUG_EVENT, LOAD_DLL_DEBUG_INFO, SetThreadContext
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|