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.

26 lines
640 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1998
  5. //
  6. // File: serover.hxx
  7. //
  8. // Contents: Overflow handler for serialization and deserialization
  9. //
  10. // History: 7-Jan-98 dlee Created
  11. //
  12. //--------------------------------------------------------------------------
  13. #pragma once
  14. inline void HANDLE_OVERFLOW( BOOL fOverflow )
  15. {
  16. // did marshalling/unmarshalling a property walk off a buffer?
  17. Win4Assert( !fOverflow );
  18. if ( fOverflow )
  19. THROW( CException( E_ABORT ) );
  20. }