# NNS_GfdInitVramTransferManager

## C Specification

      #include <nnsys/gfd.h>

      void NNS_GfdInitVramTransferManager(
      　　　　　　　　NNSGfdVramTransferTask* pTaskArray, u32 lengthOfArray);

## Arguments

pTaskArray | Pointer to the VRAM transfer task array
lengthOfArray | Length of the VRAM transfer task array

## Return Values

None.

## Description

Initializes the VRAM Transfer Manager. The pointer to the `NNSGfdVramTransferTask` type array gets specified in `pTaskArray`, while the length of that array gets specified in `lengthOfArray`. This `NNSGfdVramTransferTask` type array is used to register data-transfer tasks inside the VRAM Transfer Manager. The length of this array defines the maximum number of data-transfer tasks that can be registered in the VRAM Transfer Manager.

    #define NUM_TASKS    8

    NNSGfdVramTransferTask    taskArray[NUM_TASKS];

    NNS_GfdInitVramTransferManager(taskArray, NUM_TASKS);
        ....

## See Also

``

## Revision History

07/16/2004 Initial version.