home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality Madness / VRMAD96_ONE.ISO / virtek / libex / libex056.c < prev    next >
C/C++ Source or Header  |  1995-08-24  |  490b  |  12 lines

  1.                                          // Example: 056 from Library Reference
  2. #include "..\3D-Ware\dddware.h"
  3. #include  <stdio.h>
  4. long    address;
  5. short  main(void)
  6. {
  7.   address = dddGetScreenBufferAddress(); // Request the screen buffer's segment address.
  8.   printf("Screen buffer segment address is 0x%lX\n\n",address/65535&0xFFFF);
  9.                                          // Print the segment address for the screen buffer.
  10.   return 0;                              // Bye.
  11. }
  12.