The default pin output value is 0. By using the DlnGpioPinSetOutVal()DlnGpioPinGetOutVal() function takes the output value from the internal memory, where it is saved.
The DlnGpioPinGetOutVal() function is declared in the dln_gpio.h file.