Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

InputType Complex Type

Defines an input data type.

<xs:complexType name="InputType">
    <xs:sequence>
        <xs:element name="description"
            type="string"
         />
        <xs:element name="outType"
            type="OutputType"
            minOccurs="0"
            maxOccurs="unbounded"
         />
        <xs:any
            processContents="lax"
            namespace="##other"
         />
    </xs:sequence>
    <xs:attribute name="name"
        type="QName"
        use="required"
     />
    <xs:attribute name="value"
        type="string"
        use="required"
     />
    <xs:attribute name="symbol"
        type="CSymbolType"
        use="required"
     />
</xs:complexType>

Child elements

ElementTypeDescription
description string

A description of the input type.

outType OutputType

A list of output data types that determine how the data is rendered. You must specify at least one output type. Specify a list if the input type can be rendered as different output types. For example, the input type win:UInt16 can be rendered as an unsigned short, port number, or hexadecimal number. One of the output types that you specify must have the default attribute set to true.

Attributes

NameTypeDescription
nameQName

The name of the input type.

symbol CSymbolType

The symbol to use to reference the input type in your application. The Message Compiler (MC.exe) uses the symbol to create a constant for the input type in the header file that the compiler generates.

valuestring

A numeric identifier that uniquely identifies the input type in a list of input types that you define.

Remarks

The following lists the recognized input types that you can use in your manifest. The types are defined in the \Include\Winmeta.xml file that is included in the Windows SDK. The "Standard XML format" column indicates the canonical type for the specific input type. The "Output type" column lists the possible formats in which the data can be rendered. If you do not specify an output type for the data item, the service will use the first output type listed to render the data. For a description of the output types, see the OutputType complex type.

The following table lists values defined in the Winmeta.xml file.

Input typeDescriptionOutput type
win:AnsiString A null-terminated ANSI string.

xs:string

win:Xml

win:UnicodeString A null-terminated Unicode string.

xs:string

win:Xml

win:Int8 A signed 8-bit integer. xs:byte
win:UInt8 An unsigned 8-bit integer.

xs:unsignedByte

win:HexInt8

win:Int16 A signed 16-bit integer.

xs:short

win:UInt16Unsigned 16-bit integer.

xs:unsignedShort

win:Port

win:HexInt16

win:Int32 A signed 32-bit integer.

xs:int

win:HResult

win:UInt32An unsigned 32-bit integer.

xs:unsignedInt

win:PID

win:TID

win:IPv4

win:ETWTIME

win:Win32Error

win:NTSTATUS

win:HexInt32

win:Int64 A signed 64-bit integer.

xs:long

win:UInt64An unsigned 64-bit integer.

xs:unsignedLong

win:ETWTIME

win:HexInt64

win:Float An IEEE 4-byte floating-point number.

xs:float

win:Double An IEEE 8-byte floating-point number.

xs:double

win:Boolean A 32-bit value where 0 is false and 1 is true.

xs:boolean

win:Binary Binary data of variable size. The size must be specified in the data definition as a constant or a reference to another (integer) data item.

For an IP V6 address, the data should be an IN6_ADDR structure.

For a socket address, the data should be a SOCKADDR_STORAGE structure. The AF_INET, AF_INET6, and AF_LINK address families are supported.

xs:hexBinary

win:IPv6

win:SocketAddress

win:GUID A GUID structure. On output, the GUID is rendered in the registry string form, {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}.

xs:GUID

win:Pointer An unsigned 32-bit or 64-bit pointer value. The size depends on the architecture of the computer logging the event.

win:HexInt64

win:FILETIME A FILETIME structure, 8-bytes.

xs:dateTime

win:DateTimeCultureInsensitive

win:SYSTEMTIME A SYSTEMTIME structure, 16-bytes.

xs:dateTime

win:DateTimeCultureInsensitive

win:SID A security identifier (SID) structure that uniquely identifies a user or group. On output, the SID is rendered in string form using the ConvertSidToStringSid function.

xs:string

win:HexInt32A hexadecimal representation of an unsigned 32-bit integer

win:HexInt32

win:Win32Error

win:NTSTATUS

win:HexInt64A hexadecimal representation of an unsigned 64-bit integer.

win:HexInt64

 

If you use win:UInt32 to store an IPv4 address, the value must be in network byte order. To convert an IPv4 address string to an unsigned integer in network byte order, call the RtlIpv4StringToAddress or inet_addr function. To convert the unsigned integer to an IPv4 address string, call the RtlIpv4AddressToString or inet_ntoa function.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

 

 

Community Additions

Show:
© 2014 Microsoft