Пример #1
0
        public char[] swzTarget; // UNICODE target name w/EXP_SZ in it

        #region Methods

        /// <summary>
        ///   Gets an empty structure with a valid data block header and sensible defaults.
        /// </summary>
        public static EXP_SZ_ICON AnEmptyOne()
        {
            var value = new EXP_SZ_ICON();

            value.SetDataBlockHeader();

            value.szTarget = new sbyte[MAX_PATH];
            value.swzTarget = new char[MAX_PATH];

            return value;
        }
Пример #2
0
        /// <summary>
        ///   Gets an empty structure with a valid data block header and sensible defaults.
        /// </summary>
        public static EXP_SZ_ICON AnEmptyOne()
        {
            var value = new EXP_SZ_ICON();

            value.SetDataBlockHeader();

            value.szTarget  = new sbyte[MAX_PATH];
            value.swzTarget = new char[MAX_PATH];

            return(value);
        }