search for: pcwstr

Displaying 1 result from an estimated 1 matches for "pcwstr".

Did you mean: lpcwstr
2001 Nov 22
1
Getting Registry info and using it ????
....This is the way I am doing it.. **************************************************************************** **************************** LPCTSTR lpSubKey = (LPCTSTR)"SOFTWARE\\Classes\\FirewallApplication"; HKEY hKey; char szFullPath[200]; DWORD dwBufLen; //const unsigned short * temp; PCWSTR temp; HRESULT hRes; RegOpenKeyEx(HKEY_LOCAL_MACHINE, (LPCTSTR)lpSubKey, 0, KEY_QUERY_VALUE, &hKey ); /*the value of szFullPath is the correct value it shows while debugging*/ RegQueryValueEx(hKey, (LPCTSTR)"FullPath", NULL, NULL,(LPBYTE) &szFull...