Admin Production ni-theme
Current Publication

CA_FreeBSTR

LabWindows/CVI

CA_FreeBSTR

void CA_FreeBSTR (BSTR BSTR);

Purpose

Frees BSTRs allocated through the following sources:

Note    This function calls the system function SysFreeString to free the BSTR.

Parameters

Input
Name Type Description
BSTR BSTR The BSTR to be freed. If you pass NULL, the function performs no action.

Return Value

None.

Additional Information

Library: ActiveX Library

Include file: cviauto.h

LabWindows/CVI compatibility: LabWindows/CVI 5.5 and later

Example

Refer to userint\activex\richTextbox.cws for an example of using the CA_FreeBSTR function.