Skip to content

Latest commit

 

History

History
71 lines (57 loc) · 1.7 KB

nf-microsoft-ui-input-inputcursor-interop-iinputcursorstaticsinterop-createfromhcursor.md

File metadata and controls

71 lines (57 loc) · 1.7 KB
UID tech.root title ms.date targetos description prerelease req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs helpviewer_keywords
NF:microsoft.ui.input.inputcursor.interop.IInputCursorStaticsInterop.CreateFromHCursor
IInputCursorStaticsInterop::CreateFromHCursor
Windows
false
function
microsoft.ui.input.inputcursor.interop.h
apiref
COM
microsoft.ui.input.inputcursor.interop.h
IInputCursorStaticsInterop::CreateFromHCursor
IInputCursorStaticsInterop::CreateFromHCursor
microsoft.ui.input.inputcursor.interop/IInputCursorStaticsInterop::CreateFromHCursor
c++
CreateFromHCursor

-description

Creates an InputCursor from the provided cursor handle.

-parameters

-param cursor

Type: HCURSOR

A handle to the cursor.

-param result

The InputCursor.

If cursor specifies a system cursor, an InputSystemCursor is created. Otherwise, an InputCustomCursor is created by copying the cursor.

-returns

Type: HRESULT

If the function succeeds it returns ERROR_SUCCESS. Otherwise, the function returns an error code.

-remarks

-see-also