Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

CM_Free_Log_Conf_Handle function

The CM_Free_Log_Conf_Handle function invalidates a logical configuration handle and frees its associated memory allocation.

Syntax


CMAPI
CONFIGRET
WINAPI CM_Free_Log_Conf_Handle(
  _In_ LOG_CONF lcLogConf
);

Parameters

lcLogConf [in]

Caller-supplied logical configuration handle. This handle must have been previously obtained by calling one of the following functions:

CM_Add_Empty_Log_Conf

CM_Add_Empty_Log_Conf_Ex

CM_Get_First_Log_Conf

CM_Get_First_Log_Conf_Ex

CM_Get_Next_Log_Conf

CM_Get_Next_Log_Conf_Ex

Return value

If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.

Remarks

Each time your code calls one of the functions listed under the description of lcLogConf, it must subsequently call CM_Free_Log_Conf_Handle.

Requirements

Target platform

Universal

Version

Available in Microsoft Windows 2000 and later versions of Windows.

Header

Cfgmgr32.h (include Cfgmgr32.h)

Library

Cfgmgr32.lib

DLL

Cfgmgr32.dll

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft