Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

WscGetSecurityProviderHealth function

Gets the aggregate health state of the security provider categories represented by the specified WSC_SECURITY_PROVIDER enumeration values.

Syntax


HRESULT WINAPI WscGetSecurityProviderHealth(
  _In_   DWORD Providers,
  _Out_  PWSC_SECURITY_PROVIDER_HEALTH pHealth
);

Parameters

Providers [in]

One or more of the values in the WSC_SECURITY_PROVIDER enumeration. To specify more than one value, combine the individual values by performing a bitwise OR operation.

pHealth [out]

A pointer to a variable that takes the value of one of the members of the WSC_SECURITY_PROVIDER_HEALTH enumeration. If more than one provider is specified in the Providers parameter, the value of this parameter is the health of the least healthy of the specified provider categories.

Return value

Returns S_OK if the function succeeds, otherwise returns an error code. If the WSC service is not running, the return value is always S_FALSE and the pHealth out parameter is always set to WSC_SECURITY_PROVIDER_HEALTH_POOR.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

None supported

Header

Wscapi.h

Library

Wscapi.lib

DLL

Wscapi.dll

See also

WSC_SECURITY_PROVIDER_HEALTH

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.