예제 #1
0
파일: Native.cs 프로젝트: skykying/traces
 /// <summary>
 /// This method returns detailed information on the properties of a
 /// stream. The information includes the #StreamDescriptor originally
 /// supplied to create the stream as well as a set of statistics such
 /// as the compressed size of the stream. See #StreamQueryInformation
 /// for furthers details.
 /// </summary>
 /// <param name="session">The id of the session that holds the
 ///     stream of interest.</param>
 /// <param name="stream">The id of the stream to query.</param>
 /// <param name="informationOut">A reference to a
 ///     StreamQueryInformation structure which will receive the
 ///     stream information.</param>
 /// <returns>true if successful, false otherwise. For a more
 ///     detailed error description call StGetLastError().</returns>
 public static bool StStreamQuery(uint session, uint stream,
                                  out StreamQueryInformation informationOut)
 {
     return(NativeMethods.StStreamQuery(session, stream,
                                        out informationOut));
 }
예제 #2
0
 public static extern bool StStreamQuery(uint session, uint stream,
                                         out StreamQueryInformation informationOut);