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

HrSzFromEntryID

Encodes an entry identifier into an ASCII string.

Header file:

Mapiutil.h

Implemented by:

MAPI

Called by:

Client applications

HrSzFromEntryID(
  ULONG cb,
  LPENTRYID pentry,
  LPTSTR FAR * psz
);

Parameters

cb

[in] Size, in bytes, of the entry identifier pointed to by the pentry parameter.

pentry

[in] Pointer to an ENTRYID structure that contains the entry identifier to be encoded.

psz

[out] Pointer to the returned ASCII string.

The HrEntryIDFromSz and HrSzFromEntryID functions provide conversion between the string and binary formats of entry identifiers. With MAPI, you should use structures with binary data.

The HrSzFromEntryID function allocates memory for the ASCII string using the MAPIAllocateBuffer function.

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.