MPRAPI_OBJECT_HEADER structure

The MPRAPI_OBJECT_HEADER structure is used as a header field for structures and defines the structure version for the RAS_CONNECTION_EX, MPR_SERVER_EX, MPR_SERVER_SET_CONFIG_EX, RAS_UPDATE_CONNECTION, AUTH_VALIDATION_EX structures, and the structure version used by the MprAdminConnectionEnumEx method.

Syntax


typedef struct _MPRAPI_OBJECT_HEADER {
  UCHAR {
    UCHAR  type;
    USHORT size;
  }revision;
} MPRAPI_OBJECT_HEADER, *PMPRAPI_OBJECT_HEADER;

Members

revision

A value that represents the version of the structure specified by type. Possible values are:

ValueMeaning
MPRAPI_RAS_CONNECTION_OBJECT_REVISION_1
0x01

Represents version 1 of the RAS_CONNECTION_EX structure if type is MPRAPI_OBJECT_TYPE_RAS_CONNECTION_OBJECT.

MPRAPI_MPR_SERVER_OBJECT_REVISION_1
0x01

Represents version 1 of the MPR_SERVER_EX structure if type is MPRAPI_OBJECT_TYPE_MPR_SERVER_OBJECT.

MPRAPI_MPR_SERVER_SET_CONFIG_OBJECT_REVISION_1
0x01

Represents version 1 of the MPR_SERVER_SET_CONFIG_EX structure if type is MPRAPI_OBJECT_TYPE_MPR_SERVER_SET_CONFIG_OBJECT.

 

type

A value from the MPRAPI_OBJECT_TYPE enumeration that specifies the structure type.

size

The size, in bytes, of the structure based on type and revision.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mprapi.h

See also

Router Management Reference
Router Management Structures

 

 

Community Additions

ADD
Show: