- Timestamp:
- Sep 8, 1999, 12:34:32 PM (26 years ago)
- Location:
- trunk/src/ole32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ole32/clsid.cpp
r856 r869 63 63 return CLSIDFromString((LPCOLESTR)lpsz, (LPCLSID)lpiid); 64 64 } 65 66 67 // ---------------------------------------------------------------------- 68 // CLSIDFromStringA() 69 // @@@PH: this is not a WINE API, but a replacement for CLSIDFromString16 70 // which used to accept ASCII strings instead of OLE strings 71 // ---------------------------------------------------------------------- 72 73 // missing prototype 74 LPWSTR WIN32API HEAP_strdupAtoW( HANDLE heap, DWORD flags, LPCSTR str ); 75 76 HRESULT WIN32API CLSIDFromStringA( 77 LPSTR lpsz, // [in] - ASCII string CLSID 78 LPCLSID pclsid) // [out] - Binary CLSID 79 { 80 LPWSTR lpszOle = HEAP_strdupAtoW(GetProcessHeap(), 81 0, 82 lpsz); 83 HRESULT hRes; 84 85 dprintf(("OLE32: CLSIDFromStringA")); 86 87 hRes = CLSIDFromString(lpszOle, pclsid); 88 HeapFree(GetProcessHeap(), 0, lpszOle); 89 return hRes; 90 } 91 65 92 66 93 // ---------------------------------------------------------------------- -
trunk/src/ole32/ole32.def
r856 r869 183 183 ; 184 184 WINE_StringFromCLSID = _WINE_StringFromCLSID@8 @1000 185 CLSIDFromStringA = _CLSIDFromStringA@8 @1001 185 186 -
trunk/src/ole32/ole32exp.def
r856 r869 165 165 _WriteStringStream@0 @162 166 166 _WINE_StringFromCLSID@8 @1000 167 _CLSIDFromStringA@8 @1001
Note:
See TracChangeset
for help on using the changeset viewer.