184.108.40.206.28 ApiDeleteResourceType (Opnum 27)
The server MUST fail this method by using error ERROR_DIR_NOT_EMPTY if one or more resources of this type exist in the cluster configuration.
The server MUST accept an ApiDeleteResourceType request for processing only if it is in the read/write state, as specified in section 3.1.1.
error_status_t ApiDeleteResourceType( [in, string] LPCWSTR lpszTypeName, [out] error_status_t* rpc_status );
lpszTypeName: A pointer to a Unicode string buffer that uniquely specifies the name of the resource type to delete.
rpc_status: A 32-bit integer used to indicate success or failure. The RPC runtime MUST indicate, by writing to this parameter, whether it succeeded in executing this method on the server by writing to this parameter. The encoding of the value passed in this parameter MUST conform to encoding for comm_status and fault_status, as specified in Appendix E of [C706].
Return Values: The method MUST return the following error codes for the specified conditions.
Return value/code Description
See the preceding text for when this error can occur.
For any other condition, the server MUST set Status to a value that is not one of the values listed in the preceding table. The client MUST treat all values that are not listed in the preceding table the same, except as specified in section 220.127.116.11.