WcmGetProfileList function

The WcmGetProfileList function retrieves a list of profiles in preferred order, descending from the most preferred to the least preferred. The list includes all WCM-managed auto-connect profiles across all WCM-managed media types.

Syntax


DWORD WINAPI WcmGetProfileList(
  _Reserved_  PVOID pReserved,
  _Out_       PWCM_PROFILE_INFO_LIST *ppProfileList
);

Parameters

pReserved

Type: PVOID

Reserved.

ppProfileList [out]

Type: PWCM_PROFILE_INFO_LIST*

The list of profiles.

Return value

Type: DWORD

Returns ERROR_SUCCESS if successful, or an error value otherwise.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Wcmapi.h

Library

Wcmapi.lib

DLL

Wcmapi.dll

See also

PWCM_PROFILE_INFO_LIST

 

 

Community Additions

ADD
Show:
© 2014 Microsoft