Lines Matching refs:pszANSIString
43 LPSTR pszANSIString; in DdeCreateStringHandleW_9x() local
47 pszANSIString = nSize ? (LPSTR)HeapAlloc( GetProcessHeap(), 0, nSize * sizeof(CHAR) ) : NULL; in DdeCreateStringHandleW_9x()
49 if ( pszANSIString ) in DdeCreateStringHandleW_9x()
50 WideCharToMultiByte( CP_ACP, 0, pszString, -1, pszANSIString, nSize, NULL, NULL ); in DdeCreateStringHandleW_9x()
52 hszResult = DdeCreateStringHandleA( idInst, pszANSIString, CP_WINANSI ); in DdeCreateStringHandleW_9x()
54 if ( pszANSIString ) in DdeCreateStringHandleW_9x()
55 HeapFree( GetProcessHeap(), 0, pszANSIString ); in DdeCreateStringHandleW_9x()
65 LPSTR pszANSIString; in DdeQueryStringW_9x() local
67 pszANSIString = cchMax ? (LPSTR)HeapAlloc( GetProcessHeap(), 0, cchMax * sizeof(CHAR) ) : NULL; in DdeQueryStringW_9x()
69 dwResult = DdeQueryStringA( idInst, hsz, pszANSIString, cchMax, CP_WINANSI ); in DdeQueryStringW_9x()
71 if ( dwResult && pszANSIString ) in DdeQueryStringW_9x()
72 MultiByteToWideChar( CP_ACP, 0, pszANSIString, -1, pszString, cchMax ); in DdeQueryStringW_9x()
74 if ( pszANSIString ) in DdeQueryStringW_9x()
75 HeapFree( GetProcessHeap(), 0, pszANSIString ); in DdeQueryStringW_9x()