Changeset 993 for trunk/src


Ignore:
Timestamp:
Sep 20, 1999, 10:38:20 PM (26 years ago)
Author:
davidr
Message:

Added AntiMoniker.cpp
Updated regsvr32.cpp to use new RegisterLxExe fn.

Location:
trunk/src/ole32
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ole32/makefile

    r851 r993  
    2222OBJS =  ole32.obj \
    2323        moniker.obj \
     24        antimoniker.obj \
    2425        initterm.obj \
    2526        oString.obj \
  • trunk/src/ole32/ole32.def

    r869 r993  
    1818    CoCreateGuid               = _CoCreateGuid@4             @6
    1919    CoCreateInstance           = _CoCreateInstance@20        @7
    20     CoCreateInstanceEx         = _CoCreateInstanceEx@24
     20    CoCreateInstanceEx         = _CoCreateInstanceEx@24      @9999
    2121    CoDisconnectObject         = _CoDisconnectObject@8       @8
    2222    CoDosDateTimeToFileTime    = _CoDosDateTimeToFileTime@12 @9
     
    3737    CoGetState                 = _CoGetState@0               @24
    3838    CoGetTreatAsClass          = _CoGetTreatAsClass@8        @25
    39     CoInitializeEx             = _CoInitializeEx@8
     39    CoInitializeEx             = _CoInitializeEx@8           @9998
    4040    CoInitialize               = _CoInitialize@4             @26
    4141    CoInitializeWOW            = _CoInitializeWOW@0          @27
  • trunk/src/ole32/ole32exp.def

    r869 r993  
    99    _CoCreateGuid@4                           @6
    1010    _CoCreateInstance@20                      @7
     11    _CoCreateInstanceEx@24                    @9999
    1112    _CoDisconnectObject@8                     @8
    1213    _CoDosDateTimeToFileTime@12               @9
     
    2728    _CoGetState@0                             @24
    2829    _CoGetTreatAsClass@8                      @25
     30    _CoInitializeEx@8                         @9998
    2931    _CoInitialize@4                           @26
    3032    _CoInitializeWOW@0                        @27
  • trunk/src/ole32/regsvr32.cpp

    r872 r993  
    1 /* $Id: regsvr32.cpp,v 1.2 1999-09-08 11:29:28 davidr Exp $ */
     1/* $Id: regsvr32.cpp,v 1.3 1999-09-20 20:38:20 davidr Exp $ */
    22/*
    33 *
     
    1414 */
    1515
    16 #include "ole32.h"
     16#include <windows.h>
     17#include <odinlx.h>
    1718#include <stdarg.h>
     19#include <stdio.h>
     20#include <string.h>
    1821#include <ctype.h>
     22
    1923
    2024// ======================================================================
     
    4246static  HRESULT report_err(HRESULT hr, char * fmt, ...);
    4347static  HRESULT usage(char * fmt, ...);
     48static int WIN32API EntryPoint(HINSTANCE hInstance, HINSTANCE hPrevInstance,
     49                    LPSTR lpCmdLine, int nCmdShow);
    4450
    4551// ======================================================================
    4652// Public API's
    4753// ======================================================================
    48 extern int main(int argc, char * argv[])
    49 {
     54
     55// ----------------------------------------------------------------------
     56// main
     57// ----------------------------------------------------------------------
     58int main(int argc, char *argv[])
     59{
     60    RegisterLxExe(EntryPoint, NULL);
     61
    5062    HRESULT     hr;
    5163
     
    7688// Private functions.
    7789// ======================================================================
     90
     91// ----------------------------------------------------------------------
     92// EntryPoint
     93// ----------------------------------------------------------------------
     94static int WIN32API EntryPoint
     95   (HINSTANCE   hInstance,
     96    HINSTANCE   hPrevInstance,
     97    LPSTR       lpCmdLine,
     98    int         nCmdShow)
     99{
     100    return S_OK;
     101}
    78102
    79103// ----------------------------------------------------------------------
  • trunk/src/ole32/stubs.cpp

    r872 r993  
    1 /* $Id: stubs.cpp,v 1.7 1999-09-08 11:29:28 davidr Exp $ */
     1/* $Id: stubs.cpp,v 1.8 1999-09-20 20:38:20 davidr Exp $ */
    22/*
    33 * Win32 COM/OLE stubs for OS/2
     
    222222//*******************************************************************************
    223223//*******************************************************************************
    224 HRESULT WIN32API CreateAntiMoniker(LPMONIKER *ppmk)
    225 {
    226     dprintf(("OLE32: CreateAntiMoniker - stub"));
    227     return E_OUTOFMEMORY;
    228 }
    229 //*******************************************************************************
    230 //*******************************************************************************
    231224HRESULT WIN32API CreateBindCtx(DWORD reserved, LPBC *ppbc)
    232225{
Note: See TracChangeset for help on using the changeset viewer.