NT4/private/ole32/stg/h/cntxtid.hxx
2020-09-30 17:12:29 +02:00

29 lines
706 B
C++

//+--------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1992.
//
// File: cntxtid.hxx
//
// Contents: Context ID header file
//
// History: 04-Sep-92 DrewB Created
//
// Notes: A context ID encapsulates the concept of a
// unique ID for the currently executing context.
// Every OS should define an appropriate section.
//
//---------------------------------------------------------------
#ifndef __CNTXTID_HXX__
#define __CNTXTID_HXX__
#define INVALID_CONTEXT_ID 0
typedef unsigned long ContextId;
inline ContextId GetCurrentContextId(void)
{
return GetCurrentProcessId();
}
#endif // #ifndef __CNTXTID_HXX__