Skip to content

Latest commit

 

History

History
86 lines (65 loc) · 3.57 KB

nf-resapi-resutildupparameterblock.md

File metadata and controls

86 lines (65 loc) · 3.57 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:resapi.ResUtilDupParameterBlock
ResUtilDupParameterBlock function (resapi.h)
Performs a member-wise copy of the data from one parameter block to another.
PRESUTIL_DUP_PARAMETER_BLOCK
PRESUTIL_DUP_PARAMETER_BLOCK function [Failover Cluster]
ResUtilDupParameterBlock
ResUtilDupParameterBlock function [Failover Cluster]
_wolf_resutildupparameterblock
mscs.resutildupparameterblock
resapi/PRESUTIL_DUP_PARAMETER_BLOCK
resapi/ResUtilDupParameterBlock
mscs\resutildupparameterblock.htm
MsCS
b05b5afe-7d4b-4a21-9f28-88d6effaf5af
12/05/2018
PRESUTIL_DUP_PARAMETER_BLOCK, PRESUTIL_DUP_PARAMETER_BLOCK function [Failover Cluster], ResUtilDupParameterBlock, ResUtilDupParameterBlock function [Failover Cluster], _wolf_resutildupparameterblock, mscs.resutildupparameterblock, resapi/PRESUTIL_DUP_PARAMETER_BLOCK, resapi/ResUtilDupParameterBlock
resapi.h
Windows
None supported
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
ResUtils.lib
ResUtils.dll
Windows
19H1
ResUtilDupParameterBlock
resapi/ResUtilDupParameterBlock
c++
APIRef
kbSyntax
DllExport
ResUtils.dll
ResUtilDupParameterBlock

ResUtilDupParameterBlock function

-description

Performs a member-wise copy of the data from one parameter block to another.

-parameters

-param pOutParams [out]

Pointer to the duplicated parameter block.

-param pInParams [in]

Pointer to the original parameter block.

-param pPropertyTable [in]

Pointer to an array of RESUTIL_PROPERTY_ITEM structures describing properties in the original parameter block.

-returns

If the operation succeeds, the function returns ERROR_SUCCESS.

If the operation fails, the function returns a system error code.

-remarks

ResUtilDupParameterBlock copies data only for parameter block members referenced in the pPropertyTable input parameter. If a variable in the input parameter block is a pointer, memory for the data is allocated with the function LocalAlloc. You should deallocate this memory by calling either LocalFree for each pointer variable in the output parameter block or ResUtilFreeParameterBlock. Make sure that you deallocate memory whether ResUtilDupParameterBlock succeeds or fails. For more information, see Using Parameter Blocks and Using Lists and Tables.

-see-also

RESUTIL_PROPERTY_ITEM

ResUtilFreeParameterBlock