/*static char *SCCSID = "@(#)fs_fset.c	6.3 91/12/17";*/
#define SCCSID "@(#)fs_fset.c	6.3 91/12/17"
/*
 *      IBM/Microsoft Confidential
 *
 *      Copyright (c) IBM Corporation 1987, 1989
 *      Copyright (c) Microsoft Corporation 1987, 1989
 *
 *      All Rights Reserved
 *
 */

/*
 ***    FS_FILELOCKS - locks and/or unlocks bytes in a requested file
 *
 *      This routine provides byte level locking and unlocking for files
 *
 *      ENTRY   pcdfsi = ptr to file-independent current dir information
 *              pcdfsd = ptr to file-dependent current dir information
 *              pUnLockRange = pointer to structure indicating bytes of a file
 *                 to be unlocked
 *              pLockRange = pointer to structure indicating bytes of a file
 *                 to be locked
 *    pEventSemHandle = pointer to event semaphore to be cleared when
 *                      requested bytes of a file are locked
 *    flags = specifies the type of access other files may have to the
 *            file range being locked
 *    pPostCt = pointer to return the number of posts that were sent
 *              when the semaphore was released
 *
 *      RETURNS NO_ERROR if successful, else error code
 *
 *  REVISION HISTORY (in reverse chronological order)
 *  --------------------------------------------------------------------------
 *   1/21/91     Greg Simco       Added call to CDFS
 *
 *
 * TO DO
 * --------------------------------------------------------------------------
 *
 */


#define INCL_DOSERRORS
#define INCL_NOPMAPI
#include <os2.h>
#include <fsd.h>

#include "cdfs.h"
#include "sem.h"
#include "path.h"
#include "vol.h"
#include "file.h"
#include "buffer.h"
#include "mem.h"
#include "heap.h"
#include "pr_memin.h"

#ifdef DEBUG
#include "pr_DEBUG.h"
#endif



int far pascal
FS_FILELOCKS(
    struct sffsi far *  psffsi,
    struct sffsd far *  psffsd,
    void far *       pUnLockRange,
    void far *       pLockRange,
    unsigned long    timeout,
    unsigned long    flags)
{


        return (ERROR_NOT_SUPPORTED);

       /* defeat compiler warnings */
       /* psffsi; psffsd; pUnLockRange; pLockRange; pEventSemHandle; flags; pPostCt;*/


}   /* end FS_FILELOCKS */

/* end of fs_fset.c */
