functions
import "github.com/TheManticoreProject/Manticore/network/dcerpc/interfaces/2f5f6521-ca47-1068-b319-00dd010662db/1.0/functions"
Index
- func RemoteSPAttach(rpc ndr.Invoker) (PphContext mstrp.PCONTEXT_HANDLE_TYPE2, err error)
- func RemoteSPDetach(rpc ndr.Invoker, pphContext mstrp.PCONTEXT_HANDLE_TYPE2) (PphContext mstrp.PCONTEXT_HANDLE_TYPE2, err error)
- func RemoteSPEventProc(rpc ndr.Invoker, phContext mstrp.PCONTEXT_HANDLE_TYPE2, pBuffer []uint8, lSize ndr.DWORD) (err error)
func RemoteSPAttach
func RemoteSPAttach(rpc ndr.Invoker) (PphContext mstrp.PCONTEXT_HANDLE_TYPE2, err error)
RemoteSPAttach calls RemoteSPAttach (opnum 0) ([MS-TRP] 3.1.4.1). In the protocol the telephony server is the RPC client for the remotesp interface: it calls RemoteSPAttach on the client (which hosts the remotesp server) to establish a reverse binding for event delivery. On success the callee returns the remotesp context handle. The method returns 0 on success or a nonzero error code.
func RemoteSPDetach
func RemoteSPDetach(rpc ndr.Invoker, pphContext mstrp.PCONTEXT_HANDLE_TYPE2) (PphContext mstrp.PCONTEXT_HANDLE_TYPE2, err error)
RemoteSPDetach calls RemoteSPDetach (opnum 2) ([MS-TRP] 3.1.4.3). The telephony server invokes it on the client to tear down the reverse binding established by RemoteSPAttach and free the associated state. The callee returns the handle nulled out (IsZero); transport-level failures surface through err.
func RemoteSPEventProc
func RemoteSPEventProc(rpc ndr.Invoker, phContext mstrp.PCONTEXT_HANDLE_TYPE2, pBuffer []uint8, lSize ndr.DWORD) (err error)
RemoteSPEventProc calls RemoteSPEventProc (opnum 1) ([MS-TRP] 3.1.4.2). The telephony server invokes it on the client to push an asynchronous TAPI event: pBuffer holds the packed event data of lSize bytes for the session identified by phContext. It returns no value; transport-level failures surface through err.