ReactOS  0.4.15-dev-2700-g4b4ffa9
fxpkgpdo.cpp File Reference
#include "pnppriv.hpp"
#include <wdmguid.h>
Include dependency graph for fxpkgpdo.cpp:

Go to the source code of this file.

Functions

FxDeviceTextFindObjectForGivenLocale (__in PSINGLE_LIST_ENTRY Head, __in LCID LocaleId)
 

Function Documentation

◆ FindObjectForGivenLocale()

FxDeviceText* FindObjectForGivenLocale ( __in PSINGLE_LIST_ENTRY  Head,
__in LCID  LocaleId 
)

Definition at line 820 of file fxpkgpdo.cpp.

837 {
839 
840  for (ple = Head->Next; ple != NULL; ple = ple->Next) {
842 
844 
845  if (pDeviceText->m_LocaleId == LocaleId) {
846  //
847  // We found our object!
848  //
849  return pDeviceText;
850  }
851  }
852 
853  return NULL;
854 }
Definition: ntbasedef.h:628
FxDeviceText * pDeviceText
PSINGLE_LIST_ENTRY ple
static FxDeviceText * _FromEntry(__in PSINGLE_LIST_ENTRY Entry)
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING _In_ PCUNICODE_STRING _In_ LCID LocaleId
Definition: wdfpdo.h:430
struct _SINGLE_LIST_ENTRY * Next
Definition: ntbasedef.h:629
#define NULL
Definition: types.h:112

Referenced by FxPkgPdo::_PnpQueryDeviceText().