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

functions

import "github.com/TheManticoreProject/Manticore/network/dcerpc/interfaces/da5a86c5-12c2-4943-ab30-7f74a813d853/1.0/functions"

Index

func PerflibV2CloseQueryHandle

func PerflibV2CloseQueryHandle(rpc ndr.Invoker, phQuery mspcq.PRPC_HQUERY) (PhQuery mspcq.PRPC_HQUERY, err error)

PerflibV2CloseQueryHandle calls PerflibV2CloseQueryHandle (opnum 4) ([MS-PCQ] 3.1.4.5). It closes the query and releases the server-side state; phQuery is [in,out] and the server zeroes the returned handle on success (RPC_HQUERY.IsZero reports this).

func PerflibV2EnumerateCounterSet

func PerflibV2EnumerateCounterSet(rpc ndr.Invoker, szMachine ndr.WSTR, dwInSize ndr.DWORD) (PdwOutSize ndr.DWORD, PdwRtnSize ndr.DWORD, LpData []msdtyp.GUID, err error)

PerflibV2EnumerateCounterSet calls PerflibV2EnumerateCounterSet (opnum 0) ([MS-PCQ] 3.1.4.1). A dwInSize of 0 is the size-probe form: the server returns ERROR_NOT_ENOUGH_MEMORY with the required buffer size in pdwRtnSize, which this stub tolerates as a non-error.

func PerflibV2EnumerateCounterSetInstances

func PerflibV2EnumerateCounterSetInstances(rpc ndr.Invoker, szMachine ndr.WSTR, counterSetGuid msdtyp.GUID, dwInSize ndr.DWORD) (PdwOutSize ndr.DWORD, PdwRtnSize ndr.DWORD, LpData []uint8, err error)

PerflibV2EnumerateCounterSetInstances calls PerflibV2EnumerateCounterSetInstances (opnum 2) ([MS-PCQ] 3.1.4.3). A dwInSize of 0 is the size-probe form; the server returns ERROR_NOT_ENOUGH_MEMORY with the required buffer size in pdwRtnSize, which this stub tolerates as a non-error.

func PerflibV2OpenQueryHandle

func PerflibV2OpenQueryHandle(rpc ndr.Invoker, szMachine ndr.WSTR) (PhQuery mspcq.PRPC_HQUERY, err error)

PerflibV2OpenQueryHandle calls PerflibV2OpenQueryHandle (opnum 3) ([MS-PCQ] 3.1.4.4). It creates a query on the server and returns the RPC context handle used by the subsequent PerflibV2QueryCounter* calls; release it with PerflibV2CloseQueryHandle.

func PerflibV2QueryCounterData

func PerflibV2QueryCounterData(rpc ndr.Invoker, hQuery mspcq.RPC_HQUERY, dwInSize ndr.DWORD) (PdwOutSize ndr.DWORD, PdwRtnSize ndr.DWORD, LpData []uint8, err error)

PerflibV2QueryCounterData calls PerflibV2QueryCounterData (opnum 6) ([MS-PCQ] 3.1.4.7). A dwInSize of 0 is the size-probe form; the server returns ERROR_NOT_ENOUGH_MEMORY with the required buffer size in pdwRtnSize, which this stub tolerates as a non-error.

func PerflibV2QueryCounterInfo

func PerflibV2QueryCounterInfo(rpc ndr.Invoker, hQuery mspcq.RPC_HQUERY, dwInSize ndr.DWORD) (PdwOutSize ndr.DWORD, PdwRtnSize ndr.DWORD, LpData []uint8, err error)

PerflibV2QueryCounterInfo calls PerflibV2QueryCounterInfo (opnum 5) ([MS-PCQ] 3.1.4.6). A dwInSize of 0 is the size-probe form; the server returns ERROR_NOT_ENOUGH_MEMORY with the required buffer size in pdwRtnSize, which this stub tolerates as a non-error.

func PerflibV2QueryCounterSetRegistrationInfo

func PerflibV2QueryCounterSetRegistrationInfo(rpc ndr.Invoker, szMachine ndr.WSTR, counterSetGuid msdtyp.GUID, requestCode ndr.DWORD, requestLCID ndr.DWORD, dwInSize ndr.DWORD) (PdwOutSize ndr.DWORD, PdwRtnSize ndr.DWORD, LpData []uint8, err error)

PerflibV2QueryCounterSetRegistrationInfo calls PerflibV2QueryCounterSetRegistrationInfo (opnum 1) ([MS-PCQ] 3.1.4.2). A dwInSize of 0 is the size-probe form; the server returns ERROR_NOT_ENOUGH_MEMORY with the required buffer size in pdwRtnSize, which this stub tolerates as a non-error.

func PerflibV2ValidateCounters

func PerflibV2ValidateCounters(rpc ndr.Invoker, hQuery mspcq.RPC_HQUERY, dwInSize ndr.DWORD, lpData []uint8, dwAdd ndr.DWORD) (LpData []uint8, err error)

PerflibV2ValidateCounters calls PerflibV2ValidateCounters (opnum 7) ([MS-PCQ] 3.1.4.8). lpData is an in/out buffer of exactly dwInSize bytes; pass len(lpData) == dwInSize.