WpEnumProvidersWpEnumProviders*
*Contents  *Index  *Topic Contents
*Previous Topic: WpDoesSiteExist
*Next Topic: WpGetErrorString

WpEnumProviders

DWORD WpEnumProviders(
	[in, out]		LPDWORD		pdwProvidersBufLen
	[out]		LPWPPROVINFO	pProvidersBuffer
	[out]		LPDWORD		pdwNumProviders
	);

Retrieves the list of all currently registered providers.

pdwProvidersBufLen
Size, in bytes, of pProvidersBuffer. On return, contains the actual number of bytes used in pProvidersBuffer. If pProvidersBuffer is NULL or too small to hold all the providers, this parameter shows the necessary size of the buffer to allocate.
pProvidersBuffer
Receives an array of WPPROVINFO structures.
pdwNumProviders
Number of providers. This value is set whether or not pProvidersBuffer is NULL or points to a large enough buffer.

Examples
C/C=++

{
	HRESULT hResult = NOERROR;
	DWORD BufLen;
	DWORD Num;
	
	hResult = WpEnumProviders(&BufLen, NULL, &Num);	
}

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.