ControlDevice: Refactoring: Rename some private members

Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
This commit is contained in:
Dmitry Fleytman 2015-11-23 12:28:08 +02:00
parent 464fbef889
commit a3ee8f04c0
2 changed files with 3 additions and 3 deletions

View file

@ -639,7 +639,7 @@ NTSTATUS CUsbDkControlDevice::GetConfigurationDescriptor(const USB_DK_CONFIG_DES
NTSTATUS CUsbDkControlDevice::AddRedirect(const USB_DK_DEVICE_ID &DeviceId, HANDLE RequestorProcess, PHANDLE RedirectorDevice)
{
CUsbDkRedirection *Redirection;
auto addRes = AddDeviceToSet(DeviceId, &Redirection);
auto addRes = AddRedirectionToSet(DeviceId, &Redirection);
if (!NT_SUCCESS(addRes))
{
return addRes;
@ -891,7 +891,7 @@ NTSTATUS CUsbDkControlDevice::ReloadPersistentHideRules()
}
NTSTATUS CUsbDkControlDevice::AddDeviceToSet(const USB_DK_DEVICE_ID &DeviceId, CUsbDkRedirection **NewRedirection)
NTSTATUS CUsbDkControlDevice::AddRedirectionToSet(const USB_DK_DEVICE_ID &DeviceId, CUsbDkRedirection **NewRedirection)
{
CObjHolder<CUsbDkRedirection> newRedir(new CUsbDkRedirection());

View file

@ -319,7 +319,7 @@ private:
bool UsbDeviceExists(const USB_DK_DEVICE_ID &ID);
static void ContextCleanup(_In_ WDFOBJECT DeviceObject);
NTSTATUS AddDeviceToSet(const USB_DK_DEVICE_ID &DeviceId, CUsbDkRedirection **NewRedirection);
NTSTATUS AddRedirectionToSet(const USB_DK_DEVICE_ID &DeviceId, CUsbDkRedirection **NewRedirection);
void AddRedirectRollBack(const USB_DK_DEVICE_ID &DeviceId, bool WithReset);
NTSTATUS GetUsbDeviceConfigurationDescriptor(const USB_DK_DEVICE_ID &DeviceID,