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.
 
 
 
 
 
 

37 lines
653 B

/*++
Copyright (c) Microsoft Corporation
Module Name:
fusioninitializecriticalsection.h
Abstract:
non throwing replacements for InitializeCriticalSection and InitializeCriticalAndSpinCount
Author:
Jay Krell (JayKrell) November 2001
Revision History:
--*/
#pragma once
/*
Use instead of InitializeCriticalSection.
*/
BOOL
FusionpInitializeCriticalSection(
LPCRITICAL_SECTION CriticalSection
);
/*
Use instead of InitializeCriticalSectionAndSpinCount
*/
BOOL
FusionpInitializeCriticalSectionAndSpinCount(
LPCRITICAL_SECTION CriticalSection,
DWORD SpinCount
);