26 ULONG DestinationSize = 0;
42 if (DestinationSize == 0)
49 DestinationSize +=
sizeof(
WCHAR);
102 TRACE_(SERENUM,
"Calling lower device 0x%p\n", LowerDevice);
120 TRACE_(SERENUM,
"Calling attached Fdo 0x%p\n",
Fdo);
#define NT_SUCCESS(StatCode)
struct _FDO_DEVICE_EXTENSION * PFDO_DEVICE_EXTENSION
struct _PDO_DEVICE_EXTENSION * PPDO_DEVICE_EXTENSION
NTSTATUS SerenumInitMultiSzString(OUT PUNICODE_STRING Destination,...)
NTSTATUS NTAPI ForwardIrpToAttachedFdoAndForget(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
NTSTATUS NTAPI ForwardIrpToLowerDeviceAndForget(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
#define ExAllocatePoolWithTag(hernya, size, tag)
#define RTL_DUPLICATE_UNICODE_STRING_ALLOCATE_NULL_STRING
#define RTL_DUPLICATE_UNICODE_STRING_NULL_TERMINATE
DRIVER_DISPATCH ForwardIrpAndForget
#define ExFreePoolWithTag(_P, _T)
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
_Out_ _Inout_ POEM_STRING _In_ PCUNICODE_STRING SourceString
_In_ PUNICODE_STRING _Inout_ PUNICODE_STRING Destination
_Out_ _Inout_ POEM_STRING DestinationString
NTSYSAPI NTSTATUS NTAPI RtlAnsiStringToUnicodeString(PUNICODE_STRING DestinationString, PANSI_STRING SourceString, BOOLEAN AllocateDestinationString)
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
NTSYSAPI VOID NTAPI RtlInitAnsiString(PANSI_STRING DestinationString, PCSZ SourceString)
#define RtlAnsiStringToUnicodeSize(STRING)
#define IoSkipCurrentIrpStackLocation(Irp)
PDEVICE_OBJECT LowerDevice
COMMON_DEVICE_EXTENSION Common
COMMON_DEVICE_EXTENSION Common
PDEVICE_OBJECT AttachedFdo
unsigned short MaximumLength
#define RtlCopyMemory(Destination, Source, Length)
#define STATUS_INVALID_PARAMETER
#define STATUS_INSUFFICIENT_RESOURCES
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ WDFDEVICE Fdo
_Must_inspect_result_ _In_ ULONG Flags