windows-nt/Source/XPSP1/NT/multimedia/media/samples/midimon/instdata.h
2020-09-26 16:20:57 +08:00

23 lines
570 B
C

/*
* instdata.h
*/
/* Structure to pass instance data from the application
to the low-level callback function.
*/
typedef struct callbackInstance_tag
{
HWND hWnd;
HANDLE hSelf;
DWORD dwDevice;
LPCIRCULARBUFFER lpBuf;
HMIDIOUT hMapper;
} CALLBACKINSTANCEDATA;
typedef CALLBACKINSTANCEDATA FAR *LPCALLBACKINSTANCEDATA;
/* Function prototypes
*/
LPCALLBACKINSTANCEDATA FAR PASCAL AllocCallbackInstanceData(void);
void FAR PASCAL FreeCallbackInstanceData(LPCALLBACKINSTANCEDATA lpBuf);