private static IntPtr Create(Context context, string formatName) { IntPtr nodeHandle; UInt32 status = OpenNIImporter.xnCreatePlayer(context.InternalObject, formatName, out nodeHandle); WrapperUtils.CheckStatus(status); return(nodeHandle); }