次の方法で共有


IDebugSymbolProviderDirect::GetCurrentModulesState

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

Retrieves information about the symbol group of which the symbol provider is a member.

Syntax

HRESULT GetCurrentModulesState(
    DWORD*          pState,
    unsigned long * count
);
int GetCurrentModulesState(
    out uint pState,
    out uint count
);

Parameters

pState
[out] The state of the symbol provider group.

count
[out] Number of modules in the group.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

The state is changed whenever a module is added to, or removed from, the symbol group. Therefore, this method can be used to detect if a symbol group has been modified.

See also