OdessaGUIProject.MainModel.GetMyVideosDirectory C# (CSharp) Method

GetMyVideosDirectory() static private method

static private GetMyVideosDirectory ( ) : string
return string
        internal static string GetMyVideosDirectory()
        {
            //Environment.GetFolderPath(Environment.SpecialFolder.MyVideos);

            // ReSharper disable InconsistentNaming
            const int CSIDL_MYVIDEO = 0x000e; // "My Videos" folder
            // ReSharper restore InconsistentNaming
            var path = new StringBuilder(260);
            SHGetSpecialFolderPath(IntPtr.Zero, path, CSIDL_MYVIDEO, false);
            return path.ToString();
        }