/* lpIndex is the partition index of the target partition. needed only for VirtualIo, VirtualLan and SessionMgr. Zero indicates to use our partition index - for the other types.  */
int HvLpEvent_openPath(HvLpEvent_Type eventType, HvLpIndex lpIndex)
/* lpIndex is the partition index of the target partition. needed only for VirtualIo, VirtualLan and SessionMgr. Zero indicates to use our partition index - for the other types.  */
int HvLpEvent_openPath(HvLpEvent_Type eventType, HvLpIndex lpIndex)
{
	if ((eventType < HvLpEvent_Type_NumTypes) &&
			lpEventHandler[eventType]) {
		if (lpIndex == 0)
			lpIndex = itLpNaca.xLpIndex;
		HvCallEvent_openLpEventPath(lpIndex, eventType);
		++lpEventHandlerPaths[eventType];
		return 0;
	}
	return 1;
}