private static extern void cveNamedWindow(IntPtr name, CvEnum.WindowFlags flags);
/// <summary> /// Creates a window which can be used as a placeholder for images and trackbars. Created windows are reffered by their names. /// If the window with such a name already exists, the function does nothing. /// </summary> /// <param name="name">Name of the window which is used as window identifier and appears in the window caption</param> /// <param name="flags">Flags of the window.</param> public static void NamedWindow(String name, CvEnum.WindowFlags flags = WindowFlags.AutoSize) { using (CvString s = new CvString(name)) cveNamedWindow(s, flags); }