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
1007 B
39 lines
1007 B
//+-------------------------------------------------------------------------
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 1996 - 1999
|
|
//
|
|
// File: pkicrit.h
|
|
//
|
|
// Contents: PKI CriticalSection Functions
|
|
//
|
|
// APIs: Pki_InitializeCriticalSection
|
|
//
|
|
// History: 23-Aug-99 philh created
|
|
//--------------------------------------------------------------------------
|
|
|
|
#ifndef __PKICRIT_H__
|
|
#define __PKICRIT_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
//+-------------------------------------------------------------------------
|
|
// The following calls InitializeCriticalSection within a try/except.
|
|
// If an exception is raised, returns FALSE with LastError set to
|
|
// the exception error. Otherwise, TRUE is returned.
|
|
//--------------------------------------------------------------------------
|
|
BOOL
|
|
WINAPI
|
|
Pki_InitializeCriticalSection(
|
|
OUT LPCRITICAL_SECTION lpCriticalSection
|
|
);
|
|
|
|
#ifdef __cplusplus
|
|
} // Balance extern "C" above
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|