khenaidoo | d948f77 | 2021-08-11 17:49:24 -0400 | [diff] [blame] | 1 | // Package mstypes provides implemnations of some Microsoft data types [MS-DTYP] https://msdn.microsoft.com/en-us/library/cc230283.aspx |
2 | package mstypes | ||||
3 | |||||
4 | // LPWSTR implements https://msdn.microsoft.com/en-us/library/cc230355.aspx | ||||
5 | type LPWSTR struct { | ||||
6 | Value string `ndr:"pointer,conformant,varying"` | ||||
7 | } | ||||
8 | |||||
9 | // String returns the string representation of LPWSTR data type. | ||||
10 | func (s *LPWSTR) String() string { | ||||
11 | return s.Value | ||||
12 | } |