KsValidateAllocatorCreateRequest function (ks.h)

The KsValidateAllocatorCreateRequest function validates an IRP_MJ_CREATE request as an allocator request and returns the create structure associated with the request on success.

Syntax

KSDDKAPI NTSTATUS KsValidateAllocatorCreateRequest(
  [in]  PIRP                 Irp,
  [out] PKSALLOCATOR_FRAMING *AllocatorFraming
);

Parameters

[in] Irp

Specifies the IRP with the IRP_MJ_CREATE request being validated.

[out] AllocatorFraming

Caller-defined pointer that on successful completion contains an address to the framing structure supplied with the request.

Return value

The KsValidateAllocatorCreateRequest function returns STATUS_SUCCESS if successful, or an error if the allocator request is not valid.

Requirements

Requirement Value
Target Platform Universal
Header ks.h (include Ks.h)
Library Ks.lib