#include "cmp.h"
Go to the source code of this file.
Functions | |
NTSTATUS | CmDeleteKeyRecursive (HANDLE hKeyRoot, PWSTR Key, PVOID TemporaryBuffer, ULONG LengthTemporaryBuffer, BOOLEAN ThisKeyToo) |
NTSTATUS | CmpGetAcpiProfileInformation (IN HANDLE IDConfigDB, OUT PCM_HARDWARE_PROFILE_LIST *ProfileList, OUT PCM_HARDWARE_PROFILE_ACPI_ALIAS_LIST *AliasList, IN PWCHAR NameBuffer, IN PUCHAR ValueBuffer, IN ULONG Len) |
NTSTATUS | CmpFilterAcpiDockingState (IN PPROFILE_ACPI_DOCKING_STATE NewDockState, IN ULONG CurrentDockingState, IN PWCHAR CurrentAcpiSN, IN ULONG CurrentProfileNumber, IN OUT PCM_HARDWARE_PROFILE_LIST ProfileList, IN OUT PCM_HARDWARE_PROFILE_ACPI_ALIAS_LIST AliasList) |
NTSTATUS | CmpMoveBiosAliasTable (IN HANDLE IDConfigDB, IN HANDLE CurrentInfo, IN ULONG CurrentProfileNumber, IN ULONG NewProfileNumber, IN PWCHAR nameBuffer, IN PCHAR valueBuffer, IN ULONG bufferLen) |
NTSTATUS | CmpAddAcpiAliasEntry (IN HANDLE IDConfigDB, IN PPROFILE_ACPI_DOCKING_STATE NewDockState, IN ULONG ProfileNumber, IN PWCHAR nameBuffer, IN PVOID valueBuffer, IN ULONG valueBufferLength, IN BOOLEAN PreventDuplication) |
NTSTATUS | CmSetAcpiHwProfile (IN PPROFILE_ACPI_DOCKING_STATE NewDockState, IN PCM_ACPI_SELECTION_ROUTINE Select, IN PVOID Context, OUT PHANDLE NewProfile, OUT PBOOLEAN ProfileChanged) |
NTSTATUS | CmpCloneHwProfile (IN HANDLE IDConfigDB, IN HANDLE Parent, IN HANDLE OldProfile, IN ULONG OldProfileNumber, IN USHORT DockingState, OUT PHANDLE NewProfile, OUT PULONG NewProfileNumber) |
NTSTATUS | CmpCreateHwProfileFriendlyName (IN HANDLE IDConfigDB, IN ULONG DockingState, IN ULONG NewProfileNumber, OUT PUNICODE_STRING FriendlyName) |
Variables | |
UNICODE_STRING | CmSymbolicLinkValueName |
|
Definition at line 2394 of file hwprofil.c. References ExAllocatePool, ExFreePool(), Key, NT_SUCCESS, NTSTATUS(), NULL, PagedPool, RtlInitUnicodeString(), Status, and TRUE. Referenced by CmpMoveBiosAliasTable().
|
|
Definition at line 544 of file hwprofil.c. References CM_HARDWARE_PROFILE_STR_ACPI_ALIAS, CM_HARDWARE_PROFILE_STR_ACPI_SERIAL_NUMBER, CM_HARDWARE_PROFILE_STR_DOCKING_STATE, CM_HARDWARE_PROFILE_STR_PROFILE_NUMBER, CML_BUGCHECK, CMLOG, CMS_INIT, L, NT_SUCCESS, NtClose(), NtCreateKey(), NtOpenKey(), NtQueryValueKey(), NtSetValueKey(), NTSTATUS(), NULL, PAGED_CODE, and RtlInitUnicodeString(). Referenced by CmpCreateControlSet(), and CmSetAcpiHwProfile().
|
|
Definition at line 1869 of file hwprofil.c. References ASSERT, CM_HARDWARE_PROFILE_STR_ALIASABLE, CM_HARDWARE_PROFILE_STR_CLONED, CM_HARDWARE_PROFILE_STR_FRIENDLY_NAME, CM_HARDWARE_PROFILE_STR_HARDWARE_PROFILES, CM_HARDWARE_PROFILE_STR_HW_PROFILE_GUID, CM_HARDWARE_PROFILE_STR_PREFERENCE_ORDER, CML_BUGCHECK, CMLOG, CmpCopyTree, CmpCreateHwProfileFriendlyName(), CmpKeyObjectType, CmpLockRegistryExclusive(), CmpUnlockRegistry(), CMS_INIT, ExAllocatePool, ExFreePool(), ExUuidCreate(), FALSE, KernelMode, L, NT_SUCCESS, NtClose(), NtCreateKey(), NtOpenKey(), NtQuerySecurityObject(), NtQueryValueKey(), NtSetValueKey(), NTSTATUS(), NULL, ObReferenceObjectByHandle(), PAGED_CODE, PagedPool, RtlFreeUnicodeString(), RtlInitUnicodeString(), RtlStringFromGUID(), TRUE, USHORT, and UUID. Referenced by CmpCreateControlSet(), and CmSetAcpiHwProfile().
|
|
Definition at line 2529 of file hwprofil.c. References CM_HARDWARE_PROFILE_STR_DOCKED, CM_HARDWARE_PROFILE_STR_HARDWARE_PROFILES, CM_HARDWARE_PROFILE_STR_UNDOCKED, CM_HARDWARE_PROFILE_STR_UNKNOWN, HW_PROFILE_DOCKSTATE_DOCKED, HW_PROFILE_DOCKSTATE_UNDOCKED, HW_PROFILE_DOCKSTATE_UNKNOWN, KeLoaderBlock, L, _LOADER_PARAMETER_BLOCK::LoadOrderListHead, MAX_FRIENDLY_NAME_LENGTH, NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, PsLoadedModuleList, RtlAnsiStringToUnicodeString(), RtlCreateUnicodeString(), RtlFindMessage(), RtlFreeUnicodeString(), RtlInitAnsiString(), RtlInitUnicodeString(), and TRUE. Referenced by CmpCloneHwProfile().
|
|
Definition at line 1282 of file hwprofil.c. References ASSERT, CM_HP_FLAGS_ALIASABLE, CM_HP_FLAGS_DUPLICATE, CM_HP_FLAGS_PRISTINE, CM_HP_FLAGS_TRUE_MATCH, _CM_HARDWARE_PROFILE_ACPI_ALIAS::DockState, FALSE, HW_PROFILE_DOCKSTATE_DOCKED, HW_PROFILE_DOCKSTATE_UNDOCKED, NTSTATUS(), NULL, PAGED_CODE, _CM_HARDWARE_PROFILE_ACPI_ALIAS::ProfileNumber, _CM_HARDWARE_PROFILE_ACPI_ALIAS::SerialLength, _CM_HARDWARE_PROFILE_ACPI_ALIAS::SerialNumber, and TRUE. Referenced by CmSetAcpiHwProfile().
|
|
Definition at line 76 of file hwprofil.c. References ASSERT, CM_HARDWARE_PROFILE_STR_ACPI_ALIAS, CM_HARDWARE_PROFILE_STR_ACPI_SERIAL_NUMBER, CM_HARDWARE_PROFILE_STR_ALIASABLE, CM_HARDWARE_PROFILE_STR_DOCKING_STATE, CM_HARDWARE_PROFILE_STR_FRIENDLY_NAME, CM_HARDWARE_PROFILE_STR_HARDWARE_PROFILES, CM_HARDWARE_PROFILE_STR_PREFERENCE_ORDER, CM_HARDWARE_PROFILE_STR_PRISTINE, CM_HARDWARE_PROFILE_STR_PROFILE_NUMBER, CM_HP_FLAGS_ALIASABLE, CM_HP_FLAGS_PRISTINE, ExAllocatePool, ExFreePool(), _CM_HARDWARE_PROFILE::Flags, _CM_HARDWARE_PROFILE::FriendlyName, _CM_HARDWARE_PROFILE::Id, KeyName, L, _CM_HARDWARE_PROFILE::NameLength, NT_SUCCESS, NtClose(), NtQueryValueKey(), NTSTATUS(), NULL, PAGED_CODE, PagedPool, _CM_HARDWARE_PROFILE::PreferenceOrder, RtlInitUnicodeString(), RtlUnicodeStringToInteger(), and USHORT. Referenced by CmSetAcpiHwProfile().
|
|
Definition at line 1513 of file hwprofil.c. References ASSERT, CM_HARDWARE_PROFILE_STR_ALIAS, CM_HARDWARE_PROFILE_STR_CCS_HWPROFILE, CM_HARDWARE_PROFILE_STR_CLONED, CM_HARDWARE_PROFILE_STR_DOCKID, CM_HARDWARE_PROFILE_STR_HARDWARE_PROFILES, CM_HARDWARE_PROFILE_STR_PROFILE_NUMBER, CM_HARDWARE_PROFILE_STR_SERIAL_NUMBER, CmDeleteKeyRecursive(), L, NT_SUCCESS, NtQueryValueKey(), NtSetValueKey(), NTSTATUS(), NULL, PAGED_CODE, RtlInitUnicodeString(), TRUE, and USHORT. Referenced by CmSetAcpiHwProfile().
|
|
Definition at line 805 of file hwprofil.c. References _CM_HARDWARE_PROFILE_ACPI_ALIAS_LIST::Alias, ASSERT, CM_HARDWARE_PROFILE_STR_ACPI_SERIAL_NUMBER, CM_HARDWARE_PROFILE_STR_CCS_CURRENT, CM_HARDWARE_PROFILE_STR_CCS_HWPROFILE, CM_HARDWARE_PROFILE_STR_CURRENT_DOCK_INFO, CM_HARDWARE_PROFILE_STR_DATABASE, CM_HARDWARE_PROFILE_STR_DOCKING_STATE, CM_HP_FLAGS_DUPLICATE, CM_HP_FLAGS_PRISTINE, CM_HP_FLAGS_TRUE_MATCH, CmpAddAcpiAliasEntry(), CmpCloneHwProfile(), CmpFilterAcpiDockingState(), CmpGetAcpiProfileInformation(), CmpMoveBiosAliasTable(), CmSymbolicLinkValueName, _CM_HARDWARE_PROFILE_ACPI_ALIAS_LIST::CurrentAliasCount, _CM_HARDWARE_PROFILE_LIST::CurrentProfileCount, ExAllocatePool, ExFreePool(), FALSE, _CM_HARDWARE_PROFILE::Flags, _CM_HARDWARE_PROFILE::FriendlyName, _CM_HARDWARE_PROFILE::Id, L, NT_SUCCESS, NtCreateKey(), NtQueryValueKey(), NtSetValueKey(), NTSTATUS(), NULL, PAGED_CODE, PagedPool, _CM_HARDWARE_PROFILE_LIST::Profile, RtlInitUnicodeString(), _CM_HARDWARE_PROFILE_ACPI_ALIAS::SerialNumber, and TRUE. Referenced by CmpCreateControlSet(), and IopExecuteHardwareProfileChange().
|
|
Definition at line 73 of file hwprofil.c. |