iiisapplicationadmin

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IIISApplicationAdmin interface identifier 7c4e1804-e342-483d-a43e-a850cfcc8d18
	IISApplicationAdminIID = &dcom.IID{Data1: 0x7c4e1804, Data2: 0xe342, Data3: 0x483d, Data4: []byte{0xa4, 0x3e, 0xa8, 0x50, 0xcf, 0xcc, 0x8d, 0x18}}
	// Syntax UUID
	IISApplicationAdminSyntaxUUID = &uuid.UUID{TimeLow: 0x7c4e1804, TimeMid: 0xe342, TimeHiAndVersion: 0x483d, ClockSeqHiAndReserved: 0xa4, ClockSeqLow: 0x3e, Node: [6]uint8{0xa8, 0x50, 0xcf, 0xcc, 0x8d, 0x18}}
	// Syntax ID
	IISApplicationAdminSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: IISApplicationAdminSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/imsa"
)

Functions

func IISApplicationAdminServerHandle

func IISApplicationAdminServerHandle(ctx context.Context, o IISApplicationAdminServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)

func NewIISApplicationAdminServerHandle

func NewIISApplicationAdminServerHandle(o IISApplicationAdminServer) dcerpc.ServerHandle

func RegisterIISApplicationAdminServer

func RegisterIISApplicationAdminServer(conn dcerpc.Conn, o IISApplicationAdminServer, opts ...dcerpc.Option)

Types

type CreateApplicationPoolRequest

type CreateApplicationPoolRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// szPool: A pointer to a Unicode string that contains the name of the new application
	// pool.
	Pool string `idl:"name:szPool;string;pointer:unique" json:"pool"`
}

CreateApplicationPoolRequest structure represents the CreateApplicationPool operation request

func (*CreateApplicationPoolRequest) MarshalNDR

func (*CreateApplicationPoolRequest) UnmarshalNDR

func (o *CreateApplicationPoolRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateApplicationPoolResponse

type CreateApplicationPoolResponse 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 CreateApplicationPool return value.
	Return int32 `idl:"name:Return" json:"return"`
}

CreateApplicationPoolResponse structure represents the CreateApplicationPool operation response

func (*CreateApplicationPoolResponse) MarshalNDR

func (*CreateApplicationPoolResponse) UnmarshalNDR

func (o *CreateApplicationPoolResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateApplicationRequest

type CreateApplicationRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// szMDPath: A pointer to a Unicode string that contains the metabase path of the application.
	Path string `idl:"name:szMDPath;string;pointer:unique" json:"path"`
	// dwAppMode:  An unsigned 32-bit integer value indicating the process where the application
	// will run. This parameter MUST be set to one of the following values.
	//
	//	+----------------------------------------+----------------------------------------------------------------------------------+
	//	|                                        |                                                                                  |
	//	|                 VALUE                  |                                     MEANING                                      |
	//	|                                        |                                                                                  |
	//	+----------------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------------+----------------------------------------------------------------------------------+
	//	| eAppRunInProc 0x00000000               | The application runs in the IIS parent process.                                  |
	//	+----------------------------------------+----------------------------------------------------------------------------------+
	//	| eAppRunOutProcIsolated 0x00000001      | The application runs in its own process.                                         |
	//	+----------------------------------------+----------------------------------------------------------------------------------+
	//	| eAppRunOutProcInDefaultPool 0x00000002 | The application runs in a shared process with other applications outside of the  |
	//	|                                        | IIS parent process.                                                              |
	//	+----------------------------------------+----------------------------------------------------------------------------------+
	AppMode uint32 `idl:"name:dwAppMode" json:"app_mode"`
	// szAppPoolId: A pointer to a Unicode string that specifies the application pool name
	// with which to associate the new application.
	AppPoolID string `idl:"name:szAppPoolId;string;pointer:unique" json:"app_pool_id"`
	// fCreatePool: A flag indicating whether to create a new application pool if the pool
	// specified by the szAppPoolId parameter does not exist (TRUE) or to use an existing
	// application pool (FALSE).
	CreatePool bool `idl:"name:fCreatePool" json:"create_pool"`
}

CreateApplicationRequest structure represents the CreateApplication operation request

func (*CreateApplicationRequest) MarshalNDR

func (o *CreateApplicationRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateApplicationRequest) UnmarshalNDR

func (o *CreateApplicationRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateApplicationResponse

type CreateApplicationResponse 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 CreateApplication return value.
	Return int32 `idl:"name:Return" json:"return"`
}

CreateApplicationResponse structure represents the CreateApplication operation response

func (*CreateApplicationResponse) MarshalNDR

func (o *CreateApplicationResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateApplicationResponse) UnmarshalNDR

func (o *CreateApplicationResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type DeleteApplicationPoolRequest

type DeleteApplicationPoolRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// szPool: A pointer to a Unicode string that contains the name of the application pool
	// to delete.
	Pool string `idl:"name:szPool;string;pointer:unique" json:"pool"`
}

DeleteApplicationPoolRequest structure represents the DeleteApplicationPool operation request

func (*DeleteApplicationPoolRequest) MarshalNDR

func (*DeleteApplicationPoolRequest) UnmarshalNDR

func (o *DeleteApplicationPoolRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type DeleteApplicationPoolResponse

type DeleteApplicationPoolResponse 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 DeleteApplicationPool return value.
	Return int32 `idl:"name:Return" json:"return"`
}

DeleteApplicationPoolResponse structure represents the DeleteApplicationPool operation response

func (*DeleteApplicationPoolResponse) MarshalNDR

func (*DeleteApplicationPoolResponse) UnmarshalNDR

func (o *DeleteApplicationPoolResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type DeleteApplicationRequest

type DeleteApplicationRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// szMDPath:  A pointer to a Unicode string that contains the metabase path of the
	// application.
	Path string `idl:"name:szMDPath;string;pointer:unique" json:"path"`
	// fRecursive: A flag indicating whether application definitions are also to be deleted
	// from all subkeys (TRUE) or just from the application at this key (FALSE).
	Recursive bool `idl:"name:fRecursive" json:"recursive"`
}

DeleteApplicationRequest structure represents the DeleteApplication operation request

func (*DeleteApplicationRequest) MarshalNDR

func (o *DeleteApplicationRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*DeleteApplicationRequest) UnmarshalNDR

func (o *DeleteApplicationRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type DeleteApplicationResponse

type DeleteApplicationResponse 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 DeleteApplication return value.
	Return int32 `idl:"name:Return" json:"return"`
}

DeleteApplicationResponse structure represents the DeleteApplication operation response

func (*DeleteApplicationResponse) MarshalNDR

func (o *DeleteApplicationResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*DeleteApplicationResponse) UnmarshalNDR

func (o *DeleteApplicationResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumerateApplicationsInPoolRequest

type EnumerateApplicationsInPoolRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// szPool: A pointer to a Unicode string that contains the name of the application pool
	// to enumerate.
	Pool string `idl:"name:szPool;string;pointer:unique" json:"pool"`
}

EnumerateApplicationsInPoolRequest structure represents the EnumerateApplicationsInPool operation request

func (*EnumerateApplicationsInPoolRequest) MarshalNDR

func (*EnumerateApplicationsInPoolRequest) UnmarshalNDR

type EnumerateApplicationsInPoolResponse

type EnumerateApplicationsInPoolResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// bstrBuffer: A pointer to a BSTR that receives the application metabase paths. The
	// BSTR contains a sequence of contiguous null-terminated strings. The buffer is terminated
	// by another null character. The server allocates storage, and the client is responsible
	// for freeing the storage with SysFreeString; see [MS-OAUT].
	Buffer *oaut.String `idl:"name:bstrBuffer" json:"buffer"`
	// Return: The EnumerateApplicationsInPool return value.
	Return int32 `idl:"name:Return" json:"return"`
}

EnumerateApplicationsInPoolResponse structure represents the EnumerateApplicationsInPool operation response

func (*EnumerateApplicationsInPoolResponse) MarshalNDR

func (*EnumerateApplicationsInPoolResponse) UnmarshalNDR

type GetProcessModeRequest

type GetProcessModeRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

GetProcessModeRequest structure represents the GetProcessMode operation request

func (*GetProcessModeRequest) MarshalNDR

func (o *GetProcessModeRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetProcessModeRequest) UnmarshalNDR

func (o *GetProcessModeRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetProcessModeResponse

type GetProcessModeResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pdwMode: A pointer to an unsigned 32-bit integer that receives the server's application
	// execution mode. This parameter MUST be set to one of the following values.
	//
	//	+------------+----------------------------------------------------------------------------------+
	//	|            |                                                                                  |
	//	|   VALUE    |                                     MEANING                                      |
	//	|            |                                                                                  |
	//	+------------+----------------------------------------------------------------------------------+
	//	+------------+----------------------------------------------------------------------------------+
	//	| 0x00000001 | The server is hosting applications in application pools.                         |
	//	+------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 | The server is hosting applications in the IIS server process and child           |
	//	|            | processes.                                                                       |
	//	+------------+----------------------------------------------------------------------------------+
	Mode uint32 `idl:"name:pdwMode" json:"mode"`
	// Return: The GetProcessMode return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetProcessModeResponse structure represents the GetProcessMode operation response

func (*GetProcessModeResponse) MarshalNDR

func (o *GetProcessModeResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetProcessModeResponse) UnmarshalNDR

func (o *GetProcessModeResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type IISApplicationAdminClient

type IISApplicationAdminClient interface {

	// IUnknown retrieval method.
	Unknown() iunknown.UnknownClient

	// The CreateApplication method creates a new application at the specified metabase
	// path.
	//
	// 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             |
	//	|                            |                                    |
	//	+----------------------------+------------------------------------+
	//	+----------------------------+------------------------------------+
	//	| 0x00000000 S_OK            | The call was successful.           |
	//	+----------------------------+------------------------------------+
	//	| 0x80070057 E_INVALIDARG    | One or more arguments are invalid. |
	//	+----------------------------+------------------------------------+
	//	| 0x80070490 ERROR_NOT_FOUND | Element not found.                 |
	//	+----------------------------+------------------------------------+
	//
	// The opnum field value for this method is 3.
	CreateApplication(context.Context, *CreateApplicationRequest, ...dcerpc.CallOption) (*CreateApplicationResponse, error)

	// The DeleteApplication method deletes the application from the specified metabase
	// path.
	//
	// 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                 |
	//	|                                 |                                            |
	//	+---------------------------------+--------------------------------------------+
	//	+---------------------------------+--------------------------------------------+
	//	| 0x00000000 S_OK                 | The call was successful.                   |
	//	+---------------------------------+--------------------------------------------+
	//	| 0x80070057 E_INVALIDARG         | One or more arguments are invalid.         |
	//	+---------------------------------+--------------------------------------------+
	//	| 0x80070003 ERROR_PATH_NOT_FOUND | The system cannot find the path specified. |
	//	+---------------------------------+--------------------------------------------+
	//
	// The opnum field value for this method is 4.
	DeleteApplication(context.Context, *DeleteApplicationRequest, ...dcerpc.CallOption) (*DeleteApplicationResponse, error)

	// The CreateApplicationPool method creates a new application pool.
	//
	// 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        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// The opnum field value for this method is 5.
	CreateApplicationPool(context.Context, *CreateApplicationPoolRequest, ...dcerpc.CallOption) (*CreateApplicationPoolResponse, error)

	// The DeleteApplicationPool method deletes an application pool.
	//
	// 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                                 |
	//	|                            |                                                                            |
	//	+----------------------------+----------------------------------------------------------------------------+
	//	+----------------------------+----------------------------------------------------------------------------+
	//	| 0x00000000 S_OK            | The call was successful.                                                   |
	//	+----------------------------+----------------------------------------------------------------------------+
	//	| 0x80070490 ERROR_NOT_FOUND | Element not found.                                                         |
	//	+----------------------------+----------------------------------------------------------------------------+
	//	| 0x800710D3 ERROR_NOT_EMPTY | The library, drive, or media pool must be empty to perform this operation. |
	//	+----------------------------+----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 6.
	DeleteApplicationPool(context.Context, *DeleteApplicationPoolRequest, ...dcerpc.CallOption) (*DeleteApplicationPoolResponse, error)

	// The EnumerateApplicationsInPool method returns the metabase paths for the applications
	// associated with the application pool.
	//
	// 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        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// The opnum field value for this method is 7.
	EnumerateApplicationsInPool(context.Context, *EnumerateApplicationsInPoolRequest, ...dcerpc.CallOption) (*EnumerateApplicationsInPoolResponse, error)

	// The RecycleApplicationPool method restarts an application pool.
	//
	// 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                 |
	//	|                                 |                                            |
	//	+---------------------------------+--------------------------------------------+
	//	+---------------------------------+--------------------------------------------+
	//	| 0x00000000 S_OK                 | The call was successful.                   |
	//	+---------------------------------+--------------------------------------------+
	//	| 0x80070003 ERROR_PATH_NOT_FOUND | The system cannot find the path specified. |
	//	+---------------------------------+--------------------------------------------+
	//
	// The opnum field value for this method is 8.
	RecycleApplicationPool(context.Context, *RecycleApplicationPoolRequest, ...dcerpc.CallOption) (*RecycleApplicationPoolResponse, error)

	// The GetProcessMode method retrieves the application execution mode for the IIS server.
	//
	// 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        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// The opnum field value for this method is 9.
	GetProcessMode(context.Context, *GetProcessModeRequest, ...dcerpc.CallOption) (*GetProcessModeResponse, error)

	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error

	// IPID sets the object interface identifier.
	IPID(context.Context, *dcom.IPID) IISApplicationAdminClient
}

IIISApplicationAdmin interface.

func NewIISApplicationAdminClient

func NewIISApplicationAdminClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (IISApplicationAdminClient, error)

type IISApplicationAdminServer

type IISApplicationAdminServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// The CreateApplication method creates a new application at the specified metabase
	// path.
	//
	// 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             |
	//	|                            |                                    |
	//	+----------------------------+------------------------------------+
	//	+----------------------------+------------------------------------+
	//	| 0x00000000 S_OK            | The call was successful.           |
	//	+----------------------------+------------------------------------+
	//	| 0x80070057 E_INVALIDARG    | One or more arguments are invalid. |
	//	+----------------------------+------------------------------------+
	//	| 0x80070490 ERROR_NOT_FOUND | Element not found.                 |
	//	+----------------------------+------------------------------------+
	//
	// The opnum field value for this method is 3.
	CreateApplication(context.Context, *CreateApplicationRequest) (*CreateApplicationResponse, error)

	// The DeleteApplication method deletes the application from the specified metabase
	// path.
	//
	// 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                 |
	//	|                                 |                                            |
	//	+---------------------------------+--------------------------------------------+
	//	+---------------------------------+--------------------------------------------+
	//	| 0x00000000 S_OK                 | The call was successful.                   |
	//	+---------------------------------+--------------------------------------------+
	//	| 0x80070057 E_INVALIDARG         | One or more arguments are invalid.         |
	//	+---------------------------------+--------------------------------------------+
	//	| 0x80070003 ERROR_PATH_NOT_FOUND | The system cannot find the path specified. |
	//	+---------------------------------+--------------------------------------------+
	//
	// The opnum field value for this method is 4.
	DeleteApplication(context.Context, *DeleteApplicationRequest) (*DeleteApplicationResponse, error)

	// The CreateApplicationPool method creates a new application pool.
	//
	// 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        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// The opnum field value for this method is 5.
	CreateApplicationPool(context.Context, *CreateApplicationPoolRequest) (*CreateApplicationPoolResponse, error)

	// The DeleteApplicationPool method deletes an application pool.
	//
	// 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                                 |
	//	|                            |                                                                            |
	//	+----------------------------+----------------------------------------------------------------------------+
	//	+----------------------------+----------------------------------------------------------------------------+
	//	| 0x00000000 S_OK            | The call was successful.                                                   |
	//	+----------------------------+----------------------------------------------------------------------------+
	//	| 0x80070490 ERROR_NOT_FOUND | Element not found.                                                         |
	//	+----------------------------+----------------------------------------------------------------------------+
	//	| 0x800710D3 ERROR_NOT_EMPTY | The library, drive, or media pool must be empty to perform this operation. |
	//	+----------------------------+----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 6.
	DeleteApplicationPool(context.Context, *DeleteApplicationPoolRequest) (*DeleteApplicationPoolResponse, error)

	// The EnumerateApplicationsInPool method returns the metabase paths for the applications
	// associated with the application pool.
	//
	// 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        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// The opnum field value for this method is 7.
	EnumerateApplicationsInPool(context.Context, *EnumerateApplicationsInPoolRequest) (*EnumerateApplicationsInPoolResponse, error)

	// The RecycleApplicationPool method restarts an application pool.
	//
	// 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                 |
	//	|                                 |                                            |
	//	+---------------------------------+--------------------------------------------+
	//	+---------------------------------+--------------------------------------------+
	//	| 0x00000000 S_OK                 | The call was successful.                   |
	//	+---------------------------------+--------------------------------------------+
	//	| 0x80070003 ERROR_PATH_NOT_FOUND | The system cannot find the path specified. |
	//	+---------------------------------+--------------------------------------------+
	//
	// The opnum field value for this method is 8.
	RecycleApplicationPool(context.Context, *RecycleApplicationPoolRequest) (*RecycleApplicationPoolResponse, error)

	// The GetProcessMode method retrieves the application execution mode for the IIS server.
	//
	// 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        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// The opnum field value for this method is 9.
	GetProcessMode(context.Context, *GetProcessModeRequest) (*GetProcessModeResponse, error)
}

IIISApplicationAdmin server interface.

type RecycleApplicationPoolRequest

type RecycleApplicationPoolRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// szPool: A pointer to a Unicode string that contains the name of the application pool
	// to restart.
	Pool string `idl:"name:szPool;string;pointer:unique" json:"pool"`
}

RecycleApplicationPoolRequest structure represents the RecycleApplicationPool operation request

func (*RecycleApplicationPoolRequest) MarshalNDR

func (*RecycleApplicationPoolRequest) UnmarshalNDR

func (o *RecycleApplicationPoolRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type RecycleApplicationPoolResponse

type RecycleApplicationPoolResponse 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 RecycleApplicationPool return value.
	Return int32 `idl:"name:Return" json:"return"`
}

RecycleApplicationPoolResponse structure represents the RecycleApplicationPool operation response

func (*RecycleApplicationPoolResponse) MarshalNDR

func (*RecycleApplicationPoolResponse) UnmarshalNDR

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL