Exemple #1
0
 /// <summary>
 /// Gets the NATIVE_SETINFO structure that represents the object.
 /// </summary>
 /// <returns>A NATIVE_SETINFO structure whose fields match the class.</returns>
 internal NATIVE_SETINFO GetNativeSetinfo()
 {
     var setinfo = new NATIVE_SETINFO();
     setinfo.cbStruct = checked((uint) NATIVE_SETINFO.Size);
     setinfo.ibLongValue = checked((uint) this.ibLongValue);
     setinfo.itagSequence = checked((uint) this.itagSequence);
     return setinfo;
 }
Exemple #2
0
        /// <summary>
        /// Gets the NATIVE_SETINFO structure that represents the object.
        /// </summary>
        /// <returns>A NATIVE_SETINFO structure whose fields match the class.</returns>
        internal NATIVE_SETINFO GetNativeSetinfo()
        {
            var setinfo = new NATIVE_SETINFO();

            setinfo.cbStruct     = checked ((uint)NATIVE_SETINFO.Size);
            setinfo.ibLongValue  = checked ((uint)this.ibLongValue);
            setinfo.itagSequence = checked ((uint)this.itagSequence);
            return(setinfo);
        }