Retrieves the status of the INPUT control.
Syntax
HRESULT get_status( VARIANT_BOOL *p );
Parameters
- v
- Address of a VARIANT Boolean structure that receives the status. The status can be VARIANT_TRUE, VARIANT_FALSE, or VARIANT_NULL depending on whether the object contains data, does not contain data yet, or is yet un-initialized. The caller polls the value for changes.
Return Value
Returns S_OK if successful, or an error code otherwise.
Sets the status of the INPUT control.
Syntax
HRESULT put_status( VARIANT_BOOL v );
Parameters
- v
- A VARIANT Boolean structure that specifies the status to set. The status can be VARIANT_TRUE, VARIANT_FALSE, or VARIANT_NULL depending on whether the object contains data, does not contain data yet, or is yet un-initialized. The caller polls the value for changes.
Return Value
Returns S_OK if successful, or an error code otherwise.