ITsSbResourcePluginStore::EnumerateEnvironments method (sbtsv.h)

Returns an array that contains the environments present in the resource plug-in store.

Syntax

HRESULT EnumerateEnvironments(
  [in, out] DWORD                  *pdwCount,
  [out]     ITsSbEnvironment ** [] pVal
);

Parameters

[in, out] pdwCount

A pointer to the number of targets retrieved.

[out] pVal

A pointer to an array that contains references to the environments present. When you have finished using the array, release each element and free the array by calling the CoTaskMemFree function.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows ServerĀ 2012
Target Platform Windows
Header sbtsv.h

See also

ITsSbEnvironment

ITsSbResourcePluginStore

ITsSbResourcePluginStoreEx