Decodes a Mach message and converts it into an Apple event and its related reply.
- macOS 10.0+
- Core Services
A pointer to a Mach message header for the event to be decoded.
A pointer to a null Apple event descriptor (one with descriptor type
type). On successful completion, contains the decoded Apple event. If the function returns successfully, your application should call the
AEDisposefunction to dispose of the resulting descriptor after it has finished using it.
A pointer to a null Apple event descriptor. On successful completion, contains the reply event from the decoded Apple event. To send the reply, you use the following:
A result code. See Result Codes.