共用方式為


IVsMouseCursorProvider.SetMouseCursor(UInt32) Method

Definition

Indicates that the text marker client should call the Win 32 API function SetCursor.

public:
 int SetMouseCursor(System::UInt32 dwReserved);
public:
 int SetMouseCursor(unsigned int dwReserved);
int SetMouseCursor(unsigned int dwReserved);
public int SetMouseCursor (uint dwReserved);
abstract member SetMouseCursor : uint32 -> int
Public Function SetMouseCursor (dwReserved As UInteger) As Integer

Parameters

dwReserved
UInt32

[in] Currently unused.)

Returns

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.

Applies to