windows-nt/Source/XPSP1/NT/com/oleutest/memalloc/signal.hxx
2020-09-26 16:20:57 +08:00

40 lines
647 B
C++

//+-------------------------------------------------------------------------
//
// 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