GetCIMSSM function (winuser.h)
[GetCIMSSM may be altered or unavailable in the future. Instead, use GetCurrentInputMessageSource.]
Retrieves the source of the input message (GetCurrentInputMessageSourceInSendMessage).
Syntax
BOOL GetCIMSSM(
[out] INPUT_MESSAGE_SOURCE *inputMessageSource
);
Parameters
[out] inputMessageSource
The INPUT_MESSAGE_SOURCE structure that holds the device type and the ID of the input message source.
Return value
If this function succeeds, it returns TRUE. Otherwise, it returns ERROR_INVALID_PARAMETER.
This function fails when:
- The input parameter is invalid.
- GetCurrentInputMessageSource returns a value other than IMDT_UNAVAILABLE for the device type.
Remarks
GetCIMSSM should be used only when GetCurrentInputMessageSource returns a device type of IMDT_UNAVAILABLE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | winuser.h |
Library | User32.lib |
DLL | User32.dll |