Skip to main content
Duplicates a PFEntityHandle.

Syntax

Parameters

entityHandle   PFEntityHandle Entity handle to duplicate. duplicatedEntityHandle   PFEntityHandle*
output
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 PFEntityCloseHandle when they are no longer needed.

Requirements

Header: PFEntity.h

See also

PFEntity members
Last modified on August 3, 2026