WcmSetProfileList function

The WcmSetProfileList function reorders a profile list or a subset of a profile list.

Syntax


DWORD WINAPI WcmSetProfileList(
  _In_        WCM_PROFILE_INFO_LIST *pProfileList,
  _In_        DWORD dwPosition,
  _In_        BOOL fIgnoreUnknownProfiles,
  _Reserved_  PVOID pReserved
);

Parameters

pProfileList [in]

Type: WCM_PROFILE_INFO_LIST*

The list of profiles to be reordered, provided in the preferred order (descending from the most preferred to the least preferred).

dwPosition [in]

Type: DWORD

Specifies the position in the list to start the reorder.

fIgnoreUnknownProfiles [in]

Type: BOOL

True if any profiles in pProfileList which do not exist should be ignored; the call will proceed with the remainder of the list. False if the call should fail without modifying the profile order if any profiles in pProfileList do not exist.

pReserved

Type: PVOID

Reserved.

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

WCM_PROFILE_INFO_LIST

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.