home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / rpc / wintyp / wintyp.idl < prev   
Encoding:
Text File  |  1996-07-23  |  1.4 KB  |  31 lines

  1. /*************************************************************************
  2.                 Copyright Microsoft Corp. 1992-1996
  3.                     Remote Machine strout sample
  4.  
  5.     FILE    :   wintyp.idl
  6.  
  7.     PURPOSE :   This file defines the interface for the strout example
  8.   
  9. *************************************************************************/
  10. [
  11. uuid(da2a84e0-cabd-11cf-a8a4-00a0c9038450),     // UUID 
  12. pointer_default(unique),                        // Pointer default 
  13. version(1.0)                                    // Program version 
  14. ]
  15. interface wintyp_sample
  16. {
  17.     import "wtypes.idl";    // Need this to support the window dataypes
  18.  
  19.     /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
  20.     /* Declaration of the remote procedure.                             */
  21.     /* This procedure will send the bitmap to the server, the server    */
  22.     /* will then either flip the image, or find the edges in it, before */
  23.     /* sending it back to the client.                                   */
  24.     /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
  25.     BOOL ChangeBitmapRemote(
  26.         [in] unsigned short action,     // The action to take on the image
  27.         [in, out] HBITMAP   *bitmap);   // The bitmap to send over the line
  28.  
  29.     void ShutDown(void);            // Procedure to shut down the server
  30. }
  31.