Leaked source code of windows server 2003
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.
 
 
 
 
 
 

50 lines
1.8 KiB

/*==========================================================================
*
* Copyright (C) 1996-2000 Microsoft Corporation. All Rights Reserved.
*
* File: CRC.h
* Content: CRC Routines for COM port I/O
*@@BEGIN_MSINTERNAL
* History:
* Date By Reason
* ==== == ======
* 12/18/98 johnkan Copied from DPlay 6.x and fixed up
*@@END_MSINTERNAL
***************************************************************************/
#ifndef __CRC_H__
#define __CRC_H__
//**********************************************************************
// Constant definitions
//**********************************************************************
//**********************************************************************
// Macro definitions
//**********************************************************************
//**********************************************************************
// Structure definitions
//**********************************************************************
//**********************************************************************
// Variable definitions
//**********************************************************************
//**********************************************************************
// Function prototypes
//**********************************************************************
//**********************************************************************
// Function definitions
//**********************************************************************
//void GenerateCRCTable( void );
DWORD GenerateCRC( const BYTE *const pBuffer, const DWORD dwBufferSize );
DWORD GenerateMultiBufferCRC( const BUFFERDESC *const pBuffers, const DWORD dwBufferCount );
#ifdef DBG
void ValidateCRCTable( void );
#endif // DBG
#endif // __CRC_H__