Windows NT 4.0 source code leak
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.
 
 
 
 
 
 

68 lines
1.1 KiB

//----------------------------------------------------------------------------
//
// File: Detect.hpp
//
// Contents: This file contains the interface to detection routines
// that are wrapped in the NetCardDetect Class.
//
// Entry Points:
//
// Notes:
//
// History:
// Sept. 1, 1995 MikeMi - Created
//
//
//----------------------------------------------------------------------------
#ifndef __DETECT_HPP__
#define __DETECT_HPP__
class NetCardDetect
{
public:
NetCardDetect()
{
_fFirst = TRUE;
};
~NetCardDetect()
{
};
BOOL Initialize( PCWSTR pszSysPath );
APIERR StartService();
BOOL Start()
{
return( 0 == RunDetectStart());
};
BOOL Stop()
{
return( 0 == RunDetectEnd());
};
BOOL Reset()
{
return( 0 == RunDetectReset());
};
void UseFoundCard()
{
// _fFirst = FALSE;
};
APIERR Detect( CARD_REFERENCE*& pCard, INT& iCard )
{
return( RunDetectCardEx( pCard, iCard, _fFirst) );
};
BOOL ThreadedDetect( HWND hwndNotify, UINT umsg );
private:
BOOL _fFirst;
};
#endif