Documentation ¶
Index ¶
- Variables
- func IMSAdminBase3WServerHandle(ctx context.Context, o IMSAdminBase3WServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewIMSAdminBase3WServerHandle(o IMSAdminBase3WServer) dcerpc.ServerHandle
- func RegisterIMSAdminBase3WServer(conn dcerpc.Conn, o IMSAdminBase3WServer, opts ...dcerpc.Option)
- type GetChildPathsRequest
- type GetChildPathsResponse
- type IMSAdminBase3WClient
- type IMSAdminBase3WServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IMSAdminBase3W interface identifier f612954d-3b0b-4c56-9563-227b7be624b4 IMSAdminBase3WIID = &dcom.IID{Data1: 0xf612954d, Data2: 0x3b0b, Data3: 0x4c56, Data4: []byte{0x95, 0x63, 0x22, 0x7b, 0x7b, 0xe6, 0x24, 0xb4}} // Syntax UUID IMSAdminBase3WSyntaxUUID = &uuid.UUID{TimeLow: 0xf612954d, TimeMid: 0x3b0b, TimeHiAndVersion: 0x4c56, ClockSeqHiAndReserved: 0x95, ClockSeqLow: 0x63, Node: [6]uint8{0x22, 0x7b, 0x7b, 0xe6, 0x24, 0xb4}} // Syntax ID IMSAdminBase3WSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: IMSAdminBase3WSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/imsa"
)
Functions ¶
func NewIMSAdminBase3WServerHandle ¶
func NewIMSAdminBase3WServerHandle(o IMSAdminBase3WServer) dcerpc.ServerHandle
func RegisterIMSAdminBase3WServer ¶
func RegisterIMSAdminBase3WServer(conn dcerpc.Conn, o IMSAdminBase3WServer, opts ...dcerpc.Option)
Types ¶
type GetChildPathsRequest ¶
type GetChildPathsRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Handle uint32 `idl:"name:hMDHandle" json:"handle"` // pszMDPath: A pointer to a Unicode string that contains the path of the node to be // opened, relative to the hMDHandle parameter. Path string `idl:"name:pszMDPath;string;pointer:unique" json:"path"` // cchMDBufferSize: The size, in WCHAR, of the pszBuffer buffer to hold the paths for // all child nodes under the path specified. BufferSize uint32 `idl:"name:cchMDBufferSize" json:"buffer_size"` // pszBuffer: A pointer to a Unicode character buffer passed in by the caller to store // the retrieved child paths. The return data will be a set of WCHAR strings, where // each includes two terminating null characters. Buffer string `idl:"name:pszBuffer;size_is:(cchMDBufferSize);pointer:unique" json:"buffer"` // pcchMDRequiredBufferSize: An integer value indicating the required size of the buffer // if the supplied buffer proves to be insufficient. If the supplied buffer is sufficient, // this value will not be adjusted. RequiredBufferSize uint32 `idl:"name:pcchMDRequiredBufferSize;pointer:unique" json:"required_buffer_size"` }
GetChildPathsRequest structure represents the GetChildPaths operation request
func (*GetChildPathsRequest) MarshalNDR ¶
func (*GetChildPathsRequest) UnmarshalNDR ¶
type GetChildPathsResponse ¶
type GetChildPathsResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // pszBuffer: A pointer to a Unicode character buffer passed in by the caller to store // the retrieved child paths. The return data will be a set of WCHAR strings, where // each includes two terminating null characters. Buffer string `idl:"name:pszBuffer;size_is:(cchMDBufferSize);pointer:unique" json:"buffer"` // pcchMDRequiredBufferSize: An integer value indicating the required size of the buffer // if the supplied buffer proves to be insufficient. If the supplied buffer is sufficient, // this value will not be adjusted. RequiredBufferSize uint32 `idl:"name:pcchMDRequiredBufferSize;pointer:unique" json:"required_buffer_size"` // Return: The GetChildPaths return value. Return int32 `idl:"name:Return" json:"return"` }
GetChildPathsResponse structure represents the GetChildPaths operation response
func (*GetChildPathsResponse) MarshalNDR ¶
func (*GetChildPathsResponse) UnmarshalNDR ¶
type IMSAdminBase3WClient ¶
type IMSAdminBase3WClient interface { // IMSAdminBase2W retrieval method. IMSAdminBase2W() imsadminbase2w.IMSAdminBase2WClient // The GetChildPaths method returns all child nodes of a specified path from a supplied // metadata handle. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it failed. If the 12-bit facility code (bits 16–27) is // set to 0x007, the value contains a Win32 error code in the lower 16 bits. Zero or // positive values indicate success, with the lower 16 bits in positive nonzero values // containing warnings or flags defined in the method implementation. For more information // about Win32 error codes and HRESULT values, see [MS-ERREF]. // // +--------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------+----------------------------------------------------------+ // +--------------------------------------+----------------------------------------------------------+ // | 0x80070000 S_OK | The call was successful. | // +--------------------------------------+----------------------------------------------------------+ // | 0x80070003 ERROR_PATH_NOT_FOUND | The system cannot find the path specified. | // +--------------------------------------+----------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +--------------------------------------+----------------------------------------------------------+ // | 0x80070005 ERROR_ACCESS_DENIED | Access is denied. | // +--------------------------------------+----------------------------------------------------------+ // | 0x80070008 ERROR_NOT_ENOUGH_MEMORY | Not enough storage is available to process this command. | // +--------------------------------------+----------------------------------------------------------+ // | 0x8007000E E_OUTOFMEMORY | There was not enough memory to complete the method call. | // +--------------------------------------+----------------------------------------------------------+ // | 0x8007007A ERROR_INSUFFICIENT_BUFFER | The data area passed to a system call is too small. | // +--------------------------------------+----------------------------------------------------------+ // | 0x800700A0 ERROR_BAD_ARGUMENTS | One or more arguments are not correct. | // +--------------------------------------+----------------------------------------------------------+ // | 0x80004005 E_FAIL | An unspecified error occurred. | // +--------------------------------------+----------------------------------------------------------+ // | 0x80070006 E_HANDLE | An invalid handle was passed. | // +--------------------------------------+----------------------------------------------------------+ // | 0x800CC800 MD_ERROR_NOT_INITIALIZED | Metadata has not been initialized. | // +--------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 40. GetChildPaths(context.Context, *GetChildPathsRequest, ...dcerpc.CallOption) (*GetChildPathsResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) IMSAdminBase3WClient }
IMSAdminBase3W interface.
func NewIMSAdminBase3WClient ¶
type IMSAdminBase3WServer ¶
type IMSAdminBase3WServer interface { // IMSAdminBase2W base class. imsadminbase2w.IMSAdminBase2WServer // The GetChildPaths method returns all child nodes of a specified path from a supplied // metadata handle. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it failed. If the 12-bit facility code (bits 16–27) is // set to 0x007, the value contains a Win32 error code in the lower 16 bits. Zero or // positive values indicate success, with the lower 16 bits in positive nonzero values // containing warnings or flags defined in the method implementation. For more information // about Win32 error codes and HRESULT values, see [MS-ERREF]. // // +--------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------------+----------------------------------------------------------+ // +--------------------------------------+----------------------------------------------------------+ // | 0x80070000 S_OK | The call was successful. | // +--------------------------------------+----------------------------------------------------------+ // | 0x80070003 ERROR_PATH_NOT_FOUND | The system cannot find the path specified. | // +--------------------------------------+----------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +--------------------------------------+----------------------------------------------------------+ // | 0x80070005 ERROR_ACCESS_DENIED | Access is denied. | // +--------------------------------------+----------------------------------------------------------+ // | 0x80070008 ERROR_NOT_ENOUGH_MEMORY | Not enough storage is available to process this command. | // +--------------------------------------+----------------------------------------------------------+ // | 0x8007000E E_OUTOFMEMORY | There was not enough memory to complete the method call. | // +--------------------------------------+----------------------------------------------------------+ // | 0x8007007A ERROR_INSUFFICIENT_BUFFER | The data area passed to a system call is too small. | // +--------------------------------------+----------------------------------------------------------+ // | 0x800700A0 ERROR_BAD_ARGUMENTS | One or more arguments are not correct. | // +--------------------------------------+----------------------------------------------------------+ // | 0x80004005 E_FAIL | An unspecified error occurred. | // +--------------------------------------+----------------------------------------------------------+ // | 0x80070006 E_HANDLE | An invalid handle was passed. | // +--------------------------------------+----------------------------------------------------------+ // | 0x800CC800 MD_ERROR_NOT_INITIALIZED | Metadata has not been initialized. | // +--------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 40. GetChildPaths(context.Context, *GetChildPathsRequest) (*GetChildPathsResponse, error) }
IMSAdminBase3W server interface.
Click to show internal directories.
Click to hide internal directories.