Partager via


CM_REQUIREMENTS (Compact 2013)

3/26/2014

This structure describes connections that can be used by an application.

Syntax

typedef struct CM_REQUIREMENTS {
    DWORD Version;
    DWORD cRequirement;
        struct {
        CM_CHARACTERISTIC Characteristic;
        CM_REQUIREMENT_OPERATOR Operator;
        DWORD Value;
    } Requirement[1];
} CM_REQUIREMENTS;

Members

  • cRequirement
    The number of requirements in this structure. Always set to 1.
  • Value
    The value of the Characteristic parameter of the connection.

    For example, if the Characteristic is CMCH_BANDWIDTH_KBITPS, this value could be 56000.

  • Requirement[1]
    The name of this sub-structure, and the number of times it is allowed to occur in the structure.

Requirements

Header

cmnet.h

Library

cmnet.lib

See Also

Reference

Connection Manager Connectivity Structures
CM_CHARACTERISTIC
Connection Manager Common Constants
CM_REQUIREMENT_OPERATOR