ReactOS 0.4.15-dev-7958-gcd0bb1a
fxdriverapikm.cpp File Reference
#include "coreprivshared.hpp"
#include <ntverp.h>
Include dependency graph for fxdriverapikm.cpp:

Go to the source code of this file.

Functions

_Must_inspect_result_ __drv_maxIRQL (PASSIVE_LEVEL) NTSTATUS STDCALL WDFEXPORT(WdfDriverOpenParametersRegistryKey)(__in PWDF_DRIVER_GLOBALS DriverGlobals
 
 FxPointerNotNull (pFxDriverGlobals, Key)
 
 if (!NT_SUCCESS(status))
 
 FxObjectHandleGetPtr (pFxDriverGlobals, Driver, FX_TYPE_DRIVER,(PVOID *) &pDriver)
 
 if (pKey==NULL)
 
 if (NT_SUCCESS(status))
 
 __drv_maxIRQL (DISPATCH_LEVEL) PDRIVER_OBJECT STDCALL WDFEXPORT(WdfDriverWdmGetDriverObject)(__in PWDF_DRIVER_GLOBALS DriverGlobals
 
 FxObjectHandleGetPtr (GetFxDriverGlobals(DriverGlobals), Driver, FX_TYPE_DRIVER,(PVOID *) &pDriver)
 
return pDriver GetDriverObject ()
 
VOID STDCALL WDFEXPORT() WdfDriverMiniportUnload (__in PWDF_DRIVER_GLOBALS DriverGlobals, __in WDFDRIVER Driver)
 
 FxObjectHandleGetPtrAndGlobals (GetFxDriverGlobals(DriverGlobals), Driver, FX_TYPE_DRIVER,(PVOID *)&pDriver, &pFxDriverGlobals)
 
 FxPointerNotNull (pFxDriverGlobals, DeviceObject)
 
 if (AttachedDeviceObject==NULL &&Pdo !=NULL)
 
else if (AttachedDeviceObject !=NULL &&Pdo==NULL)
 
 if (pMpDevice==NULL)
 

Variables

_Must_inspect_result_ __in WDFDRIVER Driver
 
_Must_inspect_result_ __in WDFDRIVER __in ACCESS_MASK DesiredAccess
 
_Must_inspect_result_ __in WDFDRIVER __in ACCESS_MASK __in_opt PWDF_OBJECT_ATTRIBUTES KeyAttributes
 
_Must_inspect_result_ __in WDFDRIVER __in ACCESS_MASK __in_opt PWDF_OBJECT_ATTRIBUTES __out WDFKEY * Key
 
NTSTATUS status = FxVerifierCheckIrqlLevel(pFxDriverGlobals, PASSIVE_LEVEL)
 
FxDriverpDriver
 
FxRegKeypKey = new(pFxDriverGlobals, KeyAttributes) FxRegKey(pFxDriverGlobals)
 
FxAutoRegKey hKey
 
WDFKEY keyHandle
 
 pFxDriverGlobals = GetFxDriverGlobals(DriverGlobals)
 
__in PDRIVER_OBJECT DriverObject
 
_Must_inspect_result_ __in WDFDRIVER __in_opt PWDF_OBJECT_ATTRIBUTES Attributes
 
_Must_inspect_result_ __in WDFDRIVER __in_opt PWDF_OBJECT_ATTRIBUTES __in PDEVICE_OBJECT DeviceObject
 
_Must_inspect_result_ __in WDFDRIVER __in_opt PWDF_OBJECT_ATTRIBUTES __in PDEVICE_OBJECT __in_opt PDEVICE_OBJECT AttachedDeviceObject
 
_Must_inspect_result_ __in WDFDRIVER __in_opt PWDF_OBJECT_ATTRIBUTES __in PDEVICE_OBJECT __in_opt PDEVICE_OBJECT __in_opt PDEVICE_OBJECT Pdo
 
_Must_inspect_result_ __in WDFDRIVER __in_opt PWDF_OBJECT_ATTRIBUTES __in PDEVICE_OBJECT __in_opt PDEVICE_OBJECT __in_opt PDEVICE_OBJECT __out WDFDEVICE * Device
 
FxMpDevicepMpDevice
 
Done __pad0__
 

Function Documentation

◆ __drv_maxIRQL() [1/2]

__drv_maxIRQL ( DISPATCH_LEVEL  )

◆ __drv_maxIRQL() [2/2]

_Must_inspect_result_ __drv_maxIRQL ( PASSIVE_LEVEL  )

◆ FxObjectHandleGetPtr() [1/2]

FxObjectHandleGetPtr ( GetFxDriverGlobals(DriverGlobals ,
Driver  ,
FX_TYPE_DRIVER  ,
(PVOID *) &  pDriver 
)

◆ FxObjectHandleGetPtr() [2/2]

FxObjectHandleGetPtr ( pFxDriverGlobals  ,
Driver  ,
FX_TYPE_DRIVER  ,
(PVOID *) &  pDriver 
)

Referenced by WdfDriverMiniportUnload().

◆ FxObjectHandleGetPtrAndGlobals()

FxObjectHandleGetPtrAndGlobals ( GetFxDriverGlobals(DriverGlobals ,
Driver  ,
FX_TYPE_DRIVER  ,
(PVOID *)&  pDriver,
pFxDriverGlobals 
)

◆ FxPointerNotNull() [1/2]

FxPointerNotNull ( pFxDriverGlobals  ,
DeviceObject   
)

◆ FxPointerNotNull() [2/2]

FxPointerNotNull ( pFxDriverGlobals  ,
Key   
)

◆ GetDriverObject()

◆ if() [1/6]

if ( NT_SUCCESSstatus)

Definition at line 69 of file fxdriverapikm.cpp.

69 {
70 return status;
71 }
NTSTATUS status

◆ if() [2/6]

if ( AttachedDeviceObject = NULL && Pdo == NULL)

Definition at line 210 of file fxdriverapikm.cpp.

210 {
212 }
_Must_inspect_result_ __in WDFDRIVER __in_opt PWDF_OBJECT_ATTRIBUTES __in PDEVICE_OBJECT __in_opt PDEVICE_OBJECT __in_opt PDEVICE_OBJECT Pdo
pFxDriverGlobals
#define FxPointerNotNull(FxDriverGlobals, Ptr)
Definition: fxmacros.hpp:253

◆ if() [3/6]

if ( AttachedDeviceObject  = NULL && Pdo != NULL)

Definition at line 207 of file fxdriverapikm.cpp.

207 {
209 }
_Must_inspect_result_ __in WDFDRIVER __in_opt PWDF_OBJECT_ATTRIBUTES __in PDEVICE_OBJECT __in_opt PDEVICE_OBJECT AttachedDeviceObject

◆ if() [4/6]

if ( NT_SUCCESS(status )

Definition at line 91 of file fxdriverapikm.cpp.

91 {
92 //
93 // Static worker function (no object assignment for opened handled)
94 //
95 status = FxRegKey::_OpenKey(
97
98 if (NT_SUCCESS(status)) {
99 DECLARE_CONST_UNICODE_STRING(parameters, L"Parameters");
100
101 //
102 // This will store the resulting handle in pKey
103 //
104 status = pKey->Create(hKey.m_Key, &parameters, DesiredAccess);
105
106 if (NT_SUCCESS(status)) {
107 *Key = keyHandle;
108 }
109 }
110 }
PUNICODE_STRING GetRegistryPathUnicodeString(VOID)
Definition: fxdriver.hpp:243
#define NULL
Definition: types.h:112
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
FxDriver * pDriver
FxAutoRegKey hKey
WDFKEY keyHandle
FxRegKey * pKey
#define L(x)
Definition: ntvdm.h:50
Definition: ps.c:97
#define DECLARE_CONST_UNICODE_STRING(_variablename, _string)
Definition: wdfcore.h:161
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
Definition: wdfdevice.h:2658

◆ if() [5/6]

if ( pKey  = NULL)

Definition at line 85 of file fxdriverapikm.cpp.

85 {
87 }
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158

◆ if() [6/6]

if ( pMpDevice  = NULL)

Definition at line 231 of file fxdriverapikm.cpp.

231 {
233 }

◆ WdfDriverMiniportUnload()

VOID STDCALL WDFEXPORT() WdfDriverMiniportUnload ( __in PWDF_DRIVER_GLOBALS  DriverGlobals,
__in WDFDRIVER  Driver 
)

Definition at line 156 of file fxdriverapikm.cpp.

162{
164
166 Driver,
168 (PVOID *)&pDriver);
169
171}
__inline MdDriverObject GetDriverObject(VOID)
Definition: fxdriver.hpp:252
static MdDriverUnloadType Unload
Definition: fxdriver.hpp:369
DriverGlobals
FxObjectHandleGetPtr(pFxDriverGlobals, Driver, FX_TYPE_DRIVER,(PVOID *) &pDriver)
__inline PFX_DRIVER_GLOBALS GetFxDriverGlobals(__in PWDF_DRIVER_GLOBALS DriverGlobals)
Definition: fxglobals.h:597
@ FX_TYPE_DRIVER
Definition: fxtypes.h:46
_Must_inspect_result_ _In_ WDFDRIVER Driver
Definition: wdfcontrol.h:83

Variable Documentation

◆ __pad0__

Done __pad0__

Definition at line 260 of file fxdriverapikm.cpp.

◆ AttachedDeviceObject

Definition at line 187 of file fxdriverapikm.cpp.

Referenced by if().

◆ Attributes

◆ DesiredAccess

◆ Device

◆ DeviceObject

◆ Driver

Initial value:

Definition at line 46 of file fxdriverapikm.cpp.

◆ DriverObject

Initial value:
{
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
Definition: wdfdriver.h:213

Definition at line 146 of file fxdriverapikm.cpp.

◆ hKey

Definition at line 59 of file fxdriverapikm.cpp.

Referenced by CDesktopUpgradePropertyBag::_AlreadyUpgraded(), _cicRegKey_Create(), _cicRegKey_Open(), _CmdWndProc(), CViewStatePropertyBag::_CreateBag(), CBandSiteMenu::_CreateMenuPart(), CViewStatePropertyBag::_FindNearestInheritBag(), CViewStatePropertyBag::_GetMRUSize(), CViewStatePropertyBag::_GetMRUSlot(), CViewStatePropertyBag::_GetMRUSlots(), CDesktopUpgradePropertyBag::_GetOldDesktopViewStream(), CViewStatePropertyBag::_GetRegKey(), _HandleConfigureLPTPortCommandOK(), _InitializeLocalSpooler(), _InitializePrintProviderList(), _LocalGetPrinterHandleData(), _LocalGetPrintServerHandleData(), _LocalSetPrinterHandleData(), _LocalSetPrintServerHandleData(), _OpenEnvironment(), FxDevice::_OpenKey(), CViewStatePropertyBag::_PruneMRUTree(), _RegSetStringValueW(), _SHGetCurrentVersionPath(), _SHRegisterFolders(), _test_key_deleted(), _test_key_name(), _test_reg_key(), _tmain(), _tryLoadProvider(), _tWinMain(), COpenWithList::AddAppToMRUList(), AddAssociation(), AddEntryToTree(), AddInstallationSource(), AddNewLayout(), AddPrintMonitorList(), AddSoundProfile(), CDefaultContextMenu::AddStaticEntriesForKey(), AddUninstallKey(), AllocAndRegQueryWSZ(), AllSysInfo(), AppendStringToMultiSZ(), ApplyChanges(), ApplyOrCancelChanges(), ApplyRegistryValues(), ApplyScheme(), AssocQ(), ata_get_bblist_regh(), ATL::CRegKey::Attach(), AVIBuildFilterW(), BuildCodePageList(), BuildFileFilterAndDeviceMenu(), BuildServiceArray(), CNewMenu::CacheItems(), CanUserWritePwrScheme(), capGetDriverDescriptionW(), CDevSettings_SetPruningMode(), CertCreateSelfSignCertificate(), check_reg_entries(), CheckForLoadedProfile(), CheckRegScreenSaverIsSecure(), ChooseFavorite(), CliGetImeHotKeysFromRegistry(), CliGetPreloadKeyboardLayouts(), CliReadRegistryValue(), CliSaveImeHotKey(), CliSetSingleHotKey(), ATL::CRegKey::Close(), CloseKey(), CM_Open_Class_Key_ExW(), ConCfgOpenUserSettings(), ConCfgReadUserSettings(), ConCfgWriteUserSettings(), CicRegKey::Create(), ATL::CRegKey::Create(), create_reg_entries(), create_test_entries(), CreateAppPath(), CreateBaseAcls(), CreateEnvironmentBlock(), CreateEventLog(), CreateHKCRKey(), CreateKeyboardLayoutList(), CreateKeyTest(), CreateNewKey(), CreateNewValue(), CreateNotificationObject(), CreateNTPServerList(), CreateStandardProfile(), CreateTempDir(), CreateUserProfileExW(), CRYPT_RegReadFromReg(), CRYPT_SIPWriteFunction(), CryptCreateHash(), CryptDecrypt(), CryptDestroyKey(), CryptDuplicateKey(), CryptEncrypt(), CryptEnumProvidersW(), CryptEnumProviderTypesW(), CryptExportKey(), CryptGetDefaultProviderW(), CryptGetKeyParam(), CryptGetOIDFunctionValue(), CryptHashSessionKey(), CryptProtectData(), CryptRegisterOIDFunction(), CryptSetKeyParam(), CryptSetOIDFunctionValue(), CryptUnprotectData(), DECLARE_INTERFACE_(), DelayedRegNotifyChangeKeyValue(), delete_reg_entries(), DeleteExt(), DeleteHelperCommand(), DeleteHKCRKey(), DeleteHKCRValue(), DeleteKey(), DeleteKeyTest(), DeleteSubKey(), DeleteUninstallKey(), DeleteValue(), ATL::CRegKey::Detach(), devinst_RegDeleteTreeW(), DirectDrawEnumerateExA(), CNetConnection::Disconnect(), DisplayClassCoinstallers(), DisplayClassProperties(), DisplayDeviceCoinstallers(), DisplayMatchingDeviceId(), DllMain(), DllRegisterServer(), DoGetProductType(), DoLoadItems(), DoStartStartupItems(), DoWriteProductOption(), DoWriteSoundEvents(), DRIVER_GetLibName(), CSysTray::EnableService(), EnableTheming(), EngpGetDisplayDriverAccelerationLevel(), EngpGetDisplayDriverParameters(), EngpGetRegistryHandleFromDeviceMap(), EnumClientServiceProtocol(), EnumDeviceKeys(), CDefaultContextMenu::EnumerateDynamicContextHandlerForKey(), EnumerateKeyTest(), EnumerateNetworkAdapter(), EnumerateNetworkComponent(), EnumerateServiceProviders(), EnumerateSoundProfiles(), EnumerateValueTest(), EnumHKCRKey(), EnumHKCRValue(), EnumInterfaces(), EnumPwrSchemes(), COpenWithList::Execute(), ExecuteAutoRunFile(), FDebugBreakForService(), FILEDLG95_unixfs_is_rooted_at_desktop(), FileTypesDlg_AddExt(), FileTypesDlg_InsertToLV(), FillColorSchemeComboBox(), FillServerAddressCombo(), FilterMapper3_CreateCategory(), FilterMapper_RegisterFilter(), FilterMapper_RegisterPin(), FilterMapper_RegisterPinType(), FilterMapper_UnregisterFilter(), FilterMapper_UnregisterPin(), FindCurrentDriver(), FindDfltProvRegVals(), FindExeCplClass(), FindProductName(), FindProvRegVals(), FindProvTypesRegVals(), ForceFriendlyUI(), FsRtlGetTunnelParameterValue(), GenerateDeviceID(), GetActivePwrScheme(), GetAdapterFriendlyName(), GetAdaptersInfo(), GetAllUsersProfileDirectoryW(), GetAssocClass(), GetAutoDaylight(), GetAutostartEntriesFromRegistry(), GetBooleanRegValue(), GetBooleanValue(), GetConfigurationData(), GetCurrentDPI(), GetCurrentScreenSaverValue(), GetCurrentUserKey(), GetDefaultUserProfileDirectoryW(), GetDesktopPath(), CRegFolder::GetDetailsOf(), CNetConnectionPropertyUi::GetDeviceInstanceID(), GetDeviceLocationString(), GetDisabledAutostartEntriesFromRegistry(), GetDllList(), GetDosDevicesProtection(), GetDriverDateString(), GetDriverName(), GetDriverProviderString(), GetDriverVersionString(), GetDWordValue(), GetEnhancedVerifierOptions(), GetEnumOptions(), GetEnvironmentVariables(), GetFallbackHKCRKey(), GetFileTypeIconsByKey(), GetFindFlags(), GetGinaPath(), GetHotPlugFlags(), GetImageName(), GetImeFile(), GetInterfaceFriendlyName(), GetInterfaceNameInternal(), GetIntervalSetting(), GetIntValue(), GetJapaneseUninstallCmdLine(), GetJobName(), GetKeyName(), GetKeySam(), GetLayoutCount(), GetLayoutName(), GetLongValue(), GetLPTTransmissionRetryTimeout(), GetNetworkParams(), GetPortType(), GetPreferredHKCRKey(), GetProfile(), GetProfileCount(), GetProfiles(), GetProfilesDirectoryW(), GetProgramsPath(), CNetConnection::GetProperties(), GetPwrDiskSpindownRange(), GetRegistrySettings(), GetRegString(), GetRegUlong(), GetRegValue(), GetResourceList(), GetServiceMainFunctions(), CSysTray::GetServicesEnabled(), GetSetupType(), GetShell(), GetShutdownReasonUI(), GetStringValue(), GetSubkeyInfoHelper(), GetSyncSetting(), GetSystemInformation(), GetTimeZoneListIndex(), GetUsedPorts(), GetUserProfileDirectoryW(), GetUserWaitInterval(), GUILoggedOutSAS(), RunOnceExInstance::HandleSubKey(), RunOnceExSection::HandleValue(), if(), ImageView_LoadSettings(), ImageView_SaveSettings(), Imm32IsCUASEnabledInRegistry(), Imm32IsTIMDisabledInRegistry(), ImmLoadLayout(), ImportAppProfile(), ImportSoundEntry(), ImportSoundLabel(), ImportSoundProfiles(), INetCfgComponentControl_fnApplyRegistryChanges(), INetCfgLock_fnAcquireWriteLock(), INetCfgLock_fnIsWriteLocked(), CRegistryKey::Init(), CRegPropertyBag::Init(), init_aes_environment(), init_base_environment(), InitAudioDlg(), InitControl(), CMruBase::InitData(), InitDialog(), InitFontSizeList(), InitializeDialog(), InitializeDirectPlayDialog(), InitializeFmIfsOnce(), InitializePrintMonitor2(), InitializePrintMonitorList(), InitializePrintProcessorList(), InitializeProfiles(), InitializeProgramFilesDir(), InitIconOverlays(), InitKeyboardLayouts(), CMruPidlList::InitList(), InitLogs(), InitMetrics(), InitOSVersion(), InitRadioButtons(), InitSettings(), InitTTFontCache(), InitUserImpl(), InputList_PrepareUserRegistry(), InstallDefaultSystemSoundScheme(), InstallDeviceData(), InstallInfSections(), InstallNetDevice(), InstallOneInterface(), InstallParallelPort(), InstallReactOS(), InstallSerialPort(), InstallSoftwareDeviceInterfaceInf(), InstallSystemSoundLabels(), InstallSystemSoundScheme(), InstallSystemSoundSchemeNames(), IntLoadKeyboardLayout(), IntSetupDiSetDeviceRegistryPropertyAW(), IopCreateDeviceKeyPath(), IopGetParentIdPrefix(), IsExtensionAShortcut(), IsFriendlyUIActive(), CRegistryKey::IsHive(), IsHKCRKey(), IsLayoutExists(), IsShortcut(), IsShowHibernateButtonActive(), IsThemeActive(), IStream_Create(), IsValidLanguageGroup(), IsWindowsOS(), CRegWatcher::KillInternat(), KmtFltAddAltitude(), KsCacheMedium(), KsFilterFactoryUpdateCacheData(), KsMapModuleName(), KspCreateDeviceReference(), KspCreateDeviceReferenceTrampoline(), KspEnumerateBusRegistryKeys(), KspInstallInterface(), KspOpenBusRegistryKey(), KspReadMediaCategory(), KspScanBus(), KsRegisterFilterWithNoKSPins(), CNetConnectionPropertyUi::LANPropertiesUIDlg(), LayoutList_Create(), COpenWithList::Load(), CSettings::Load(), LoadAdvancedSettings(), LoadAndInitialize(), COpenWithList::LoadAppList(), CNewMenu::LoadCachedItems(), LoadCurrentScheme(), LoadDNSSettings(), LoadDWORDFromRegistry(), CDefaultContextMenu::LoadDynamicContextMenuHandler(), LoadEventLabel(), LoadEventSources(), LoadFilterSettings(), COpenWithList::LoadFromProgIdKey(), LoadHelpers(), CNewMenu::LoadItem(), LoadLogFile(), COpenWithList::LoadMRUList(), COpenWithList::LoadProgIdList(), CInputPin::LoadProxyPlugins(), COutputPin::LoadProxyPlugins(), CKsProxy::LoadProxyPlugins(), COpenWithList::LoadRecommendedFromHKCR(), COpenWithList::LoadRecommendedFromHKCU(), LoadRecoveryOptions(), LoadRegInt(), LoadRegistrySettings(), LoadSettings(), LoadShutdownSelState(), LoadSMBiosData(), LoadSpecialIds(), LoadStringFromRegistry(), LoadTcpFilterSettingsFromRegistry(), LoadUsernameHint(), LoadXYCoordWnd(), LocaleList_Create(), LocalEnumPrintProcessors(), LocalGetPrintProcessorDirectory(), LocalmonAddPortEx(), Main_DirectDraw_GetDeviceIdentifier7(), MAIN_LoadSettings(), MainWnd_OnInstall(), MainWnd_OnOpenRegKey(), MainWnd_OnUpdateRegistry(), MakeHKCRKey(), MakeService(), MCI_GetDevTypeFromFileName(), MCI_SysInfo(), MIDIMAP_LoadSettings(), MIDIMAP_LoadSettingsScheme(), MMDRV_Init(), MMixerCreateMixerData(), MMixerGetDeviceName(), MMixerInitialize(), MMSYS_InstallDevice(), ModifyValue(), mru_RegDeleteTreeA(), MSACM_ReadCache(), MSACM_RegisterAllDrivers(), MSACM_RegisterDriverFromRegistry(), MSACM_WriteCache(), myRegDeleteTreeA(), myRegDeleteTreeW(), NetBTInit(), new_key_container(), CRegistryTree::NewKey(), NLS_EnumLanguageGroupLocales(), NLS_EnumSystemCodePages(), NLS_EnumSystemLanguageGroups(), NLS_RegEnumValue(), NLS_RegGetDword(), NOTEPAD_LoadSettingsFromRegistry(), NOTEPAD_SaveSettingsToRegistry(), OLECONVERT_CreateCompObjStream(), OnAutoSync(), OnColorButton(), OnInitMenu(), OnInitSysSettingsDialog(), OnOK(), OnTreeExpanding(), CicRegKey::Open(), ATL::CRegKey::Open(), OpenComputerNameKey(), OpenDeviceKey(), OpenHKCRKey(), OpenHostNameKey(), OpenKey(), OpenKeyboardLayouts(), COpenWithList::OpenMRUList(), OpenRegKey(), OpenServiceParametersKey(), CRegistryKey::OpenSubkey(), package_RegDeleteTreeW(), pCDevSettings_Initialize(), pCDevSettings_OpenDeviceKey(), pCDevSettings_ReadHardwareInfo(), PerformMount(), PNP_CreateDevInst(), PNP_EnumerateSubKeys(), PNP_GetClassCount(), PNP_GetClassName(), PNP_GetDeviceRegProp(), PNP_HwProfFlags(), PNP_IsDockStationPresent(), PNP_SetDeviceRegProp(), PopulateCustomPathCombo(), POWRPROF_GetMachinePowerPolicy(), PrintAssociationEx(), PrintOSVersion(), PrintSystemInfo(), ProcessPage_OnDebug(), ProcessPageShowContextMenu(), ProcessSetupInf(), ProcessUnattendSection(), query_reg_path(), QueryAppSettings(), QueryBool(), QueryByte(), QueryConfig2A(), QueryConfig2W(), QueryDword(), QueryDWORD(), QueryGeneric(), QueryHKCRValue(), QueryInfoHKCRKey(), QueryKeyValue(), QueryRegistryValue(), QueryString(), QueryStringValue(), QueryUserRegValueW(), rdssl_cert_to_rkey(), rdssl_hmac_md5(), read_advanced_key(), read_key(), read_key_container(), read_key_value(), ReadAttributes(), ReadBindingString(), ReadGlobalPwrPolicy(), ReadKey(), ReadKeysSettings(), ReadPerInstanceRegistryParameters(), ReadPortSettings(), ReadProcessorPwrScheme(), ReadRegDwordValue(), FxPkgPnp::ReadRegistryS0Idle(), FxPkgPnp::ReadRegistrySxWake(), ReadRegistryValue(), ReadRegSzKey(), ReadRegSzValue(), ReadSettings(), RefreshListView(), RefreshTreeItem(), RegCloseKey(), RegConnectRegistryA(), RegConnectRegistryW(), RegCreateKeyA(), RegCreateKeyExA(), RegCreateKeyExW(), RegCreateKeyW(), RegDeleteKeyA(), RegDeleteKeyExA(), RegDeleteKeyExW(), RegDeleteKeyValueA(), RegDeleteKeyValueW(), RegDeleteKeyW(), RegDeleteTreeA(), RegDeleteTreeW(), RegDeleteValueA(), RegDeleteValueW(), RegDelString(), RegEnumKeyA(), RegEnumKeyExA(), RegEnumKeyExW(), RegEnumKeyW(), RegEnumValueA(), RegEnumValueW(), RegFindRecurse(), RegFlushKey(), RegGetDWORD(), RegGetDWORDValue(), RegGetKeySecurity(), RegGetSectionDWORD(), RegGetSZ(), RegGetValueA(), RegGetValueW(), register_keys(), RegisterDword(), RegisterHelperDll(), RegisterSdbEntry(), RegisterService(), RegisterString(), registry_get_handle(), registry_read_formatopts(), registry_read_maximized(), registry_read_options(), registry_read_pagemargins(), registry_read_previewpages(), registry_read_winrect(), registry_set_filelist(), registry_set_formatopts(), registry_set_options(), registry_set_pagemargins(), registry_set_previewpages(), RegistryReadLastLoggedTime(), RegKeyEditPermissions(), RegLoadKeyA(), RegLoadKeyW(), RegLoadMUIStringA(), RegLoadMUIStringW(), RegNotifyChangeKeyValue(), RegOpenKeyA(), RegOpenKeyExA(), RegOpenKeyExW(), RegOpenKeyW(), RegOverridePredefKey(), RegQueryDword(), RegQueryInfoKeyA(), RegQueryInfoKeyW(), RegQueryMultipleValuesA(), RegQueryMultipleValuesW(), RegQueryString(), RegQueryStringA(), RegQueryValueExW(), RegQueryValueWithAlloc(), RegReadStringA(), RegReadStringW(), RegReplaceKeyA(), RegReplaceKeyW(), RegRestoreKeyA(), RegRestoreKeyW(), RegSaveKeyA(), RegSaveKeyExA(), RegSaveKeyExW(), RegSaveKeyW(), RegSetDWORDValue(), RegSetKeySecurity(), RegSetKeyValueA(), RegSetKeyValueW(), RegSetValueA(), RegSetValueExA(), RegSetValueExW(), RegSetValueW(), RegTCloseKeyHandle(), RegTGetDwordValue(), RegTGetKeyHandle(), RegTGetStringValue(), RegUnLoadKeyA(), RegUnLoadKeyW(), RegValueExists(), RemoveEventLog(), RemovePort(), CNetConnection::Rename(), RenameKey(), RenameValue(), ReportProductInfoEvent(), RSAENH_CPCreateHash(), RSAENH_CPDecrypt(), RSAENH_CPDestroyKey(), RSAENH_CPDuplicateKey(), RSAENH_CPEncrypt(), RSAENH_CPExportKey(), RSAENH_CPGetKeyParam(), RSAENH_CPGetProvParam(), RSAENH_CPHashSessionKey(), RSAENH_CPSetKeyParam(), RSAENH_CPSetProvParam(), RunSetupThreadProc(), SampIsSetupRunning(), save_sys_colors(), SaveAdvancedSettings(), COpenWithList::SaveApp(), SaveAppSettings(), SaveCustomPath(), SaveDWORD(), SaveDword(), SaveDWORDToRegistry(), SaveRegInt(), SaveSetting(), SaveSettings(), SaveShutdownSelState(), FxPkgPnp::SaveState(), SaveString(), SaveStringToRegistry(), SaveXYCoordWnd(), ScmAssignNewTag(), ScmAutoStartServices(), ScmDeleteRegKey(), ScmGetNoInteractiveServicesValue(), ScmGetSetupInProgress(), ScmInitNamedPipeCriticalSection(), SdbUninstallByGuid(), SdbUninstallByName(), SelectExtOnRename(), SerialPnpStartDevice(), SetActivePwrScheme(), SetAllVars(), SetAutoAdminLogon(), SetAutoDaylight(), COpenWithList::SetDefaultHandler(), SetDefaultLanguage(), SetDesktopBackColor(), SetFindFlags(), SetHKCRValue(), SetHotPlugFlags(), SetInstallationCompleted(), SetKeyboardLayoutName(), SetLastID(), SetNtpClientValues(), SetNTPServer(), SetParametersValues(), SetProcNameString(), SetProcSpeed(), SetRegTextData(), SetRegUlong(), SetRosSpecificInfo(), SetSetupType(), CMenuSFToolbar::SetShellFolder(), CMenuBand::SetShellFolder(), SetTime(), SETUP_CreateInterfaceList(), SETUP_GetClassIconInfo(), SETUP_GetValueString(), SETUPAPI_GetCurrentHwProfile(), SETUPDI_CreateDrvKey(), SETUPDI_OpenDrvKey(), SetupDiCallClassInstaller(), SetupDiChangeState(), SetupDiClassNameFromGuidExW(), SetupDiCreateDeviceInterfaceRegKeyW(), SetupDiCreateDevRegKeyW(), SetupDiGetClassDescriptionExW(), SetupDiGetClassDevPropertySheetsW(), SetupDiGetDeviceRegistryPropertyW(), SetupDiInstallDevice(), SetupDiOpenClassRegKeyExA(), SetupDiOpenDeviceInfoW(), SetupDiOpenDeviceInterfaceRegKey(), SetupDiOpenDeviceInterfaceW(), SetupDiRegisterCoDeviceInstallers(), SetupIsActive(), CClassNode::SetupNode(), SetUserEnvironment(), SetUserSysColors(), SetUserWaitInterval(), SetUserWallpaper(), SetValueTest1(), SetValueTest2(), SetWelcomeText(), SfcIsKeyProtected(), SHCoCreateInstance(), SHCreatePropertyBagOnRegKey(), SHCreatePropSheetExtArray(), SHCreatePropSheetExtArrayEx(), SHDeleteEmptyKeyA(), SHDeleteEmptyKeyW(), SHDeleteKeyA(), SHDeleteKeyW(), SHDeleteOrphanKeyA(), SHDeleteOrphanKeyW(), SHDeleteValueA(), SHDeleteValueW(), SHELL_FS_HideExtension(), SHELL_GetRegCLSID(), SHEnumKeyExA(), SHEnumKeyExW(), SHEnumValueA(), SHEnumValueW(), SHGetRestriction(), SHGetSettings(), SHGetValueA(), SHGetValueW(), SHOpenRegStream2A(), SHOpenRegStream2W(), ShowAppList(), ShowRegValue(), SHPropertyBag_OnRegKey(), SHQueryInfoKeyA(), SHQueryInfoKeyW(), SHQueryValueExA(), SHQueryValueExW(), SHRegCloseUSKey(), SHRegDuplicateHKey(), SHRegGetIntW(), SHRegGetPathA(), SHRegGetPathW(), SHRegOpenKeyA(), SHRegOpenUSKeyW(), SHRegSetPathA(), SHRegSetPathW(), SHRegWriteUSValueW(), SHSetValueA(), SHSetValueW(), SmLookupSubsystem(), START_TEST(), StartScreenSaver(), StartShell(), startup(), store_key_container_keys(), store_key_container_permissions(), store_key_pair(), store_key_permissions(), StoreDriveSettings(), test1(), test2(), test3(), test4(), test5(), test6(), test7(), test8(), test9(), test_3des(), test_3des112(), test_aes(), test_block_cipher_modes(), test_CallForAttributes(), test_CreateMRUListLazyW(), test_CreateMRUListW(), test_des(), test_hmac(), test_incorrect_api_usage(), test_install_services(), test_key_derivation(), test_key_initialization(), test_mac(), test_MRUListA(), test_rc2(), test_rc4(), test_rw_order(), test_SHLoadRegUIStringA(), test_SHLoadRegUIStringW(), test_SHQueryValueEx(), test_sign_message(), TestInterfaceRegistry(), TestKeyAccess_(), TestModuleRegistry(), TestMyEventProvider(), TRASH_CanTrashFile(), TreeWndNotifyProc(), UnloadServiceDll(), unregister_keys(), UpdateCaretBlinkTimeReg(), CAppDB::UpdateInstalled(), UpdateRegistryForFontSubstitutes(), UpdateRegistryString(), CRegWatcher::UpdateSpTip(), UpdateTcpIpInformation(), USBAudioInitComponentId(), UserLoadKbdFile(), UXTHEME_ApplyTheme(), UXTHEME_BackupSystemMetrics(), UXTHEME_LoadTheme(), UXTHEME_RestoreSystemMetrics(), VfdRegisterHandlers(), VfdUnregisterHandlers(), ViewDlg_RestoreDefaults(), ViewTree_LoadAll(), ViewTree_LoadTree(), W32TmServiceMain(), WhichPlatform(), WinLdrDetectVersion(), WinLdrGetNLSNames(), WinLdrInitErrataInf(), WlxActivateUserShell(), WlxScreenSaverNotify(), wnetInit(), WriteComputerSettings(), WriteDefaultLogonData(), WriteGlobalData(), WriteGlobalPwrPolicy(), WriteKeysSettings(), WriteOwnerSettings(), WritePortSettings(), WriteProcessorPwrScheme(), WritePwrPolicy(), WritePwrScheme(), WriteRegRun(), WriteSettings(), WriteStartupRecoveryOptions(), WriteUserLocale(), and wWinMain().

◆ Key

* Key
Initial value:

Definition at line 52 of file fxdriverapikm.cpp.

◆ KeyAttributes

◆ keyHandle

WDFKEY keyHandle

Definition at line 60 of file fxdriverapikm.cpp.

Referenced by if().

◆ Pdo

◆ pDriver

FxDriver* pDriver

Definition at line 57 of file fxdriverapikm.cpp.

Referenced by __drv_maxIRQL(), if(), and WdfDriverMiniportUnload().

◆ pFxDriverGlobals

pFxDriverGlobals = GetFxDriverGlobals(DriverGlobals)

Definition at line 62 of file fxdriverapikm.cpp.

Referenced by if().

◆ pKey

Definition at line 58 of file fxdriverapikm.cpp.

Referenced by if().

◆ pMpDevice

pMpDevice
Initial value:
Pdo)
_Must_inspect_result_ __in WDFDRIVER __in_opt PWDF_OBJECT_ATTRIBUTES Attributes
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055

Definition at line 196 of file fxdriverapikm.cpp.

◆ status