WscGetSecurityProviderHealth

Announcements and discussion for PInvoke

Moderators: Luke Jefferson, Robert

WscGetSecurityProviderHealth

Postby floppes » Thu Nov 29, 2007 12:36 pm

Hi,

I want to use WscGetSecurityProviderHealth from Wscapi.dll but I don't know how to convert it into C#.

In MSDN it is declared like this:

Code: Select all
HRESULT WINAPI WscGetSecurityProviderHealth(
  __in   DWORD Providers,
  __out  PWSC_SECURITY_PROVIDER_HEALTH pHealth
);

typedef enum _WSC_SECURITY_PROVIDER_HEALTH {
  WSC_SECURITY_PROVIDER_HEALTH_GOOD,
  WSC_SECURITY_PROVIDER_HEALTH_NOTMONITORED,
  WSC_SECURITY_PROVIDER_HEALTH_POOR,
  WSC_SECURITY_PROVIDER_HEALTH_SNOOZE
} WSC_SECURITY_PROVIDER_HEALTH, *PWSC_SECURITY_PROVIDER_HEALTH;


Can someone please help?
floppes
 
Posts: 1
Joined: Thu Nov 29, 2007 12:31 pm

Return to PInvoke.Net

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests

cron