IHeaderCollection::AddType (Windows CE 5.0)
This method adds a Type header to the collection.
HRESULT AddType(unsigned longulSize,byte* pData);
Parameters
- ulSize
[in] Header size, in bytes. - pData
[in] Pointer of the header data.
Return Values
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
- S_OK
The method completed successfully.
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 terminating null.
Requirements
Smartphone: Smartphone 2002 and later
Pocket PC: Pocket PC 2002 and later
OS Versions: Windows CE .NET 4.0 and later.
Header: Obex.h, Obex.idl.
Link Library: Uuid.lib.
See Also
IHeaderCollection | OBEX Interfaces
Send Feedback on this topic to the authors