Retrieves the caption property of the HTML Application (HTA).
Syntax
HRESULT get_caption(
BSTR *p
);
Parameters
- p
- Address of a string (BSTR) variable that contains the caption property of the HTA.
Return Value
Returns S_OK if successful, or an error code otherwise.
Sets the caption property of the HTML Application (HTA).
Syntax
HRESULT put_caption(
BSTR v
);
Parameters
- v
- String (BSTR) variable that contains the caption property of the HTA to set.
Return Value
Returns S_OK if successful, or an error code otherwise.