Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Copies one value within a multivalued property to a single-valued property of the same type.

Header file:


Implemented by:


Called by:

Client applications and service providers

VOID GetInstance(
  LPSPropValue pvalMv,
  LPSPropValue pvalSv,
  ULONG uliInst


[in] Pointer to an SPropValue structure defining a multivalued property.


[in] Pointer to a single-valued property to receive data.


[in] The instance number, that is, the array element, of the value being copied from the structure indicated by the pvalMv parameter.

If the value copied is too large for the allocated memory, the GetInstance function only copies pointers instead of allocating new memory.

© 2016 Microsoft