21 DPRINT(
"Completing IRP %p Status %x\n",
Irp,
Irp->IoStatus.Status);
51 SIZE_T ObjectLength, ParametersLength;
58 ObjectLength = (
wcslen(ObjectClass) + 1) *
sizeof(
WCHAR);
61 if (ObjectLength + *
Size > IoStack->
FileObject->FileName.MaximumLength)
65 ParametersLength = IoStack->
FileObject->FileName.MaximumLength - ObjectLength;
114 return ObjectHeader->
Type;
133 return ObjectHeader->
Type;
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
PVOID AllocateItem(IN POOL_TYPE PoolType, IN SIZE_T NumberOfBytes)
KSOBJECTTYPE NTAPI KsGetObjectTypeFromIrp(IN PIRP Irp)
NTSTATUS KspCopyCreateRequest(IN PIRP Irp, IN LPWSTR ObjectClass, IN OUT PULONG Size, OUT PVOID *Result)
KSDDKAPI PVOID NTAPI KsGetObjectFromFileObject(IN PFILE_OBJECT FileObject)
KSDDKAPI PVOID NTAPI KsGetParent(IN PVOID Object)
VOID CompleteRequest(PIRP Irp, CCHAR PriorityBoost)
PUNKNOWN NTAPI KsGetOuterUnknown(IN PVOID Object)
VOID FreeItem(IN PVOID Item)
KSDDKAPI KSOBJECTTYPE NTAPI KsGetObjectTypeFromFileObject(IN PFILE_OBJECT FileObject)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
@ KsObjectTypeFilterFactory
struct KSBASIC_HEADER * PKSBASIC_HEADER
struct KSIOBJECT_HEADER * PKSIOBJECT_HEADER
#define ExFreePoolWithTag(_P, _T)
FORCEINLINE PVOID ExAllocatePoolZero(ULONG PoolType, SIZE_T NumberOfBytes, ULONG Tag)
#define IoCompleteRequest
#define RtlMoveMemory(Destination, Source, Length)
#define STATUS_UNSUCCESSFUL
#define STATUS_INSUFFICIENT_RESOURCES
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_In_ WDFCOLLECTION _In_ WDFOBJECT Item
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_In_ WDFREQUEST _In_ NTSTATUS _In_ CCHAR PriorityBoost
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS _Inout_ PLARGE_INTEGER NumberOfBytes