EM_GETPASSWORDCHAR

This message is sent by an application to retrieve the password character displayed in an edit control when the user enters text. This message has no parameters.

At a Glance

Header file: Winuser.h
Windows CE versions: 1.0 and later

Syntax

EM_GETPASSWORDCHAR; wParam = 0; lParam = 0;

Return Values

The return value specifies the character to be displayed in place of the character typed by the user. NULL indicates that no password character exists.

Remarks

If the edit control is created with the ES_PASSWORD style, the default password character is set to an asterisk (*).