You will want to use InitWithOptions and use the driver setup option:
status = niSwitch_InitWithOptions("PXI::10::INSTR",VI_TRUE, VI_TRUE, "Simulate=1, DriverSetup=PXI-2503 2-Wire Mux", &instr);
Take a look at this KB it explains exactly what you are looking for.
http://digital.ni.com/public.nsf/websearch/31510C74FCCB5A5286256BBA006E10CB?OpenDocument
Hope this helps.
Kevin R