共用方式為


2.2.1.13.5 RPC_V2_NOTIFY_INFO_DATA_DATA

The RPC_V2_NOTIFY_INFO_DATA_DATA union specifies the data information container for the current notification.<78> The case attributes of this union are specified by Notification Data Type values (section 2.2.3.5).

 typedef 
 [switch_type(DWORD)] 
 union _RPC_V2_NOTIFY_INFO_DATA_DATA {
   [case(TABLE_STRING)] 
     STRING_CONTAINER String;
   [case(TABLE_DWORD)] 
     DWORD dwData[2];
   [case(TABLE_TIME)] 
     SYSTEMTIME_CONTAINER SystemTime;
   [case(TABLE_DEVMODE)] 
     DEVMODE_CONTAINER DevMode;
   [case(TABLE_SECURITYDESCRIPTOR)] 
     SECURITY_CONTAINER SecurityDescriptor;
 } RPC_V2_NOTIFY_INFO_DATA_DATA;

String: Case TABLE_STRING: This member specifies a STRING_CONTAINER structure (section 2.2.1.2.15).

dwData: Case TABLE_DWORD: This member specifies an array of two DWORD values that contain the member's current data.

SystemTime: Case TABLE_TIME This member specifies a SYSTEMTIME_CONTAINER structure (section 2.2.1.2.16).

DevMode: Case TABLE_DEVMODE: This member specifies a DEVMODE_CONTAINER structure (section 2.2.1.2.1) that defines default printer attributes such as the paper orientation and printing resolution.

SecurityDescriptor: Case TABLE_SECURITYDESCRIPTOR: This member specifies a SECURITY_CONTAINER structure (section 2.2.1.2.13), in which the pSecurity member is a pointer to a SECURITY_DESCRIPTOR structure ([MS-DTYP] section 2.4.6) in self-relative form.