pykd/pykd/dbgsession.cpp
SND\kernelnet_cp 5f7636ac4b ready for release
git-svn-id: https://pykd.svn.codeplex.com/svn@52944 9b283d60-5439-405e-af05-b73fd8c4d996
2010-07-26 10:55:12 +00:00

24 lines
449 B
C++

#include "stdafx.h"
#include "dbgsession.h"
#include "dbgext.h"
DbgExt dbgGlobalSession = { 0 };
bool dbgSessionStarted = false;
void
dbgCreateSession()
{
IDebugClient4 *client = NULL;
DebugCreate( __uuidof(IDebugClient4), (void **)&client );
SetupDebugEngine( client, &dbgGlobalSession );
dbgExt = &dbgGlobalSession;
}
bool
dbgIsSessionStart()
{
return dbgSessionStarted;
}