Generated from Manticore v1.1.6 • 388 packages. View on pkg.go.dev

functions

import "github.com/TheManticoreProject/Manticore/network/dcerpc/interfaces/300f3532-38cc-11d0-a3f0-0020af6b0add/1.2/functions"

Index

func LnkSearchMachine

func LnkSearchMachine(rpc ndr.Invoker, restrictions ndr.DWORD, pdroidBirthLast msdltw.CDomainRelativeObjId, pdroidLast msdltw.CDomainRelativeObjId) (PdroidBirthNext msdltw.CDomainRelativeObjId, PdroidNext msdltw.CDomainRelativeObjId, PmcidNext msdltw.CMachineId, PtszPath ndr.WSTR, err error)

LnkSearchMachine calls LnkSearchMachine (opnum 12, [MS-DLTW] 3.1.4.1): it searches the target computer for the file identified by pdroidBirthLast (FileID) and pdroidLast (last-known FileLocation), returning the file’s new FileID (PdroidBirthNext), FileLocation (PdroidNext), the holding computer’s MachineID (PmcidNext), and its UNC path (PtszPath). Restrictions is unused and MUST be zero.

The method returns an HRESULT; the [out] parameters remain meaningful for the soft failures TRK_E_REFERRAL (a move referral) and TRK_E_POTENTIAL_FILE_FOUND (a candidate file), so they are always returned to the caller and the HRESULT is surfaced verbatim in err. Success is any value with the sign bit clear (see trkwks.StatusIsSuccess).