Compartilhar via


CmGetPolicyConfig (Compact 2013)

3/26/2014

This API retrieves policy data.

Syntax

CM_RESULT CmGetPolicyConfig(
    __in_bcount(cbKey) CM_POLICY_CONFIG_KEY* pKey,
    __in DWORD cbKey,
    __out_bcount(*pcbData) CM_POLICY_CONFIG_DATA* pData,
    __inout DWORD* pcbData
);

Parameters

  • cbKey
    [in] Length of the pKey parameter.
  • pcbData
    [in] Length of the pData parameter.

    [out] Length of the pData parameter.

Return Value

Value

Description

CMRE_SUCCESS

The operation completed successfully.

CMRE_INVALID_PARAMETER

One of the parameters in NULL or invalid.

CMRE_INVALID_VERSION

The Connection Manager Common Constants of one or more of the structure parameters is not supported.

Requirements

Header

cmnet.h

Library

cmnet.lib

See Also

Reference

Connection Manager Policy Functions