This seems like a pretty softball question, but I always have a hard time looking up this function because there seem there are so many variations regarding the referencing
You can put condition in your code
ifdef _UNICODE
{ //DO LIKE TCHAR IS WIDE CHAR } ELSE { //DO LIKE TCHAR IS CHAR }