Share via


IHeaderCollection::AddType

This method adds a Type header to the collection.

HRESULT AddType(
  unsigned long ulSize, 
  byte* pData
);

Parameters

  • ulSize
    [in] Header size, in bytes.
  • pData
    [in] Pointer of the header data.

Return Values

The appropriate HResult is returned.

Remarks

pData points to a null-terminated string that contains Internet Mail Extensions (MIME) types such as "text/x-vCard". usSize determines the size of this string including the terminating null.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Obex.h, Obex.idl.
Link Library: Uuid.lib.

See Also

IHeaderCollection | OBEX Interfaces

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.