次の方法で共有


2.2.52 SERVICE_TRIGGER_SPECIFIC_DATA_ITEM

The SERVICE_TRIGGER_SPECIFIC_DATA_ITEM <25> structure contains information about one trigger data item of a service.

 typedef struct _SERVICE_TRIGGER_SPECIFIC_DATA_ITEM {
   DWORD dwDataType;
   [range(0, 1024)] DWORD cbData;
   [size_is(cbData)] PBYTE pData;
 } SERVICE_TRIGGER_SPECIFIC_DATA_ITEM,
  *PSERVICE_TRIGGER_SPECIFIC_DATA_ITEM;

dwDataType: The type of trigger data. This MUST be one of the following values.

Value

Meaning

0x00000001

SERVICE_TRIGGER_DATA_TYPE_BINARY

0x00000002

SERVICE_TRIGGER_DATA_TYPE_STRING

cbData: Size in bytes of the data in pData.

pData: Trigger data. When dwDataType is set equal to 0x00000002 (SERVICE_TRIGGER_DATA_TYPE_STRING), the encoding is Unicode string and includes a terminating null character. This string can contain data in the format of a sequence of null-terminated strings, terminated by an empty string (\0).