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.
39 lines
647 B
39 lines
647 B
//+-------------------------------------------------------------------------
|
|
//
|
|
// 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
|
|
|
|
|
|
|