How does the SetCursor function work in VB 2005??

I did this :
Code:
    <DllImport("user32", EntryPoint:="SetCursor", SetLastError:=True, CharSet:=CharSet.Auto)> _
        Private Shared Function SetCursor(ByVal hCursor As IntPtr) As IntPtr
    End Function

    Private CursorArray() As Cursor
'rest of inserting cursors into array omitted
Then I tried
Code:
  SetCursor(CursorArray(CurseInt).Handle)
It does not change my mouse cursor!
Any ideas?