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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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// ----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.