3.2.6.2.1 QueueManager

 The MQDS client MUST perform the following actions:

  1.  The arguments supplied to the Delete Directory Object event MUST meet the following conditions. If any of these conditions are violated, processing of the event MUST end. rStatus MUST be set to DirectoryOperationResult.GenericError.

    • At least one of the iDirectoryObject.ComputerName or iDirectoryObject.Identifier attributes MUST be populated.

  2. If iDirectoryObject.ComputerName is populated, then the S_DSDeleteObject method (section 3.1.4.5) MUST be called with the following arguments:

    1. dwObjectType MUST be MQDS_MACHINE.

    2. pwcsPathName MUST point to a buffer containing the value of iDirectoryObject.ComputerName.

  3. Otherwise, the S_DSDeleteObjectGuid method (section 3.1.4.6) MUST be called with the following arguments:

    1. dwObjectType MUST be MQDS_MACHINE.

    2. pGuid MUST point to a buffer containing the value of iDirectoryObject.Identifier.

  4. If the return value of the method is not MQ_OK, then processing MUST end. rStatus MUST be set to DirectoryOperationResult.GenericError.

  5. If the return value of the method is MQ_OK, then processing MUST end. rStatus MUST be set to DirectoryOperationResult.Success.