File:  [WindowsNT SDKs] / ntddk / src / scsi / qic117 / chkdrv.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:31:12 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntddk-nov-1993, HEAD
Microsoft Windows NT Build 511 (DDK SDK) 11-01-1993

/*++

Copyright (c) 1993 - Colorado Memory Systems, Inc.
All Rights Reserved

Module Name:

    chkdrv.c

Abstract:

    Sends a low-level command to search for the drive,  and perform
    configuration.

Revision History:




--*/

//
// include files
//

#include <ntddk.h>
#include <ntddtape.h>
#include "common.h"
#include "q117.h"
#include "protos.h"


STATUS
q117CheckDrive(
    IN PQ117_CONTEXT Context
    )

/*++

Routine Description:

    Checks the drive.

Arguments:

    Context - what to check drive for.

Return Value:

    function value - ioreq.status or TooNoisy

--*/

{
    IO_REQUEST ioreq;
    STATUS stat;

    //
    // Find the drive
    //

    stat = q117DoCmd(&ioreq, DFndDrv, NULL, Context);

    if (stat == NewCart) {

        stat = NoErr;

    }

    return(stat);
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.