Beispiel #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);
 }
Beispiel #2
0
 public static extern uint VisualSetBufferInfo(int pgvThis, BUFFER_INFO pbi);
Beispiel #3
0
 public static extern uint VisualGetBufferInfo(int pgvThis, [@out] BUFFER_INFO pbi);