Documentation ¶
Index ¶
- Variables
- func NewValueMapServerHandle(o ValueMapServer) dcerpc.ServerHandle
- func RegisterValueMapServer(conn dcerpc.Conn, o ValueMapServer, opts ...dcerpc.Option)
- func ValueMapServerHandle(ctx context.Context, o ValueMapServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type AddRangeRequest
- type AddRangeResponse
- type AddRequest
- type AddResponse
- type ClearRequest
- type ClearResponse
- type CreateValueMapItemRequest
- type CreateValueMapItemResponse
- type GetCountRequest
- type GetCountResponse
- type GetDescriptionRequest
- type GetDescriptionResponse
- type GetItemRequest
- type GetItemResponse
- type GetValueMapTypeRequest
- type GetValueMapTypeResponse
- type GetValueRequest
- type GetValueResponse
- type Get_NewEnumRequest
- type Get_NewEnumResponse
- type RemoveRequest
- type RemoveResponse
- type SetDescriptionRequest
- type SetDescriptionResponse
- type SetValueMapTypeRequest
- type SetValueMapTypeResponse
- type SetValueRequest
- type SetValueResponse
- type ValueMapClient
- type ValueMapServer
Constants ¶
This section is empty.
Variables ¶
var ( // IValueMap interface identifier 03837534-098b-11d8-9414-505054503030 ValueMapIID = &dcom.IID{Data1: 0x03837534, Data2: 0x098b, Data3: 0x11d8, Data4: []byte{0x94, 0x14, 0x50, 0x50, 0x54, 0x50, 0x30, 0x30}} // Syntax UUID ValueMapSyntaxUUID = &uuid.UUID{TimeLow: 0x3837534, TimeMid: 0x98b, TimeHiAndVersion: 0x11d8, ClockSeqHiAndReserved: 0x94, ClockSeqLow: 0x14, Node: [6]uint8{0x50, 0x50, 0x54, 0x50, 0x30, 0x30}} // Syntax ID ValueMapSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ValueMapSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
var (
// import guard
GoPackage = "dcom/pla"
)
Functions ¶
func NewValueMapServerHandle ¶
func NewValueMapServerHandle(o ValueMapServer) dcerpc.ServerHandle
func RegisterValueMapServer ¶
func RegisterValueMapServer(conn dcerpc.Conn, o ValueMapServer, opts ...dcerpc.Option)
Types ¶
type AddRangeRequest ¶
type AddRangeRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Map *pla.ValueMap `idl:"name:map" json:"map"` }
AddRangeRequest structure represents the AddRange operation request
func (*AddRangeRequest) MarshalNDR ¶
func (*AddRangeRequest) UnmarshalNDR ¶
type AddRangeResponse ¶
type AddRangeResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The AddRange return value. Return int32 `idl:"name:Return" json:"return"` }
AddRangeResponse structure represents the AddRange operation response
func (*AddRangeResponse) MarshalNDR ¶
func (*AddRangeResponse) UnmarshalNDR ¶
type AddRequest ¶
type AddRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Value *oaut.Variant `idl:"name:value" json:"value"` }
AddRequest structure represents the Add operation request
func (*AddRequest) MarshalNDR ¶
func (*AddRequest) UnmarshalNDR ¶
type AddResponse ¶
type AddResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The Add return value. Return int32 `idl:"name:Return" json:"return"` }
AddResponse structure represents the Add operation response
func (*AddResponse) MarshalNDR ¶
func (*AddResponse) UnmarshalNDR ¶
type ClearRequest ¶
type ClearRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
ClearRequest structure represents the Clear operation request
func (*ClearRequest) MarshalNDR ¶
func (*ClearRequest) UnmarshalNDR ¶
type ClearResponse ¶
type ClearResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The Clear return value. Return int32 `idl:"name:Return" json:"return"` }
ClearResponse structure represents the Clear operation response
func (*ClearResponse) MarshalNDR ¶
func (*ClearResponse) UnmarshalNDR ¶
type CreateValueMapItemRequest ¶
type CreateValueMapItemRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
CreateValueMapItemRequest structure represents the CreateValueMapItem operation request
func (*CreateValueMapItemRequest) MarshalNDR ¶
func (*CreateValueMapItemRequest) UnmarshalNDR ¶
type CreateValueMapItemResponse ¶
type CreateValueMapItemResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Item: Receives the newly created value map item. Item *pla.ValueMapItem `idl:"name:Item" json:"item"` // Return: The CreateValueMapItem return value. Return int32 `idl:"name:Return" json:"return"` }
CreateValueMapItemResponse structure represents the CreateValueMapItem operation response
func (*CreateValueMapItemResponse) MarshalNDR ¶
func (*CreateValueMapItemResponse) UnmarshalNDR ¶
type GetCountRequest ¶
type GetCountRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetCountRequest structure represents the Count operation request
func (*GetCountRequest) MarshalNDR ¶
func (*GetCountRequest) UnmarshalNDR ¶
type GetCountResponse ¶
type GetCountResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` ReturnValue int32 `idl:"name:retVal" json:"return_value"` // Return: The Count return value. Return int32 `idl:"name:Return" json:"return"` }
GetCountResponse structure represents the Count operation response
func (*GetCountResponse) MarshalNDR ¶
func (*GetCountResponse) UnmarshalNDR ¶
type GetDescriptionRequest ¶
type GetDescriptionRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetDescriptionRequest structure represents the Description operation request
func (*GetDescriptionRequest) MarshalNDR ¶
func (*GetDescriptionRequest) UnmarshalNDR ¶
type GetDescriptionResponse ¶
type GetDescriptionResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` Description *oaut.String `idl:"name:description" json:"description"` // Return: The Description return value. Return int32 `idl:"name:Return" json:"return"` }
GetDescriptionResponse structure represents the Description operation response
func (*GetDescriptionResponse) MarshalNDR ¶
func (*GetDescriptionResponse) UnmarshalNDR ¶
type GetItemRequest ¶
type GetItemRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Index *oaut.Variant `idl:"name:index" json:"index"` }
GetItemRequest structure represents the Item operation request
func (*GetItemRequest) MarshalNDR ¶
func (*GetItemRequest) UnmarshalNDR ¶
type GetItemResponse ¶
type GetItemResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` Value *pla.ValueMapItem `idl:"name:value" json:"value"` // Return: The Item return value. Return int32 `idl:"name:Return" json:"return"` }
GetItemResponse structure represents the Item operation response
func (*GetItemResponse) MarshalNDR ¶
func (*GetItemResponse) UnmarshalNDR ¶
type GetValueMapTypeRequest ¶
type GetValueMapTypeRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetValueMapTypeRequest structure represents the ValueMapType operation request
func (*GetValueMapTypeRequest) MarshalNDR ¶
func (*GetValueMapTypeRequest) UnmarshalNDR ¶
type GetValueMapTypeResponse ¶
type GetValueMapTypeResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` Type pla.ValueMapType `idl:"name:type" json:"type"` // Return: The ValueMapType return value. Return int32 `idl:"name:Return" json:"return"` }
GetValueMapTypeResponse structure represents the ValueMapType operation response
func (*GetValueMapTypeResponse) MarshalNDR ¶
func (*GetValueMapTypeResponse) UnmarshalNDR ¶
type GetValueRequest ¶
type GetValueRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetValueRequest structure represents the Value operation request
func (*GetValueRequest) MarshalNDR ¶
func (*GetValueRequest) UnmarshalNDR ¶
type GetValueResponse ¶
type GetValueResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` Value *oaut.Variant `idl:"name:Value" json:"value"` // Return: The Value return value. Return int32 `idl:"name:Return" json:"return"` }
GetValueResponse structure represents the Value operation response
func (*GetValueResponse) MarshalNDR ¶
func (*GetValueResponse) UnmarshalNDR ¶
type Get_NewEnumRequest ¶
type Get_NewEnumRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
Get_NewEnumRequest structure represents the _NewEnum operation request
func (*Get_NewEnumRequest) MarshalNDR ¶
func (*Get_NewEnumRequest) UnmarshalNDR ¶
type Get_NewEnumResponse ¶
type Get_NewEnumResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` ReturnValue *dcom.Unknown `idl:"name:retVal" json:"return_value"` // Return: The _NewEnum return value. Return int32 `idl:"name:Return" json:"return"` }
Get_NewEnumResponse structure represents the _NewEnum operation response
func (*Get_NewEnumResponse) MarshalNDR ¶
func (*Get_NewEnumResponse) UnmarshalNDR ¶
type RemoveRequest ¶
type RemoveRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Value *oaut.Variant `idl:"name:value" json:"value"` }
RemoveRequest structure represents the Remove operation request
func (*RemoveRequest) MarshalNDR ¶
func (*RemoveRequest) UnmarshalNDR ¶
type RemoveResponse ¶
type RemoveResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The Remove return value. Return int32 `idl:"name:Return" json:"return"` }
RemoveResponse structure represents the Remove operation response
func (*RemoveResponse) MarshalNDR ¶
func (*RemoveResponse) UnmarshalNDR ¶
type SetDescriptionRequest ¶
type SetDescriptionRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Description *oaut.String `idl:"name:description" json:"description"` }
SetDescriptionRequest structure represents the Description operation request
func (*SetDescriptionRequest) MarshalNDR ¶
func (*SetDescriptionRequest) UnmarshalNDR ¶
type SetDescriptionResponse ¶
type SetDescriptionResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The Description return value. Return int32 `idl:"name:Return" json:"return"` }
SetDescriptionResponse structure represents the Description operation response
func (*SetDescriptionResponse) MarshalNDR ¶
func (*SetDescriptionResponse) UnmarshalNDR ¶
type SetValueMapTypeRequest ¶
type SetValueMapTypeRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Type pla.ValueMapType `idl:"name:type" json:"type"` }
SetValueMapTypeRequest structure represents the ValueMapType operation request
func (*SetValueMapTypeRequest) MarshalNDR ¶
func (*SetValueMapTypeRequest) UnmarshalNDR ¶
type SetValueMapTypeResponse ¶
type SetValueMapTypeResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The ValueMapType return value. Return int32 `idl:"name:Return" json:"return"` }
SetValueMapTypeResponse structure represents the ValueMapType operation response
func (*SetValueMapTypeResponse) MarshalNDR ¶
func (*SetValueMapTypeResponse) UnmarshalNDR ¶
type SetValueRequest ¶
type SetValueRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Value *oaut.Variant `idl:"name:Value" json:"value"` }
SetValueRequest structure represents the Value operation request
func (*SetValueRequest) MarshalNDR ¶
func (*SetValueRequest) UnmarshalNDR ¶
type SetValueResponse ¶
type SetValueResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The Value return value. Return int32 `idl:"name:Return" json:"return"` }
SetValueResponse structure represents the Value operation response
func (*SetValueResponse) MarshalNDR ¶
func (*SetValueResponse) UnmarshalNDR ¶
type ValueMapClient ¶
type ValueMapClient interface { // IDispatch retrieval method. Dispatch() idispatch.DispatchClient // Count operation. GetCount(context.Context, *GetCountRequest, ...dcerpc.CallOption) (*GetCountResponse, error) // Item operation. GetItem(context.Context, *GetItemRequest, ...dcerpc.CallOption) (*GetItemResponse, error) // _NewEnum operation. Get_NewEnum(context.Context, *Get_NewEnumRequest, ...dcerpc.CallOption) (*Get_NewEnumResponse, error) // Description operation. GetDescription(context.Context, *GetDescriptionRequest, ...dcerpc.CallOption) (*GetDescriptionResponse, error) // Description operation. SetDescription(context.Context, *SetDescriptionRequest, ...dcerpc.CallOption) (*SetDescriptionResponse, error) // Value operation. GetValue(context.Context, *GetValueRequest, ...dcerpc.CallOption) (*GetValueResponse, error) // Value operation. SetValue(context.Context, *SetValueRequest, ...dcerpc.CallOption) (*SetValueResponse, error) // The ValueMapType enumeration defines a value map type. A value map defines a named-value // pair. A value map can be used in different ways. A value map type defines which way // the value map is to be used; each type has a different way of evaluating the "value" // of the "value map" based on the "values" of each individual "value map item". GetValueMapType(context.Context, *GetValueMapTypeRequest, ...dcerpc.CallOption) (*GetValueMapTypeResponse, error) // The ValueMapType enumeration defines a value map type. A value map defines a named-value // pair. A value map can be used in different ways. A value map type defines which way // the value map is to be used; each type has a different way of evaluating the "value" // of the "value map" based on the "values" of each individual "value map item". SetValueMapType(context.Context, *SetValueMapTypeRequest, ...dcerpc.CallOption) (*SetValueMapTypeResponse, error) // Add operation. Add(context.Context, *AddRequest, ...dcerpc.CallOption) (*AddResponse, error) // Remove operation. Remove(context.Context, *RemoveRequest, ...dcerpc.CallOption) (*RemoveResponse, error) // Clear operation. Clear(context.Context, *ClearRequest, ...dcerpc.CallOption) (*ClearResponse, error) // AddRange operation. AddRange(context.Context, *AddRangeRequest, ...dcerpc.CallOption) (*AddRangeResponse, error) // The CreateValueMapItem method creates an object implementing the IValueMapItem interface. // This object can be configured and then passed to IValueMap::Add. This method exists // to provide a means for populating ValueMaps. // // Return Values: This method MUST return an HRESULT with the severity bit clear on // success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as // defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1. CreateValueMapItem(context.Context, *CreateValueMapItemRequest, ...dcerpc.CallOption) (*CreateValueMapItemResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) ValueMapClient }
IValueMap interface.
func NewValueMapClient ¶
type ValueMapServer ¶
type ValueMapServer interface { // IDispatch base class. idispatch.DispatchServer // Count operation. GetCount(context.Context, *GetCountRequest) (*GetCountResponse, error) // Item operation. GetItem(context.Context, *GetItemRequest) (*GetItemResponse, error) // _NewEnum operation. Get_NewEnum(context.Context, *Get_NewEnumRequest) (*Get_NewEnumResponse, error) // Description operation. GetDescription(context.Context, *GetDescriptionRequest) (*GetDescriptionResponse, error) // Description operation. SetDescription(context.Context, *SetDescriptionRequest) (*SetDescriptionResponse, error) // Value operation. GetValue(context.Context, *GetValueRequest) (*GetValueResponse, error) // Value operation. SetValue(context.Context, *SetValueRequest) (*SetValueResponse, error) // The ValueMapType enumeration defines a value map type. A value map defines a named-value // pair. A value map can be used in different ways. A value map type defines which way // the value map is to be used; each type has a different way of evaluating the "value" // of the "value map" based on the "values" of each individual "value map item". GetValueMapType(context.Context, *GetValueMapTypeRequest) (*GetValueMapTypeResponse, error) // The ValueMapType enumeration defines a value map type. A value map defines a named-value // pair. A value map can be used in different ways. A value map type defines which way // the value map is to be used; each type has a different way of evaluating the "value" // of the "value map" based on the "values" of each individual "value map item". SetValueMapType(context.Context, *SetValueMapTypeRequest) (*SetValueMapTypeResponse, error) // Add operation. Add(context.Context, *AddRequest) (*AddResponse, error) // Remove operation. Remove(context.Context, *RemoveRequest) (*RemoveResponse, error) // Clear operation. Clear(context.Context, *ClearRequest) (*ClearResponse, error) // AddRange operation. AddRange(context.Context, *AddRangeRequest) (*AddRangeResponse, error) // The CreateValueMapItem method creates an object implementing the IValueMapItem interface. // This object can be configured and then passed to IValueMap::Add. This method exists // to provide a means for populating ValueMaps. // // Return Values: This method MUST return an HRESULT with the severity bit clear on // success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as // defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1. CreateValueMapItem(context.Context, *CreateValueMapItemRequest) (*CreateValueMapItemResponse, error) }
IValueMap server interface.