- Timestamp:
- Apr 3, 2000, 12:07:35 AM (25 years ago)
- Location:
- trunk/src/ole32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ole32/clsid.cpp
r3170 r3309 1 /* $Id: clsid.cpp,v 1.1 1 2000-03-19 22:32:12davidr Exp $ */1 /* $Id: clsid.cpp,v 1.12 2000-04-02 22:07:34 davidr Exp $ */ 2 2 /* 3 3 * … … 10 10 * 1/7/99 11 11 * 12 * Copyright 1999 David J. Raison12 * Copyright 2000 David J. Raison 13 13 * 14 14 * Some portions from Wine Implementation 15 * 15 16 * Copyright 1995 Martin von Loewis 16 * Copyright1998 Justin Bradford17 * Copyright1999 Francis Beaudet18 * Copyright1999 Sylvain St-Germain17 * 1998 Justin Bradford 18 * 1999 Francis Beaudet 19 * 1999 Sylvain St-Germain 19 20 */ 20 21 21 22 #include "ole32.h" 23 #include "rpcdce.h" 22 24 23 25 #include "oString.h" 26 27 28 // ---------------------------------------------------------------------- 29 // CoCreateGuid [OLE32.6] 30 // 31 // Creates a 128bit GUID. 32 // ---------------------------------------------------------------------- 33 HRESULT WINAPI CoCreateGuid( 34 GUID * pguid) /* [out] points to the GUID to initialize */ 35 { 36 HRESULT hr; 37 38 dprintf(("OLE32: CoCreateGuid")); 39 40 hr = UuidCreate(pguid); 41 42 #if defined(DEBUG) 43 oStringA tGUID(pguid); 44 dprintf((" guid = %s", (char *)tGUID)); 45 #endif 46 return hr; 47 } 24 48 25 49 // ---------------------------------------------------------------------- … … 202 226 203 227 return CLSIDFromString16(tClsId, pclsid); 204 }205 206 // ----------------------------------------------------------------------207 // CoCreateGuid()208 // ----------------------------------------------------------------------209 HRESULT WIN32API CoCreateGuid(GUID *pguid)210 {211 dprintf(("OLE32: CoCreateGuid"));212 memset(pguid, 0, sizeof(GUID)); //TODO: should be random GUID213 return S_OK;214 228 } 215 229 -
trunk/src/ole32/makefile
r3175 r3309 1 # $Id: makefile,v 1.2 3 2000-03-21 00:28:58davidr Exp $1 # $Id: makefile,v 1.24 2000-04-02 22:07:34 davidr Exp $ 2 2 3 3 # … … 86 86 /MAP:$(OBJDIR)\$(TARGET).map 87 87 $(OBJS) 88 $(PDWIN32_LIB)/rpcrt4.lib 88 89 $(PDWIN32_LIB)/user32.lib 89 90 $(PDWIN32_LIB)/gdi32.lib … … 119 120 # Dep rule - makes depenencies for C, C++ and Asm files. 120 121 dep: 121 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \122 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win;. \ 122 123 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 123 124 -
trunk/src/ole32/ole32.def
r3167 r3309 1 1 ;Created by BLAST for IBM's compiler 2 2 LIBRARY OLE32OS2 INITINSTANCE 3 DESCRIPTION 'OLE for ODIN' 3 4 DATA MULTIPLE NONSHARED 4 5 -
trunk/src/ole32/ole32exp.def
r3167 r3309 1 1 ;Internal export definition file - autogenerated by ImpDef. 2 2 LIBRARY OLE32OS2 INITINSTANCE 3 DESCRIPTION 'OLE for ODIN' 3 4 EXPORTS 4 5 _BindMoniker@16 @1
Note:
See TracChangeset
for help on using the changeset viewer.