Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

GetInstance

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

Header file:

MAPIUTIL.H

Implemented by:

MAPI

Called by:

Client applications and service providers

VOID GetInstance(
  LPSPropValue pvalMv,
  LPSPropValue pvalSv,
  ULONG uliInst
);

Parameters

pvalMv

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

pvalSv

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

uliInst

[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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.