Expand Minimize

HV_PORT_PROPERTY_CODE enumeration

The HV_PORT_PROPERTY_CODE enumeration contains values that identify properties for a port.

Syntax


typedef enum _HV_PORT_PROPERTY_CODE { 
  HvPortPropertyPostCount          = 0x00000000,
  HvPortPropertyPreferredTargetVp  = 0x00000001
} HV_PORT_PROPERTY_CODE, *PHV_PORT_PROPERTY_CODE;

Constants

HvPortPropertyPostCount

A property that identifies the number of messages that have been successfully posted to the port since the port's creation.

HvPortPropertyPreferredTargetVp

A property that identifies the preferred virtual processor that is targeted by messages that are received through this port. For ports that are created with the target virtual processor specified as HV_ANY_VP through a call to the HvCreatePort function, the caller can use HvPortPropertyPreferredTargetVp to supply the preferred virtual processor locality.

Remarks

Port properties provide a generic way to obtain certain characteristics of a port. Properties are identified by a 32-bit code. The associated property value is 64 bits in size.

The HV_PORT_PROPERTY_CODE enumeration is passed to the HvGetPortProperty function.

Requirements

Header

HvSynicApi.h (include Hvgdk.h)

See also

HvCreatePort
HvGetPortProperty

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.