This method is obsolete. Calling it has no effect.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function SetCursor ( _
    hNewCursor As IntPtr, _
    <OutAttribute> ByRef phOldCursor As IntPtr _
) As Integer
int SetCursor(
    IntPtr hNewCursor,
    out IntPtr phOldCursor
)
int SetCursor(
    [InAttribute] IntPtr hNewCursor, 
    [OutAttribute] IntPtr% phOldCursor
)
abstract SetCursor : 
        hNewCursor:IntPtr * 
        phOldCursor:IntPtr byref -> int
function SetCursor(
    hNewCursor : IntPtr, 
    phOldCursor : IntPtr
) : int
Parameters
- hNewCursor
 Type: IntPtr
- phOldCursor
 Type: IntPtr%
Return Value
Type: Int32
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsUIHierarchyWindow::SetCursor(
   [in]HCURSOR hNewCursor,
   [out, retval]HCURSOR *phOldCursor
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.