Something went wrong. Try again.
Reactos
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960/*++
Copyright (c) Microsoft Corporation
Module Name:
FxLock.cpp
Abstract:
This module contains the implementation of FxLock
Author:
Environment:
Both kernel and user mode
Revision History:
--*/
#include "coreprivshared.hpp"
VOIDFxLock::Initialize( __in FxObject * ParentObject )/*++
Routine Description: This is called to initialize the verifier with the object type so it can track lock order and sequence.
Arguments: ParentObject - the owning object
Return Value: None
--*/{ PFX_DRIVER_GLOBALS pFxDriverGlobals;
pFxDriverGlobals = ParentObject->GetDriverGlobals();
if (pFxDriverGlobals->FxVerifierLock) { // // Allocation failure is not fatal, we just won't track anything //
(void) FxVerifierLock::CreateAndInitialize(&m_Verifier, pFxDriverGlobals, ParentObject); }}