IopGetSessionIdFromPDO
UINT64 __stdcall IopGetSessionIdFromPDO(DEVICE_OBJECT *pdo){
__int64 v1;
if( pdo )
{
v1 = *(_QWORD *)(*((_QWORD *)pdo + 39) + 40i64);
if( v1 )
{
if( (*(_DWORD *)(v1 + 396) & 0x20000) == 0 )
IoGetDevicePropertyData(pdo, (DEVPROPKEY *)&DEVPKEY_Device_SessionId, 0i64, 0i64);
}
}
return 0xFFFFFFFFi64;
}Referenced by:
IoRegisterContainerNotification
IopCheckSessionDeviceAccess
IopGetSessionIdFromSymbolicName
PnpInitializeSessionId
PnpNotifyTargetDeviceChange
PnpNotifyTargetDeviceChangeNotifyEntry
PnpStartDeviceNode