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.
 
 
 
 
 
 

39 lines
942 B

/*
*
* NOTES:
*
* REVISIONS:
* xxxddMMMyy
* tjg02Mar98: Override the DeepGetWithoutUpdate method that was recently
* added to sensor class
*
*/
#ifndef __UNSSENS_H
#define __UNSSENS_H
#include "sensor.h"
#include "err.h"
_CLASSDEF(UnsupportedSensor)
#define UNSUPPORTED_SENSOR -1
class UnsupportedSensor : public Sensor {
public:
UnsupportedSensor() : Sensor((PDevice)0,(PCommController)0,UNSUPPORTED_SENSOR){};
virtual INT IsA() const {return UNSUPPORTEDSENSOR;};
virtual INT Get(PCHAR aValue) {return ErrUNSUPPORTED;};
virtual INT DeepGet(PCHAR aValue) {return ErrUNSUPPORTED;};
virtual INT DeepGet(INT aCode, PCHAR aValue) {return ErrUNSUPPORTED;};
virtual INT DeepGetWithoutUpdate(PCHAR aValue) {return ErrUNSUPPORTED;};
virtual INT Set(const PCHAR aValue) {return ErrUNSUPPORTED;};
};
extern UnsupportedSensor _theUnsupportedSensor;
#endif