Windows2003-3790/windows/advcore/duser/engine/services/ticketmanager.inl
2020-09-30 16:53:55 +02:00

32 lines
874 B
C++

/***************************************************************************\
*
* File: TicketManager.inl
*
* History:
* 9/20/2000: DwayneN: Created
*
* Copyright (C) 2000 by Microsoft Corporation. All rights reserved.
*
\***************************************************************************/
#if !defined(SERVICES__TicketManager_inl__INCLUDED)
#define SERVICES__TicketManager_inl__INCLUDED
#pragma once
//------------------------------------------------------------------------------
DuTicket &
DuTicket::CastFromDWORD(
DWORD & dw)
{
return *(reinterpret_cast<DuTicket*>(&dw));
}
//------------------------------------------------------------------------------
DWORD &
DuTicket::CastToDWORD(
DuTicket & ticket)
{
return *(reinterpret_cast<DWORD*>(&ticket));
}
#endif // SERVICES__TicketManager_inl__INCLUDED