guys I don't what's wrong with me !!!!Code:Function DXSound_Init(Hwnd As Long) As Boolean Set ds = dx.DirectSoundCreate(vbNullString) ds.SetCooperativeLevel Hwnd, DSSCL_PRIORITY DXSound_Init = True End Function
basically what does the last line of code mean ?
I've seen a lot of func. act like this
DXSound_Init = True
a mean why the function returns true ?(why not false)
*thanx for your time*





Reply With Quote