--------------------------------------------------------------------------- Device Identification Capability ---------------------------------------------------------------------------
| 3454 | // Device Identification Capability |
| 3455 | //--------------------------------------------------------------------------- |
| 3456 | XN_C_API XnStatus xnGetDeviceName(XnNodeHandle hInstance, XnChar* strBuffer, XnUInt32* pnBufferSize) |
| 3457 | { |
| 3458 | XN_VALIDATE_INTERFACE_TYPE(hInstance, XN_NODE_TYPE_DEVICE); |
| 3459 | XnDeviceInterfaceContainer* pInterface = (XnDeviceInterfaceContainer*)hInstance->pModuleInstance->pLoaded->pInterface; |
| 3460 | XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode; |
| 3461 | XN_VALIDATE_FUNC_PTR(pInterface->Identification.GetDeviceName); |
| 3462 | return pInterface->Identification.GetDeviceName(hModuleNode, strBuffer, pnBufferSize); |
| 3463 | } |
| 3464 | |
| 3465 | XN_C_API XnStatus xnGetVendorSpecificData(XnNodeHandle hInstance, XnChar* strBuffer, XnUInt32* pnBufferSize) |
| 3466 | { |
no test coverage detected