Udostępnij za pośrednictwem


DataTypeEnum

Indicates the type of object in the packet.

enum DataTypeEnum{
DT_INVALID = 0,
DT_BYTE = 1,
DT_INT32 = 2,
DT_WIDECHAR = 3,
DT_BOOL = 4,
DT_BYTEARRAY = 5,
DT_STRING = 6} DataTypeEnum;

Remarks

This enumeration is used by IPacket::ReadDataType to indicate the type of data in the packet.

Example

In this example, the packet stream reads data from the RemoteAgent object on the desktop while connected. For the complete example, see IDeviceAgentTransport.

Managed Equivalent

Microsoft.SmartDevice.DeviceAgentTransport..::.DataType

Requirements

DeviceAgentTransport.h

See Also

Other Resources

Unmanaged Device-Side Smart Device Connectivity API