/* Convert a string into an NT UNICODE string. Note that regardless of processor type this must be in intel (little-endian) format.  */
static int _my_mbstowcs(__u16 *dst, const unsigned char *src, int len)
/* Convert a string into an NT UNICODE string. Note that regardless of processor type this must be in intel (little-endian) format.  */
static int _my_mbstowcs(__u16 *dst, const unsigned char *src, int len)
{
	int i;
	__u16 val;
	for (i = 0; i < len; i++) {
		val = *src;
		SSVAL(dst, 0, val);
		dst++;
		src++;
		if (val == 0)
			break;
	}
	return i;
}