# ssplSetUserData

Store user data in a SoundBufferNode.

### Synopsis

`void ssplSetUserData ( SoundSpooler *sspl, SoundBufferNode *sbn, void *UserData )`

### Description

`ssplSetUserData()` stores user data pointer in a SoundBufferNode. This can be used to attach any extra data of your choosing to a SoundBufferNode. The user data pointer can be retrieved from a SoundBufferNode by calling `ssplGetUserData()`.

### Arguments

sspl
  Pointer to a SoundSpooler structure.

sbn
  Pointer to a sound buffer node.

UserData
  User data pointer to store in SoundBufferNode. Can be NULL.

### Return Value

None

### Implementation

Library call implemented in music.lib V21.

### Associated Files

soundspooler.h, music.lib

### See Also

``ssplGetUserData`(), ssplSpoolData()`