Edit

PFServiceConfigDuplicateHandle

Duplicates a PFServiceConfigHandle.

Syntax

HRESULT PFServiceConfigDuplicateHandle(  
    PFServiceConfigHandle handle,  
    PFServiceConfigHandle* duplicatedHandle  
)  

Parameters

handle   PFServiceConfigHandle

ServiceConfig handle to duplicate.

duplicatedHandle   PFServiceConfigHandle*

The duplicated handle.

Return value

Type: HRESULT

Result code for this API operation.

Remarks

Both the duplicated handle and the original handle need to be closed with PFServiceConfigCloseHandle when they are no longer needed.

Requirements

Header: PFServiceConfig.h

See also

PFServiceConfig members