
    NT Native API File I/O Example
    ------------------------------
    
17 July 1996    
OSR Open Systems Resources, Inc.
ntinsider@osr.com


Purpose
-------
The files in this zip archive are designed to accompany and serve
as an example for the article "Going Native", appearing in the
July 1996 (V3N3) issue of The NT Insider.  The NT Insider is
copyrighted and published by OSR Open Systems Resources, Inc.


Contents
--------

Only four files:

    native.c        Example source code
    native.h        API definitions for example
    MAKEFILE        Input to NMAKE
    readme.txt      This file


Building
--------
Unzip it into a directory.  Compile and build from the command
line using NMAKE.  Th NT DDK (for ntddk.h) needs to have been
installed, and the environment variable BASEDIR set up pointing
to the DDK base directory.  Tested with MS VC++ V4.1.


Running
-------
Run it:

    >native

The sample creates the file "native.txt" in the directory
C:\TEMP.  If a file "native.txt" already exists in that
directory, it is superseded.


PLEASE READ THIS!
CONDITIONS UNDER WHICH THIS MATERIAL IS MADE AVAILABLE
------------------------------------------------------
These conditions are binding on any user of these materials.

OSR Open Systems Resources, Inc. (OSR) expressly disclaims any warranty
for the accompanying software (material).  This material is presented
"as is" without warranty of any kind, either express or implied, including,
without limitation, the implied warranties of mechantability or fitness for
a particular purpose.  The entire risk arising from the use of this material
remains with you.  OSRs entire liability and your exclusive remedy shall
not exceed the price paid for this material.  In no event shall OSR or its
suppliers be liable for any damages whatsoever (including, without
limitation, damages for loss of business profit, business interruption,
loss of business information, or any other pecuniary loss) arising out of
the use or inability to use this information, even if OSR has been advised
of the possibility of such damages.  Because some states/jurisdictions do
not allow the exclusion or limitation of liability for consequential or
incidental damages, the above limitation may not apply to you.

