You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
824 B
29 lines
824 B
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: WinIo_9x.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of WinIo_9x.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef WINIO9X_H
|
|
#define WINIO9X_H
|
|
|
|
#define WINIO_WRITEPORT CTL_CODE(FILE_DEVICE_UNKNOWN, 1, METHOD_NEITHER, FILE_ANY_ACCESS)
|
|
#define WINIO_READPORT CTL_CODE(FILE_DEVICE_UNKNOWN, 2, METHOD_NEITHER, FILE_ANY_ACCESS)
|
|
|
|
#pragma pack(1)
|
|
|
|
struct tagPort32Struct
|
|
{
|
|
unsigned short wPortAddr;
|
|
unsigned int dwPortVal;
|
|
unsigned char bSize;
|
|
};
|
|
|
|
#endif
|