Legacy: Fix icsneoGetVnetSimpleNetid
The NetID is written to the out* parameter, not returned.add-device-sharing
parent
c3469f5fb6
commit
111d377d4a
|
|
@ -178,7 +178,7 @@ static inline unsigned int OffsetToSimpleNetworkId(size_t offset)
|
||||||
return NETID_DEVICE;
|
return NETID_DEVICE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline unsigned int GetVnetAgnosticNetid(size_t fullNetid)
|
static inline size_t GetVnetAgnosticNetid(size_t fullNetid)
|
||||||
{
|
{
|
||||||
if (IdIsSlaveARange1(fullNetid))
|
if (IdIsSlaveARange1(fullNetid))
|
||||||
{
|
{
|
||||||
|
|
@ -1278,7 +1278,8 @@ int LegacyDLLExport icsneoGetNetidforSlaveVNETs(size_t* NetworkIndex, EPlasmaIon
|
||||||
|
|
||||||
int LegacyDLLExport icsneoGetVnetSimpleNetid(size_t* FullNetID)
|
int LegacyDLLExport icsneoGetVnetSimpleNetid(size_t* FullNetID)
|
||||||
{
|
{
|
||||||
return GetVnetAgnosticNetid(*FullNetID);
|
*FullNetID = GetVnetAgnosticNetid(*FullNetID);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int LegacyDLLExport icsneoSerialNumberFromString(unsigned long* serial, char* data)
|
int LegacyDLLExport icsneoSerialNumberFromString(unsigned long* serial, char* data)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue