Method PropsGet

From AVObjects Knowledge Base
(Difference between revisions)
Jump to: navigation, search
 
(6 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{This|interfaces/iavproperties/PropsGet.html}}
 
{{This|interfaces/iavproperties/PropsGet.html}}
  
Получить значение для свойства bsName
+
Get value of property
  
<source lang=cpp>
+
=== ===
 +
<source lang=idl>
 
HRESULT PropsSet(
 
HRESULT PropsSet(
 
     [in] BSTR bsName,
 
     [in] BSTR bsName,
Line 9: Line 10:
 
     );
 
     );
 
</source>
 
</source>
''Parameters:''
+
==Parameters:==
{|
+
<pre>
|-
+
bsName   Name of Property
|bsName
+
pbsValue Pointer to variable for return property value.
|Name of Property
+
</pre>
|-
+
 
|pbsValue
+
==Returns:==
|Pointer to variable for return property value.
+
<pre>
|}
+
S_OK          Property values is returned
 +
E_INVALIDARG  Property with name bsName not found
 +
E_FAIL        Some error.
 +
</pre>
  
''Returns:''
 
{|
 
|S_OK
 
|Property values is returned
 
|-
 
|E_INVALIDARG
 
|Property with name bsName not found
 
|-
 
|E_FAIL
 
|Some error.
 
|}
 
 
[[Category:IAVProperties]]
 
[[Category:IAVProperties]]

Latest revision as of 13:29, 8 July 2014

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

Get value of property

HRESULT PropsSet(
    [in] BSTR bsName,
    [out] BSTR* pbsValue
    );

Parameters:

bsName    Name of Property
pbsValue  Pointer to variable for return property value.

Returns:

S_OK          Property values is returned
E_INVALIDARG  Property with name bsName not found
E_FAIL        Some error.
Personal tools