PropVariantCopy function
Creates a copy of a PROPVARIANT structure.
Syntax
HRESULT PropVariantCopy(
_Out_ PROPVARIANT *pvarDest,
_In_ const PROPVARIANT *pvarSrc
);
Parameters
- pvarDest [out]
-
Type: PROPVARIANT*
Pointer to the destination PROPVARIANT structure that receives the copy.
- pvarSrc [in]
-
Type: const PROPVARIANT*
Pointer to the source PROPVARIANT structure.
Return value
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2003 with SP1 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 |
|
Redistributable |
Windows Desktop Search (WDS) 3.0 |
|
Header |
|
|
Library |
|
|
DLL |
|
Show: