BOOLEAN
VC_GetResources(
    PDEVICE_INFO pDevInfo,
    PDRIVER_OBJECT pDriverObject,
    PUCHAR pPortBase,
    ULONG NrOfPorts,
    ULONG Interrupt,
    BOOLEAN bLatched,
    PUCHAR pFrameBuffer,
    ULONG FrameLength,
    );
The VC_GetResources function reserves system resources for a device, and maps the device’s I/O address space and frame buffer into system address space.
Returns TRUE if the operation succeeds. Otherwise returns FALSE.
A kernel-mode video capture driver using VCKernel.lib must call VC_GetResources from within its DriverEntry function. The VC_GetResources function performs the following operations, in the order listed:
The VC_GetResources function calls HalTranslateBusAddress, MmMapIoSpace, and IoReportResourceUsage.