EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

IsMouseInPointerEnabled function

Indicates whether the mouse in pointer is enabled.

Syntax


BOOL WINAPI IsMousePointerEnabled(void);

Parameters

This function has no parameters.

Return value

If mouse-in-pointer is enabled, the return value is nonzero.

If mouse-in-pointer is not enabled, the return value is zero.

Remarks

EnableMouseInPointer can be called only once in the context of a process lifetime. Prior to the first call, Windows Store apps run with mouse-in-pointer enabled, as do any desktop applications that consume mshtml.dll. All other desktop applications run with mouse-in-pointer disabled.

On the first call to EnableMouseInPointer in the process lifetime, the state is changed as specified and the call succeeds.

On subsequent calls to EnableMouseInPointer, the state will not change. If the current state is not equal to the specified state, the call fails.

Call IsMouseInPointerEnabled to verify the mouse-in-pointer state.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Functions
EnableMouseInPointer

 

 

コミュニティの追加

追加
表示:
© 2014 Microsoft