GetPointerType function

Retrieves the pointer type for a specified pointer.

Syntax

BOOL GetPointerType(
  UINT32             pointerId,
  POINTER_INPUT_TYPE *pointerType
);

Parameters

pointerId

An identifier of the pointer for which to retrieve pointer type.

pointerType

An address of a POINTER_INPUT_TYPE type to receive a pointer input type.

Return Value

If the function succeeds, the return value is non-zero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

An application can use the GetPointerType function to determine the pointer type if it wishes to react differently to pointers of different types.

Note  This function will never return with the generic PT_POINTER type.
 

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header winuser.h (include Windows.h)
Library User32.lib
DLL User32.dll

See Also

Functions