ReactOS 0.4.15-dev-8222-g9164419
FxEnumerationInfo Struct Reference

#include <fxpkgpnp.hpp>

Inheritance diagram for FxEnumerationInfo:
Collaboration diagram for FxEnumerationInfo:

Public Member Functions

 FxEnumerationInfo (__in PFX_DRIVER_GLOBALS FxDriverGlobals)
 
NTSTATUS Initialize (VOID)
 
 _Acquires_lock_ (_Global_critical_region_) VOID AcquireParentPowerStateLock(__in PFX_DRIVER_GLOBALS FxDriverGlobals)
 
 _Releases_lock_ (_Global_critical_region_) VOID ReleaseParentPowerStateLock(__in PFX_DRIVER_GLOBALS FxDriverGlobals)
 
- Public Member Functions inherited from FxStump
PVOID operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals)
 
PVOID operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals, __in POOL_TYPE PoolType)
 
VOID operator delete (__in PVOID pointer)
 
PVOID operator new[] (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals)
 
VOID operator delete[] (__in PVOID pointer)
 

Public Attributes

FxWaitLockInternal m_PowerStateLock
 
FxWaitLockTransactionedList m_ChildListList
 

Additional Inherited Members

- Protected Member Functions inherited from FxStump
 FxStump (VOID)
 

Detailed Description

Definition at line 433 of file fxpkgpnp.hpp.

Constructor & Destructor Documentation

◆ FxEnumerationInfo()

FxEnumerationInfo::FxEnumerationInfo ( __in PFX_DRIVER_GLOBALS  FxDriverGlobals)
inline

Definition at line 435 of file fxpkgpnp.hpp.

437 : m_ChildListList(FxDriverGlobals)
438 {
439 }
FxWaitLockTransactionedList m_ChildListList
Definition: fxpkgpnp.hpp:485

Member Function Documentation

◆ _Acquires_lock_()

FxEnumerationInfo::_Acquires_lock_ ( _Global_critical_region_  )
inline

Definition at line 461 of file fxpkgpnp.hpp.

466 {
467 (VOID) m_PowerStateLock.AcquireLock(FxDriverGlobals);
468 }
#define VOID
Definition: acefi.h:82
FxWaitLockInternal m_PowerStateLock
Definition: fxpkgpnp.hpp:480

◆ _Releases_lock_()

FxEnumerationInfo::_Releases_lock_ ( _Global_critical_region_  )
inline

Definition at line 470 of file fxpkgpnp.hpp.

475 {
476 m_PowerStateLock.ReleaseLock(FxDriverGlobals);
477 }

◆ Initialize()

NTSTATUS FxEnumerationInfo::Initialize ( VOID  )
inline

Definition at line 442 of file fxpkgpnp.hpp.

445 {
447
449 if (!NT_SUCCESS(status)) {
450 return status;
451 }
452
454 if (!NT_SUCCESS(status)) {
455 return status;
456 }
457
458 return STATUS_SUCCESS;
459 }
LONG NTSTATUS
Definition: precomp.h:26
CHECK_RETURN_IF_USER_MODE NTSTATUS Initialize()
Definition: fxwaitlock.hpp:235
__inline NTSTATUS Initialize(VOID)
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
#define STATUS_SUCCESS
Definition: shellext.h:65
Definition: ps.c:97

Referenced by FxPkgPnp::AllocateEnumInfo().

Member Data Documentation

◆ m_ChildListList

◆ m_PowerStateLock

FxWaitLockInternal FxEnumerationInfo::m_PowerStateLock

Definition at line 480 of file fxpkgpnp.hpp.

Referenced by _Acquires_lock_(), _Releases_lock_(), and Initialize().


The documentation for this struct was generated from the following file: