IServerProxy

    Registry

    Description:

    Defines the base class of the server proxy object.

    When the server provides cross-process system capabilities, it uses INHERIT_SERVER_IPROXY to define the server proxy.

    Summary

    Details

    INHERIT_IUNKNOWN

    Description:

    This class inherits from .

    Description:

    This function is implemented by developers and called by the system. This function runs in the message processing thread of the service. Do not block the message processing thread; otherwise, the function may fail to be executed.

    Parameters:

    Name

    Description

    Proxy Indicates the pointer to the server proxy object.
    funcId Indicates the ID of the server function to be invoked by the client.
    origin Indicates the original IPC message, from which the header information can be obtained.
    req ipc Indicates the message body, from which data can be obtained.
    reply Indicates the output parameter, which is used to respond to the message. The value can contain a maximum of five objects and 200 bytes.

    Returns:

    Returns EC_SUCCESS if the unmarshalling is successful; returns other error codes if the unmarshalling fails.