## Graphics Adapter Device Driver Reference

[prev][next][parent][TOC]

### EXT_CMD_ENDIVE_INIT

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Description:

EXT_CMD_ENDIVE_INIT is mandatory and is called to initialize the hardware. The GRADD must determine if the hardware is present.

    #include <GRADD.h>

    GID      gid;         /*  ID of the GRADD. */

    ULONG    ulFunction;  /*  Set equal to EXT_CMD_ENDIVE_INIT. */

    PVOID    pIn;         /*  Pointer to an FBINFO data structure. */

    PVOID    pOut;        /*  Pointer to an HWEXTENSIONOUT data structure. */

    ULONG    rc;          /*  Return codes. */

    rc = HWENTRY(gid, ulFunction, pIn, pOut);