Queries the status of the command, whether the command is enable and whether the command is a checked status. You can send this message explicitly or by using the Editor_QueryStatus inline function.
wParam = (WPARAM) (UINT) nCmdID;
lParam = (LPARAM) (BOOL*) pbChecked;
The identifier of the command on which the status is queried. See Command IDs.
Pointer to a variable that receives a checked status (TRUE indicates the command is checked, FALSE indicates the command is not checked).
If the command is enable, the return value is nonzero. If the command it not enable, the return value is zero.