IOleCommandTarget.QueryStatus Method (Guid, Int32, IntPtr, IntPtr)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Queries the object for the status of one or more commands generated by user interface events.
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)
Syntax
int QueryStatus(
[InAttribute] ref Guid pguidCmdGroup,
int cCmds,
IntPtr prgCmds,
IntPtr pCmdText
)
Function QueryStatus (
<InAttribute> ByRef pguidCmdGroup As Guid,
cCmds As Integer,
prgCmds As IntPtr,
pCmdText As IntPtr
) As Integer
Parameters
pguidCmdGroup
Type: System.GuidSpecifies the unique identifier of the command group; can be NULL to specify the standard group.
cCmds
Type: System.Int32Specifies the number of commands in the prgCmds array.
prgCmds
Type: System.IntPtrSpecifies a caller-allocated array of OLECMD structures that indicate the commands for which the caller needs status information.
pCmdText
Type: System.IntPtrA pointer to an OLECMDTEXT structure to return name and/or status information of a single command. This parameter can be NULL to indicate that the caller does not need this information.
Return Value
Type: System.Int32
Type: Int32
See Also
IOleCommandTarget Interface
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright