int sizeLight = sizeof(LightStruct);
wchar_t bufferT[256];
wsprintfW(bufferT,L"%d",sizeLight);
MessageBox(NULL,bufferT,bufferT,MB_OK);
其中:LPCWSTR: typedef const wchar_t* LPCWSTR An LPCWSTR is a 32-bit pointer to a constant string of 16-bit...4字节的指针,指向2字节的constant字符串。