I have a wchar_t *
that I need to use on a function that needs a CFStringref
I tried using CFStringCreateWithCharacters
but I'm not getting anywhere with it.
So, if I have:
wchar_t * widecharvar = L"some value";
CFStringRef stringref;
How do I convert and copy widecharvar
to stringref
? This value will be used in SecRequirementCreateWithString()
Thanks