aclrtGetStreamAttribute
Applicable Products
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Obtains attribute values of a stream.
Prototype
1 | aclError aclrtGetStreamAttribute(aclrtStream stream, aclrtStreamAttr stmAttrType, aclrtStreamAttrValue *value) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
stream |
Input |
Stream. For details about the type definition, see aclrtStream. |
stmAttrType |
Input |
Attribute type. For details about the type definition, see aclrtStreamAttr. |
value |
Output |
Attribute value. For details about the type definition, see aclrtStreamAttrValue. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Restrictions
For the
For