IVsMouseCursorProvider.SetMouseCursor Method
Indicates that the text marker client should call the Win 32 API function SetCursor.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function SetMouseCursor ( _
dwReserved As UInteger _
) As Integer
int SetMouseCursor(
uint dwReserved
)
int SetMouseCursor(
[InAttribute] unsigned int dwReserved
)
abstract SetMouseCursor :
dwReserved:uint32 -> int
function SetMouseCursor(
dwReserved : uint
) : int
Parameters
dwReserved
Type: System.UInt32[in] Currently unused.)
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsMouseCursorProvider::SetMouseCursor(
[in] DWORD dwReserved
);
When the environment calls this method on your text marker client object, call SetCursor to set the mouse cursor.
.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.