Returns a Boolean value that indicates whether the specified command is in the indeterminate state.
HRESULT queryCommandIndeterm( BSTR cmdID, VARIANT_BOOL *pfRet );
- [in] BSTR that specifies a command identifier.
- [out, retval] Pointer to a VARIANT_BOOL that returns one of the following possible values:
- The command is in the indeterminate state.
- The command is not in the indeterminate state.
Returns S_OK if successful, or an error value otherwise.
This method is a wrapper function for the IOleCommandTarget::QueryStatus method to enable scriptable execution of some command constants. You can obtain an IOleCommandTarget interface by calling QueryInterface on the IHTMLControlRange interface using IID_IHTMLControlRange for the IID.