2.2.2 RpcPrintPropertyValue

The RpcPrintPropertyValue structure specifies a data type and its value. Data types are members of the enumeration EPrintPropertyType, specified in section 2.2.1.

 typedef struct {
   EPrintPropertyType ePropertyType;
   [switch_type(EPrintPropertyType), switch_is(ePropertyType)] 
     union {
     [case(kPropertyTypeString)] 
       [string] wchar_t* propertyString;
     [case(kPropertyTypeInt32)] 
       long propertyInt32;
     [case(kPropertyTypeInt64)] 
       __int64 propertyInt64;
     [case(kPropertyTypeByte)] 
       BYTE propertyByte;
     [case(kPropertyTypeTime)] 
       SYSTEMTIME_CONTAINER propertyTimeContainer;
     [case(kPropertyTypeDevMode)] 
       DEVMODE_CONTAINER propertyDevModeContainer;
     [case(kPropertyTypeSD)] 
       SECURITY_CONTAINER propertySDContainer;
     [case(kPropertyTypeNotificationReply)] 
       NOTIFY_REPLY_CONTAINER propertyReplyContainer;
     [case(kPropertyTypeNotificationOptions)] 
       NOTIFY_OPTIONS_CONTAINER propertyOptionsContainer;
   } value;
 } RpcPrintPropertyValue;

ePropertyType: A value from the EPrintPropertyType enumeration that specifies the data type of the variable.

value: An information structure that corresponds to the type of property specified by the ePropertyType member. Information containers and structures are defined in [MS-RPRN] sections 2.2.1 and 2.2.2.

propertyString: A string.

propertyInt32: A 32-bit signed integer.

propertyInt64: A 64-bit signed integer.

propertyByte: A BYTE.

propertyTimeContainer: A SYSTEMTIME_CONTAINER, specified in [MS-RPRN] section 2.2.1.2.16.

propertyDevModeContainer: A DEVMODE_CONTAINER, specified in [MS-RPRN] section 2.2.1.2.1.

propertySDContainer: A SECURITY_CONTAINER, specified in [MS-RPRN] section 2.2.1.2.13.

propertyReplyContainer: A NOTIFY_REPLY_CONTAINER, specified in section 2.2.7.

propertyOptionsContainer: A NOTIFY_OPTIONS_CONTAINER, specified in section 2.2.6.