Lines Matching defs:gCtx
104 static VBOXLACONTEXT gCtx = {0};
419 if ( gCtx.pfnProcessIdToSessionId != NULL
420 && gCtx.pfnProcessIdToSessionId(GetCurrentProcessId(), &nSessionID))
1213 gCtx.pEnv = pEnv;
1219 gCtx.fLogEnabled = true;
1223 gCtx.fLogEnabled = false;
1233 gCtx.fDetachOnDisconnect = false;
1237 gCtx.fDetachOnDisconnect = true;
1240 LogRel(("LA: DetachOnDisconnect=%RTbool\n", gCtx.fDetachOnDisconnect));
1242 int rc = VbglR3GuestPropConnect(&gCtx.u32GuestPropHandle);
1248 RTListInit(&gCtx.listAttachActions);
1249 RTListInit(&gCtx.listDetachActions);
1251 RT_ZERO(gCtx.activeClient);
1253 *(void **)&gCtx.pfnProcessIdToSessionId = RTLdrGetSystemSymbol("kernel32.dll", "ProcessIdToSessionId");
1255 *ppInstance = &gCtx;
1297 if (!ActionExecutorEnumerateRegistryKey(g_pwszRegKeyReconnectActions, &gCtx.listAttachActions))
1301 if (!ActionExecutorEnumerateRegistryKey(g_pwszRegKeyDisconnectActions, &gCtx.listDetachActions))