windows-nt/Source/XPSP1/NT/com/oleutest/memalloc/signal.hxx

40 lines
647 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1993.
//
// File: signal.hxx
//
// Contents: Signal class delcrations
//
// Classes: CSignal
//
// Functions:
//
// History: 29-Sep-93 CarlH Created
//
//--------------------------------------------------------------------------
#ifndef SIGNAL_HXX
#define SIGNAL_HXX
class CSignal
{
public:
CSignal(WCHAR const *pwszName);
~CSignal(void);
DWORD Wait(DWORD dwTimeout = INFINITE);
DWORD Signal(void);
private:
WCHAR *_pwszName;
HANDLE _hevent;
};
#endif