Ignore:
Timestamp:
Sep 2, 1999, 2:43:42 AM (26 years ago)
Author:
davidr
Message:

Added IUnknown & library handling.
Removed stubs accordingly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ole32/stubs.cpp

    r633 r784  
    3030}
    3131//*******************************************************************************
    32 //Frees all libs loaded with CoLoadLibrary
    33 //*******************************************************************************
    34 void WIN32API CoFreeAllLibraries()
    35 {
    36     dprintf(("OLE32: CoFreeAllLibraries - stub"));
    37     return ;
    38 }
    39 //*******************************************************************************
    40 //*******************************************************************************
    41 void WIN32API CoFreeLibrary(HINSTANCE hInst)
    42 {
    43     dprintf(("OLE32: CoFreeLibrary"));
    44    FreeLibrary(hInst);
    45 }
    46 //*******************************************************************************
    47 //*******************************************************************************
    48 void WIN32API CoFreeUnusedLibraries()
    49 {
    50     dprintf(("OLE32: CoFreeUnusedLibraries - stub"));
    51     return ;
    52 }
    53 //*******************************************************************************
    5432//*******************************************************************************
    5533HRESULT WIN32API CoGetCallerTID()
     
    142120//*******************************************************************************
    143121//*******************************************************************************
    144 HINSTANCE WIN32API CoLoadLibrary(LPSTR lpszLibName, BOOL bAutoFree)
    145 {
    146     dprintf(("OLE32: CoLoadLibrary"));
    147     return LoadLibraryA(lpszLibName);
    148 }
    149 //*******************************************************************************
    150 //*******************************************************************************
    151 HRESULT WIN32API CoLockObjectExternal(IUnknown *pUnk, BOOL fLock, BOOL fLastUnlockReleases)
    152 {
    153     dprintf(("OLE32: CoLockObjectExternal - stub"));
    154     return E_OUTOFMEMORY;
    155 }
    156 //*******************************************************************************
    157 //*******************************************************************************
    158122HRESULT WIN32API CoMarshalHresult(IStream *pStm, HRESULT hresult)
    159123{
     
    188152//*******************************************************************************
    189153//*******************************************************************************
    190 HRESULT WIN32API CoRegisterClassObject(REFCLSID rclsid, IUnknown *pUnk,
    191                                           DWORD dwClsContext, DWORD flags,
    192                                           LPDWORD lpdwRegister)
    193 {
    194     dprintf(("OLE32: CoRegisterClassObject - stub"));
    195     return E_OUTOFMEMORY;
    196 }
    197 //*******************************************************************************
    198 //*******************************************************************************
    199154HRESULT WIN32API CoRegisterMallocSpy(LPMALLOCSPY pMallocSpy)
    200155{
     
    215170{
    216171    dprintf(("OLE32: CoReleaseMarshalData - stub"));
    217     return E_OUTOFMEMORY;
    218 }
    219 //*******************************************************************************
    220 //*******************************************************************************
    221 HRESULT WIN32API CoRevokeClassObject(DWORD dwRegister)
    222 {
    223     dprintf(("OLE32: CoRevokeClassObject - stub"));
    224172    return E_OUTOFMEMORY;
    225173}
Note: See TracChangeset for help on using the changeset viewer.