Searched refs:pnp_name2 (Results 1 – 1 of 1) sorted by relevance
2747 UNICODE_STRING mmdevpath, pnp_name, pnp_name2; in add_device() local3049 pnp_name2 = pnp_name; in add_device()3053 pnp_name2.Buffer = &pnp_name2.Buffer[3]; in add_device()3054 pnp_name2.Length -= 3 * sizeof(WCHAR); in add_device()3055 pnp_name2.MaximumLength -= 3 * sizeof(WCHAR); in add_device()3058 vc->pnp_name.Length = vc->pnp_name.MaximumLength = pnp_name2.Length; in add_device()3060 if (pnp_name2.Length == 0) in add_device()3063 vc->pnp_name.Buffer = ExAllocatePoolWithTag(PagedPool, pnp_name2.Length, ALLOC_TAG); in add_device()3070 RtlCopyMemory(vc->pnp_name.Buffer, pnp_name2.Buffer, pnp_name2.Length); in add_device()