Changeset 10492 for trunk/src


Ignore:
Timestamp:
Feb 27, 2004, 9:15:46 PM (22 years ago)
Author:
sandervl
Message:

Removed all OS/2 Netbios dependencies

Location:
trunk/src/wnetap32
Files:
1 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wnetap32/makefile

    r8052 r10492  
    1 # $Id: makefile,v 1.20 2002-03-08 11:37:10 sandervl Exp $
     1# $Id: makefile,v 1.21 2004-02-27 20:15:44 sandervl Exp $
    22
    33#
     
    3030$(OBJDIR)\mem.obj \
    3131$(OBJDIR)\errorlog.obj \
    32 $(OBJDIR)\oslibnet.obj \
     32##$(OBJDIR)\oslibnet.obj \
    3333$(OBJDIR)\netapi32rsrc.obj \
    3434$(DLLENTRY)
     
    4242$(ODIN32_LIB)/user32.lib \
    4343$(ODIN32_LIB)/$(ODINCRT).lib \
    44 netapi32.lib \
     44##netapi32.lib \
    4545OS2386.LIB \
    4646$(RTLLIB_O)
     
    5050# Target and original target names - names of the dll without extension and path
    5151#
    52 # @@@PH TARGET      = wnetap32
    53 # @@@PH ORGTARGET   = netapi32
    5452TARGET      = wnetap32
     53ORGTARGET   = netapi32
     54
     55
    5556
    5657#
  • trunk/src/wnetap32/server.cpp

    r6674 r10492  
    1 /* $Id: server.cpp,v 1.3 2001-09-06 23:14:53 phaller Exp $ */
     1/* $Id: server.cpp,v 1.4 2004-02-27 20:15:44 sandervl Exp $ */
    22
    33/*
     
    182182
    183183{
     184#ifndef NETBIOS_ENABLED
     185  return NERR_BASE;
     186#else
    184187  // convert information modes!
    185188  ULONG ulOS2Level = dwLevel;     // can be 100 and 101
     
    399402 
    400403  return (rc);
     404#endif
    401405}
    402406
  • trunk/src/wnetap32/wksta.cpp

    r6672 r10492  
    1 /* $Id: wksta.cpp,v 1.1 2001-09-06 22:23:41 phaller Exp $ */
     1/* $Id: wksta.cpp,v 1.2 2004-02-27 20:15:45 sandervl Exp $ */
    22
    33/*
     
    6565
    6666{
     67#ifndef NETBIOS_ENABLED
     68  return NERR_BASE;
     69#else
    6770  dprintf(("NETAPI32: NetWkstaGetInfo(%s, %d, %08x)\n"
    6871           ,servername, level, *bufptr
     
    261264  // @@@PH convert return code to NT code
    262265  return (rc);
     266#endif
    263267}
    264268
  • trunk/src/wnetap32/wnetap32.cpp

    r8052 r10492  
    1 /* $Id: wnetap32.cpp,v 1.17 2002-03-08 11:37:10 sandervl Exp $ */
     1/* $Id: wnetap32.cpp,v 1.18 2004-02-27 20:15:45 sandervl Exp $ */
    22
    33/*
     
    14271427                                                 LPBYTE*, bufptr)
    14281428{
     1429#ifndef NETBIOS_ENABLED
     1430  dprintf(("NetStatisticsGet not implemented!"));
     1431  return (NERR_BASE);
     1432#else
    14291433  // Note: as we use the static addresses of the strings
    14301434  // for a faster comparsion, the compiler may NOT
     
    15971601 
    15981602  return (rc);
    1599 }
    1600 
    1601 
     1603#endif
     1604}
     1605
     1606
Note: See TracChangeset for help on using the changeset viewer.