AUX_PERF_SESSIONINFO structure
예제 #1
0
        /// <summary>
        /// Composes buffer for AUX_PERF_SESSIONINFO, refer to the definition of AUX_PERF_SESSIONINFO in this Open Specification
        /// </summary>
        /// <param name="reserved">Value for Reserved field in AUX_PERF_SESSIONINFO</param>
        /// <returns>The byte array contains the AUX_PERF_SESSIONINFO</returns>
        public static byte[] Compose_AUX_PERF_SESSIONINFO(int reserved)
        {
            AUX_PERF_SESSIONINFO aux_perf_sessioninfo = new AUX_PERF_SESSIONINFO
            {
                SessionID   = 0,
                Reserved    = (short)reserved,
                SessionGuid = new byte[ConstValues.GuidByteSize]
            };

            return(aux_perf_sessioninfo.Serialize());
        }
예제 #2
0
 /// <summary>
 /// Composes buffer for AUX_PERF_SESSIONINFO, refer to the definition of AUX_PERF_SESSIONINFO in this Open Specification
 /// </summary>
 /// <param name="reserved">Value for Reserved field in AUX_PERF_SESSIONINFO</param>
 /// <returns>The byte array contains the AUX_PERF_SESSIONINFO</returns>
 public static byte[] Compose_AUX_PERF_SESSIONINFO(int reserved)
 {
     AUX_PERF_SESSIONINFO aux_perf_sessioninfo = new AUX_PERF_SESSIONINFO
     {
         SessionID = 0,
         Reserved = (short)reserved,
         SessionGuid = new byte[ConstValues.GuidByteSize]
     };
     return aux_perf_sessioninfo.Serialize();
 }