| 3155 | } |
| 3156 | |
| 3157 | XN_C_API void xnUnregisterFromGeneralIntValueChange(XnNodeHandle hInstance, const XnChar* strCap, XnCallbackHandle hCallback) |
| 3158 | { |
| 3159 | XnProductionNodeInterfaceContainer* pInterface = hInstance->pModuleInstance->pLoaded->pInterface; |
| 3160 | XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode; |
| 3161 | XN_VALIDATE_FUNC_PTR_RET(pInterface->GeneralInt.UnregisterFromValueChange, ); |
| 3162 | |
| 3163 | XnModuleStateCookie* pModuleCookie = (XnModuleStateCookie*)hCallback; |
| 3164 | pModuleCookie->hNode->pRegistrationCookiesHash->Remove(pModuleCookie); |
| 3165 | pInterface->GeneralInt.UnregisterFromValueChange(hModuleNode, strCap, pModuleCookie->hModuleCallback); |
| 3166 | xnOSFree(pModuleCookie); |
| 3167 | } |
| 3168 | |
| 3169 | //--------------------------------------------------------------------------- |
| 3170 | // Production Nodes |
no test coverage detected