GetCurrentProcessHandle function (wdbgexts.h)
The GetCurrentProcessHandle function returns the system handle for the current process.
Syntax
void GetCurrentProcessHandle(
PHANDLE hp
);
Parameters
hp
Receives the system handle for the current process.
Return value
None
Remarks
In kernel-mode debugging, the only process in the target is the virtual process created for the kernel. In this case, an artificial handle is created. The artificial handle can only be used with the debugger.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wdbgexts.h (include Wdbgexts.h, Dbgeng.h) |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for