backSetting to full screen


Is there a programmatic solution to automatically set the dos box to full screen inside my application ?

I'm happy to answer YES to my own question :
  #include 
  
  __dpmi_regs regs;
  regs.x.ax = 0x168b;
  regs.x.bx = 0;
  __dpmi_int(0x2f,®s);
This is documented in Ralph Brown's interrupt list as available for Windows 3.1, but still seems to work with Win95.

By the way, I don't know how to reverse the behavior...