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.

35 lines
1.5 KiB

  1. //
  2. // Microsoft Corporation - Copyright 1997
  3. //
  4. //
  5. // REFLECTR.H -
  6. //
  7. #ifndef _REFLECTR_H_
  8. #define _REFLECTR_H_
  9. #define LPECB LPEXTENSION_CONTROL_BLOCK
  10. #define GetServerVariable( _hconn, _lpstr, _lpvoid, _lpdword ) \
  11. (lpEcb->GetServerVariable)( _hconn, _lpstr, _lpvoid, _lpdword ); \
  12. TraceMsg( TF_SERVER, "GetServerVariable( Connid=0x%x lpszVarName='%s' lpBuf=0x%x lpdwSize=0x%x )", \
  13. _hconn, _lpstr, _lpvoid, _lpdword )
  14. #define WriteClient( _hconn, _lpvoid, _lpdword, _dw ) \
  15. (lpEcb->WriteClient)( _hconn, _lpvoid, _lpdword, _dw ); \
  16. TraceMsg( TF_SERVER, "WriteClient( Connid=0x%x lpBuf=0x%x lpdwSize=0x%x dwResv=0x%x )", \
  17. _hconn, _lpvoid, _lpdword, _dw )
  18. #define ReadClient( _hconn, _lpvoid, _lpdword ) \
  19. (lpEcb->ReadClient)( _hconn, _lpvoid, _lpdword ); \
  20. TraceMsg( TF_SERVER, "ReadClient( Connid=0x%x lpBuf=0x%x lpdwSize=0x%x )", \
  21. _hconn, _lpvoid, _lpdword )
  22. #define ServerSupportFunction( _hconn, _dw, _lpvoid, _lpdword, _lpdword2 ) \
  23. (lpEcb->ServerSupportFunction)( _hconn, _dw, _lpvoid, _lpdword, _lpdword2 ); \
  24. TraceMsg( TF_SERVER, "ServerSupportFunction( Connid=%x dwService=0x%x lpBuf=0x%x lpdwSize=0x%x lpdwDataType=0x%x )", \
  25. _hconn, _dw, _lpvoid, _lpdword, _lpdword2 )
  26. #endif // _REFLECTR_H_