public NodeInfoList EnumerateExistingNodes(NodeType type) { IntPtr pList; UInt32 status = OpenNIImporter.xnEnumerateExistingNodesByType(this.InternalObject, type, out pList); WrapperUtils.CheckStatus(status); return(new NodeInfoList(pList)); }