/*@P************************************************************************
 * File           : EVCHKP.C
 * Project        : EVERLOCK EVCHK3.OBJ PharLap 286|DOS Extender DLL
 * Compiler       : Borland C++ v4.52
 * Description    : This is a PharLap 286|DOS Extender Real-Mode DLL that
 *                  is used to wrap around the EVCHK.OBJ module.  This DLL
 *                  is called by 286|DOS Extender programs to check for
 *                  the presence of a valid lock.
 *
 * Copyright (c) 1993-95 Az-Tech Software, Inc.
 * ALL RIGHTS RESERVED
 ************************************************************************P@*/

#include <stdio.h>
#include <phapi.h>
#include "sb.h"
#include "evchkp.h"

/***************************************************************************
 * Private Function Prototypes
 ***************************************************************************/
short __far __pascal evchk3( SB __far *lpSB );

/***************************************************************************
 * Stop those annoying linker error messages.
 ***************************************************************************/
int main( void )
{
    return 0;
}

/***************************************************************************
 * This function actually performs the protection check.  It accepts a
 * filled in SB from the caller and fills it in with the results of the
 * protection check.
 *
 * NOTE: Because the C Runtime Startup code has never been executed we can
 * not run most standard library functions.  Those that are intrinsic,
 * however, are useable.
 ***************************************************************************/
short EXTAPI evchkp( SB __far *lpSB )
{
   // just return the results of the evchk function
   return evchk3( lpSB );
}
