Windows2003-3790/drivers/sac/driver/cmdchan.h
2020-09-30 16:53:55 +02:00

72 lines
1.1 KiB
C
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
Copyright (c) 1999-2001 Microsoft Corporation
Module Name:
cmdchan.h
Abstract:
Routines for managing Cmd channels.
Author:
Brian Guarraci (briangu) March, 2001.
Revision History:
--*/
#ifndef CMD_CHAN_H
#define CMD_CHAN_H
//
// The size of the I/O Buffers for cmd channels
//
#define SAC_CMD_IBUFFER_SIZE ((MEMORY_INCREMENT*2) / sizeof(UCHAR))
//
// prototypes
//
NTSTATUS
CmdChannelCreate(
IN OUT PSAC_CHANNEL Channel
);
NTSTATUS
CmdChannelDestroy(
IN OUT PSAC_CHANNEL Channel
);
NTSTATUS
CmdChannelOEcho(
IN PSAC_CHANNEL Channel,
IN PCUCHAR Buffer,
IN ULONG BufferSize
);
NTSTATUS
CmdChannelOWrite(
IN PSAC_CHANNEL Channel,
IN PCUCHAR Buffer,
IN ULONG BufferSize
);
NTSTATUS
CmdChannelOFlush(
IN PSAC_CHANNEL Channel
);
NTSTATUS
CmdChannelORead(
IN PSAC_CHANNEL Channel,
IN PUCHAR Buffer,
IN ULONG BufferSize,
OUT PULONG ByteCount
);
#endif