예제 #1
0
        /// <summary>
        ///     Creates a default Windows VS_FIXEDFILEINFO structure.
        /// </summary>
        /// <returns> A default Windows VS_FIXEDFILEINFO. </returns>
        public static VsFixedfileinfo GetWindowsDefault()
        {
            var fixedFileInfo = new VsFixedfileinfo();

            fixedFileInfo.dwSignature     = Winver.VS_FFI_SIGNATURE;
            fixedFileInfo.dwStrucVersion  = Winver.VS_FFI_STRUCVERSION;
            fixedFileInfo.dwFileFlagsMask = Winver.VS_FFI_FILEFLAGSMASK;
            fixedFileInfo.dwFileOS        = (uint)Winver.FileOs.VOS__WINDOWS32;
            fixedFileInfo.dwFileSubtype   = (uint)Winver.FileSubType.VFT2_UNKNOWN;
            fixedFileInfo.dwFileType      = (uint)Winver.FileType.VFT_DLL;
            return(fixedFileInfo);
        }
예제 #2
0
 /// <summary>
 ///     Creates a default Windows VS_FIXEDFILEINFO structure.
 /// </summary>
 /// <returns> A default Windows VS_FIXEDFILEINFO. </returns>
 public static VsFixedfileinfo GetWindowsDefault() {
     var fixedFileInfo = new VsFixedfileinfo();
     fixedFileInfo.dwSignature = Winver.VS_FFI_SIGNATURE;
     fixedFileInfo.dwStrucVersion = Winver.VS_FFI_STRUCVERSION;
     fixedFileInfo.dwFileFlagsMask = Winver.VS_FFI_FILEFLAGSMASK;
     fixedFileInfo.dwFileOS = (uint)Winver.FileOs.VOS__WINDOWS32;
     fixedFileInfo.dwFileSubtype = (uint)Winver.FileSubType.VFT2_UNKNOWN;
     fixedFileInfo.dwFileType = (uint)Winver.FileType.VFT_DLL;
     return fixedFileInfo;
 }