CaptureBuffer.Write Method |
Language: |
Writes data to the capture buffer.
public void Write(int, Array, LockFlag); public void Write(int, Stream, int, LockFlag);
Exceptions
ArgumentException An invalid parameter was passed to the called method, or numberBytesToWrite is set to zero. ArgumentNullException One or more parameters is null. BufferLostException The buffer memory has been lost and must be restored. InvalidCallException The method call is invalid. For example, a method's parameter might not be valid. NotSupportedException Unable to read from the source stream object, data. Check if the stream is readable. PriorityLevelNeededException A cooperative level of Priority or higher is required.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center