次の方法で共有


2.2.1.2.15 STRING_CONTAINER

The STRING_CONTAINER structure contains a string.<10>

 typedef struct _STRING_CONTAINER {
   DWORD cbBuf;
   [size_is(cbBuf/2), unique] WCHAR* pszString;
 } STRING_CONTAINER;

cbBuf: This member specifies the size, in bytes, of the buffer that is pointed to by the pszString member. The value of this number MUST be an even number.

pszString: A pointer to a string. The string that is referenced by this member MUST NOT be empty.