Leaked source code of windows server 2003
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.
|
|
//+--------------------------------------------------------------
//
// 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__
|