CODE
void XBoxStartup()
{
//inits
_MainLoop();
}
int _MainLoop()
{
debugPrint(" DPC call"); //gets stuck?
KeInsertQueueDpc(&MYDPCObject,NULL,NULL);
}
static void __stdcall MYDPC(PKDPC Dpc,
PVOID DeferredContext,
PVOID SystemArgument1,
PVOID SystemArgument2)
{
for (;;)
{
///Lots and lots of code
}
}