/********************************************************************
*   mfsHandleToMacHandle.c
*
* "@(#)mfsHandleToMacHandle.c	1.2 :/users/sccs/src/win/library/mac/s.mfsHandleToMacHandle.c 4/21/97 12:58:50" 
*
*   Copyright (c) 1997, Willows Software Inc.  All rights reserved.
********************************************************************/

#include "windows.h"

#include "fat_tools.h"
#include "mfs_config.h"

extern CONFIG xdos;

int mfsHandleToMacHandle(int);

/********************************************************************
* mfsHandleToMacHandle
*
*	This returns a Mac handle to a file when given the mfs equivalent.
*	This will let us call fstat for files which were _lopened or fopened.
********************************************************************/
int mfsHandleToMacHandle(int therefnum)
{
	return (xdos.fileptr[therefnum]->fs->_Handle);
}
