mirror of https://github.com/tongzx/nt5src
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
614 B
26 lines
614 B
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1998
|
|
//
|
|
// File: serover.hxx
|
|
//
|
|
// Contents: Overflow handler for serialization and deserialization
|
|
//
|
|
// History: 7-Jan-98 dlee Created
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
inline void HANDLE_OVERFLOW( BOOL fOverflow )
|
|
{
|
|
// did marshalling/unmarshalling a property walk off a buffer?
|
|
|
|
Win4Assert( !fOverflow );
|
|
|
|
if ( fOverflow )
|
|
THROW( CException( E_ABORT ) );
|
|
}
|
|
|
|
|