home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / audio / midimon / instdata.h < prev    next >
Text File  |  1997-10-05  |  1KB  |  33 lines

  1. /**************************************************************************
  2.  *
  3.  *  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4.  *  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5.  *  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6.  *  PURPOSE.
  7.  *
  8.  *  Copyright (C) 1993 - 1997  Microsoft Corporation.  All Rights Reserved.
  9.  * 
  10.  **************************************************************************/
  11.  
  12. /*
  13.  * instdata.h
  14.  */
  15.  
  16. /* Structure to pass instance data from the application
  17.    to the low-level callback function.
  18.  */
  19. typedef struct callbackInstance_tag
  20. {
  21.     HWND                hWnd;
  22.     HANDLE              hSelf;  
  23.     DWORD               dwDevice;
  24.     LPCIRCULARBUFFER    lpBuf;
  25.     HMIDIOUT            hMapper;
  26. } CALLBACKINSTANCEDATA;
  27. typedef CALLBACKINSTANCEDATA FAR *LPCALLBACKINSTANCEDATA;
  28.  
  29. /* Function prototypes
  30.  */
  31. LPCALLBACKINSTANCEDATA FAR PASCAL AllocCallbackInstanceData(void);
  32. void FAR PASCAL FreeCallbackInstanceData(LPCALLBACKINSTANCEDATA lpBuf);
  33.