2.2.1 Permitted Property Type Values
These values are used to specify Property Types. They appear in various places in the NSPI Protocol. All NSPI servers MUST recognize and be capable of accepting and returning these Property Types. Values representing Property Types are defined in [MS-OXCDATA].
The values specified in [MS-OXCDATA] are 16-bit integers. The NSPI Protocol uses the same numeric values but expressed as 32-bit integers. The high-order 16 bits of the 32-bit representation used by the NSPI Protocol are always 0x0000. Permitted values for the NSPI Protocol listed in the following table.
Name |
Value as defined in [MS-OXCDATA] |
Value as used in NSPI Protocol |
---|---|---|
PtypInteger16 |
0x0002 |
0x00000002 |
PtypInteger32 |
0x0003 |
0x00000003 |
PtypBoolean |
0x000B |
0x0000000B |
PtypString8 |
0x001E |
0x0000001E |
PtypBinary |
0x0102 |
0x00000102 |
PtypString |
0x001F |
0x0000001F |
PtypGuid |
0x0048 |
0x00000048 |
PtypTime |
0x0040 |
0x00000040 |
PtypErrorCode |
0x000A |
0x0000000A |
PtypMultipleInteger16 |
0x1002 |
0x00001002 |
PtypMultipleInteger32 |
0x1003 |
0x00001003 |
PtypMultipleString8 |
0x101E |
0x0000101E |
PtypMultipleBinary |
0x1102 |
0x00001102 |
PtypMultipleString |
0x101F |
0x0000101F |
PtypMultipleGuid |
0x1048 |
0x00001048 |
PtypMultipleTime |
0x1040 |
0x00001040 |
In addition to the Property Types defined in [MS-OXCDATA], all NSPI servers and clients MUST recognize and be capable of accepting and returning the following Property Types.
Name and value |
Description |
---|---|
PtypEmbeddedTable 0x0000000D |
Single 32-bit value, referencing an address list. |
PtypNull 0x00000001 |
Clients MUST NOT specify this Property Type in any method's input parameters. The server MUST specify this Property Type in any method's output parameters to indicate that a property has a value that cannot be expressed in the NSPI Protocol. |
PtypUnspecified 0x00000000 |
Clients specify this Property Type in a method's input parameter to indicate that the client will accept any Property Type the server chooses when returning propvalues. Servers MUST NOT specify this Property Type in any method's output parameters except the method NspiGetIDsFromNames. |
All NSPI clients and servers MUST NOT use any other Property Types.