# ssplGetSBMsgClass

Get class of message passed to SoundBufferFunc.

### Synopsis

`int32 ssplGetSBMsgClass ( int32 msg )`

### Description

Returns the class of a message passed to SoundBufferFunc.

### Arguments

msg
  Message id passed to SoundBufferFunc.

### Return Value

One of the SSPL_SBMSGCLASS_... values defined in soundspooler.h.

### Implementation

Macro implemented in soundspooler.h V22.

### Associated Files

soundspooler.h, music.lib

### See Also

``SoundBufferFunc`()`