Exemple #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_LINK AnEmptyOne()
        {
            var value = new EXP_SZ_LINK();

            value.SetDataBlockHeader();

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

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

            value.SetDataBlockHeader();

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

            return(value);
        }