Method CanPutFrame

From AVObjects Knowledge Base
(Difference between revisions)
Jump to: navigation, search
Line 15: Line 15:
 
<pre>
 
<pre>
 
nStream Number of stream
 
nStream Number of stream
nWait  Время ожидания ответа в мкс.
+
nWait  Response time in microseconds.
 
</pre>
 
</pre>
  
Line 25: Line 25:
 
E_INVALIDARG                        One or more arguments are invalid
 
E_INVALIDARG                        One or more arguments are invalid
 
E_FAIL                              Object not initialized yet or other failure.
 
E_FAIL                              Object not initialized yet or other failure.
 +
</pre>
 +
[[Category:IAVObject]]

Revision as of 14:54, 8 July 2014

This page is a copy of the original page on the AVObjects' web site and can also be viewed here.

The method checks the ability to send data to AV object.

HRESULT CanPutFrame(
    [in] int nStream,
    [in] DWORD nWait
    );

Parameters:

nStream Number of stream
nWait   Response time in microseconds.

Returns:

S_OK                                 Object ready for receive data
S_FALSE                              Object is busy
HRESULT_FROM_WIN32(ERROR_HANDLE_EOF) End of stream
E_INVALIDARG                         One or more arguments are invalid
E_FAIL                               Object not initialized yet or other failure.
Personal tools