Ejemplo n.º 1
0
 public BufferInfo(BUFFER_INFO info)
     : this()
 {
     CurrentUsage = info.currentUsage;
     PeakUsage    = info.peakUsage;
     Capacity     = info.capacity;
     StallCount   = info.stallCount;
     StallTime    = TimeSpan.FromSeconds(info.stallTime);
 }
Ejemplo n.º 2
0
 public static extern uint VisualSetBufferInfo(int pgvThis, BUFFER_INFO pbi);
Ejemplo n.º 3
0
 public static extern uint VisualGetBufferInfo(int pgvThis, [@out] BUFFER_INFO pbi);