An invalid value for a handle or dataPtr has been passed into the API.
The system returns to the calling procedure.
There is a problem with the calling application. Verify the values of the tsmBuffHandle and dataptr passed to the API.