NTSTATUS RtlAddActionToRXact( IN PRTL_RXACT_CONTEXT RXactContext, IN RTL_RXACT_OPERATION Operation, IN PUNICODE_STRING SubKeyName, IN ULONG NewKeyValueType, IN PVOID NewKeyValue OPTIONAL, IN ULONG NewKeyValueLength ); Routine Description: This routine is used to add a new action to the transaction operation log. Upon commit, these operations are applied in the order they are added to the log. Arguments: RXactContext - Supplies a pointer to the RXactContext structure for this subsystem's root registry key. Operation - Indicates the type of operation to perform (e.g., delete a sub-key or set the value of a sub-key). Sub-keys may be created by setting a value of a previously non-existent sub-key. This will cause all sub-keys between the root and the specified sub-key to be created. SubKeyName - Specifies the name of the target registry key. This name is relative to the Root of the Registry transaction sub-tree and must NOT start with a delimiter character ("\"). NewKeyValueType - (Optional) Contains the KeyValueType to assign to the target registry key. This parameter is ignored if the Operation is not RtlRXactOperationSetValue. NewKeyValue - (Optional) Points to a buffer containing the value to assign to the specified target registry key. This parameter is ignored if the Operation is not RtlRXactOperationSetValue. NewKeyValueLength - Indicates the length (number of bytes) of the NewKeyValue buffer. This parameter is ignored if the Operation is not RtlRXactOperationSetValue. Return Value: STATUS_SUCCESS - Indicates the request completed successfully.. STATUS_UNKNOWN_REVISION - Indicates that a transaction state exists for the specified sub-tree, but has a revision level that is unknown by this service. Others - Other status values that may be returned from registry key services (such as STATUS_ACCESS_DENIED).