typedef struct tagSNOTE { unsigned short long pos;// Current sample playback position WORD newFreq; // New note frequency BYTE patch; } SNOTE;