| 598 | } |
| 599 | |
| 600 | XnStatus PlayerImpl::SetNodeStringProp(const XnChar* strNodeName, const XnChar* strPropName, const XnChar* strValue) |
| 601 | { |
| 602 | XnStatus nRetVal = XN_STATUS_OK; |
| 603 | |
| 604 | PlayedNodeInfo playedNode; |
| 605 | nRetVal = m_playedNodes.Get(strNodeName, playedNode); |
| 606 | XN_IS_STATUS_OK(nRetVal); |
| 607 | |
| 608 | nRetVal = xnLockedNodeStartChanges(playedNode.hNode, playedNode.hLock); |
| 609 | XN_IS_STATUS_OK(nRetVal); |
| 610 | |
| 611 | nRetVal = xnSetStringProperty(playedNode.hNode, strPropName, strValue); |
| 612 | if (nRetVal != XN_STATUS_OK) |
| 613 | { |
| 614 | xnLockedNodeEndChanges(playedNode.hNode, playedNode.hLock); |
| 615 | return (nRetVal); |
| 616 | } |
| 617 | |
| 618 | nRetVal = xnLockedNodeEndChanges(playedNode.hNode, playedNode.hLock); |
| 619 | XN_IS_STATUS_OK(nRetVal); |
| 620 | |
| 621 | return XN_STATUS_OK; |
| 622 | } |
| 623 | |
| 624 | XnStatus PlayerImpl::SetNodeGeneralProp(const XnChar* strNodeName, const XnChar* strPropName, XnUInt32 nBufferSize, const void* pBuffer) |
| 625 | { |
no test coverage detected