winebus.sys: Remove the no longer used CFStringToWSTR function.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
aff08c7e14
commit
80a57c617b
|
@ -132,13 +132,6 @@ static struct platform_private *find_device_from_iohid(IOHIDDeviceRef IOHIDDevic
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static void CFStringToWSTR(CFStringRef cstr, LPWSTR wstr, int length)
|
||||
{
|
||||
int len = min(CFStringGetLength(cstr), length-1);
|
||||
CFStringGetCharacters(cstr, CFRangeMake(0, len), (UniChar*)wstr);
|
||||
wstr[len] = 0;
|
||||
}
|
||||
|
||||
static DWORD CFNumberToDWORD(CFNumberRef num)
|
||||
{
|
||||
int dwNum = 0;
|
||||
|
|
Loading…
Reference in New Issue