Share via


BSTR_ARRAY

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

A structure that describes an array of strings.

Syntax

typedef struct tagBSTR_ARRAY {
    DWORD dwCount;
    BSTR* Members;
} BSTR_ARRAY;
struct BSTR_ARRAY {
    DWORD    dwCount;
    string[] Members;
}

Members

dwCount
Number of strings in Members array.

Members
Array of strings.

Remarks

This structure is returned from the EnumPersistedPorts method.

[C++ only] Each individual string must be freed using SysFreeString, and the Members array must be freed with CoTaskMemFree.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also