John,
The two pin connector has a female connection that has a wht/blk wire into it and the male connection has a red/blk wire going into it.

Headlights off- power on the red/blk connection
no power on the blk/wht connection

Headlights on- power on the wht/blk connection
no power on the red/blk connection
attaboy