MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / xnGetSerialNumber

Function xnGetSerialNumber

Source/OpenNI/XnOpenNI.cpp:3474–3481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3472}
3473
3474XN_C_API XnStatus xnGetSerialNumber(XnNodeHandle hInstance, XnChar* strBuffer, XnUInt32* pnBufferSize)
3475{
3476 XN_VALIDATE_INTERFACE_TYPE(hInstance, XN_NODE_TYPE_DEVICE);
3477 XnDeviceInterfaceContainer* pInterface = (XnDeviceInterfaceContainer*)hInstance->pModuleInstance->pLoaded->pInterface;
3478 XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode;
3479 XN_VALIDATE_FUNC_PTR(pInterface->Identification.GetSerialNumber);
3480 return pInterface->Identification.GetSerialNumber(hModuleNode, strBuffer, pnBufferSize);
3481}
3482
3483//---------------------------------------------------------------------------
3484// Generators

Calls 1

GetSerialNumberMethod · 0.80

Tested by

no test coverage detected