ReactOS 0.4.16-dev-226-g79f2289
|
Go to the source code of this file.
Classes | |
struct | ALLOCATOR |
Macros | |
#define | NDEBUG |
Typedefs | |
typedef PVOID(* | PFNKSPAGEDPOOLALLOCATE) (IN PPAGED_LOOKASIDE_LIST Lookaside) |
typedef PVOID(* | PFNKSNPAGEDPOOLALLOCATE) (IN PNPAGED_LOOKASIDE_LIST Lookaside) |
typedef VOID(* | PFNKSPAGEDPOOLFREE) (IN PPAGED_LOOKASIDE_LIST Lookaside, IN PVOID Entry) |
typedef VOID(* | PFNKSNPAGEDPOOLFREE) (IN PNPAGED_LOOKASIDE_LIST Lookaside, IN PVOID Entry) |
typedef VOID(NTAPI * | PFNKSNPAGEDPOOLDELETE) (IN PNPAGED_LOOKASIDE_LIST Lookaside) |
typedef VOID(NTAPI * | PFNKSPAGEDPOOLDELETE) (IN PPAGED_LOOKASIDE_LIST Lookaside) |
typedef struct ALLOCATOR * | PALLOCATOR |
Enumerations | |
enum | ALLOCATOR_TYPE { ALLOCATOR_NPAGED_LOOKASIDE , ALLOCATOR_PAGED_LOOKASIDE , ALLOCATOR_CUSTOM } |
enum | ALLOC_REQUEST { ALLOCATOR_DEVICE_CONTROL , ALLOCATOR_DEVICE_CLOSE , ALLOCATOR_ALLOCATE , ALLOCATOR_FREE } |
Variables | |
const GUID | IID_IKsAllocator = {0x642F5D00L, 0x4791, 0x11D0, {0xA5, 0xD6, 0x28, 0xDB, 0x04, 0xC1, 0x00, 0x00}} |
const GUID | KSPROPSETID_StreamAllocator = {0x0cf6e4342, 0xec87, 0x11cf, {0xa1, 0x30, 0x00, 0x20, 0xaf, 0xd1, 0x56, 0xe4}} |
static IKsAllocatorVtbl | vt_IKsAllocator |
static KSDISPATCH_TABLE | DispatchTable |
#define NDEBUG |
Definition at line 11 of file allocators.c.
typedef struct ALLOCATOR * PALLOCATOR |
typedef PVOID(* PFNKSNPAGEDPOOLALLOCATE) (IN PNPAGED_LOOKASIDE_LIST Lookaside) |
Definition at line 31 of file allocators.c.
typedef VOID(NTAPI * PFNKSNPAGEDPOOLDELETE) (IN PNPAGED_LOOKASIDE_LIST Lookaside) |
Definition at line 36 of file allocators.c.
Definition at line 34 of file allocators.c.
typedef PVOID(* PFNKSPAGEDPOOLALLOCATE) (IN PPAGED_LOOKASIDE_LIST Lookaside) |
Definition at line 30 of file allocators.c.
typedef VOID(NTAPI * PFNKSPAGEDPOOLDELETE) (IN PPAGED_LOOKASIDE_LIST Lookaside) |
Definition at line 37 of file allocators.c.
Definition at line 33 of file allocators.c.
Enumerator | |
---|---|
ALLOCATOR_DEVICE_CONTROL | |
ALLOCATOR_DEVICE_CLOSE | |
ALLOCATOR_ALLOCATE | |
ALLOCATOR_FREE |
Definition at line 21 of file allocators.c.
Enumerator | |
---|---|
ALLOCATOR_NPAGED_LOOKASIDE | |
ALLOCATOR_PAGED_LOOKASIDE | |
ALLOCATOR_CUSTOM |
Definition at line 14 of file allocators.c.
NTSTATUS NTAPI IKsAllocator_Allocate | ( | IN PFILE_OBJECT | FileObject, |
PVOID * | Frame | ||
) |
Definition at line 535 of file allocators.c.
Referenced by IKsAllocator_fnDeviceIoControl().
Definition at line 513 of file allocators.c.
Definition at line 491 of file allocators.c.
NTSTATUS IKsAllocator_DispatchRequest | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PFILE_OBJECT | FileObject, | ||
IN PIRP | Irp, | ||
IN PVOID | Frame, | ||
IN ALLOC_REQUEST | Request | ||
) |
Definition at line 435 of file allocators.c.
Referenced by IKsAllocator_Allocate(), IKsAllocator_DispatchClose(), IKsAllocator_DispatchDeviceIoControl(), and IKsAllocator_FreeFrame().
Definition at line 117 of file allocators.c.
Definition at line 294 of file allocators.c.
Definition at line 265 of file allocators.c.
NTSTATUS NTAPI IKsAllocator_fnDeviceIoControl | ( | IKsAllocator * | iface, |
IN PDEVICE_OBJECT | DeviceObject, | ||
IN PIRP | Irp | ||
) |
Definition at line 145 of file allocators.c.
Definition at line 329 of file allocators.c.
NTSTATUS NTAPI IKsAllocator_fnQueryInterface | ( | IKsAllocator * | iface, |
IN REFIID | refiid, | ||
OUT PVOID * | Output | ||
) |
Definition at line 98 of file allocators.c.
Definition at line 127 of file allocators.c.
VOID NTAPI IKsAllocator_FreeFrame | ( | IN PFILE_OBJECT | FileObject, |
PVOID | Frame | ||
) |
Definition at line 549 of file allocators.c.
Referenced by IKsAllocator_fnDeviceIoControl().
KSDDKAPI NTSTATUS NTAPI KsCreateAllocator | ( | IN HANDLE | ConnectionHandle, |
IN PKSALLOCATOR_FRAMING | AllocatorFraming, | ||
OUT PHANDLE | AllocatorHandle | ||
) |
Definition at line 367 of file allocators.c.
Definition at line 384 of file allocators.c.
Referenced by DispatchCreateKMixAllocator().
KSDDKAPI NTSTATUS NTAPI KsCreateDefaultAllocatorEx | ( | IN PIRP | Irp, |
IN PVOID InitializeContext | OPTIONAL, | ||
IN PFNKSDEFAULTALLOCATE DefaultAllocate | OPTIONAL, | ||
IN PFNKSDEFAULTFREE DefaultFree | OPTIONAL, | ||
IN PFNKSINITIALIZEALLOCATOR InitializeAllocator | OPTIONAL, | ||
IN PFNKSDELETEALLOCATOR DeleteAllocator | OPTIONAL | ||
) |
Definition at line 576 of file allocators.c.
Referenced by KsCreateDefaultAllocator().
KSDDKAPI NTSTATUS NTAPI KsValidateAllocatorCreateRequest | ( | IN PIRP | Irp, |
OUT PKSALLOCATOR_FRAMING * | OutAllocatorFraming | ||
) |
Definition at line 396 of file allocators.c.
Referenced by KsCreateDefaultAllocatorEx().
KSDDKAPI NTSTATUS NTAPI KsValidateAllocatorFramingEx | ( | IN PKSALLOCATOR_FRAMING_EX | Framing, |
IN ULONG | BufferSize, | ||
IN const KSALLOCATOR_FRAMING_EX * | PinFraming | ||
) |
Definition at line 671 of file allocators.c.
|
static |
Definition at line 558 of file allocators.c.
const GUID IID_IKsAllocator = {0x642F5D00L, 0x4791, 0x11D0, {0xA5, 0xD6, 0x28, 0xDB, 0x04, 0xC1, 0x00, 0x00}} |
Definition at line 79 of file allocators.c.
Referenced by IKsAllocator_DispatchRequest(), and IKsAllocator_fnQueryInterface().
const GUID KSPROPSETID_StreamAllocator = {0x0cf6e4342, 0xec87, 0x11cf, {0xa1, 0x30, 0x00, 0x20, 0xaf, 0xd1, 0x56, 0xe4}} |
Definition at line 80 of file allocators.c.
Referenced by IKsAllocator_fnDeviceIoControl().
|
static |
Definition at line 351 of file allocators.c.
Referenced by KsCreateDefaultAllocatorEx().