PVOID
VC_AllocMem(
PDEVICE_INFO pDevInfo,
ULONG Length
);
The VC_AllocMem function allocates a specified amount of nonpaged memory for use by a kernel-mode video capture driver.
Returns a pointer to the allocated memory, if the operation succeeds. Otherwise returns NULL.
The VC_AllocMem function calls ExAllocatePool, with a pool type of NonPagedPool. The allocated memory can be referenced by the driver’s InterruptAcknowledge and CaptureService function.