Share via


XXX_GetSize (Windows Embedded CE 6.0)

1/6/2010

This function returns the minimum number of bytes required to read all parts of a multi-part message.

Syntax

HRESULT XXX_GetSize(
  SMS_MANAGER_COOKIE smsmcCookie,
  SMSSTOREITEM* psmssiMessage,
  SMS_MANAGER_GET_NEXT_MESSAGE smsmgnmGetNextMessageFunction,
  DWORD* pdwSize
);

Parameters

  • smsmcCookie
    [in] Value passed to the function specified in smsmgnmGetNextMessageFunction.
  • psmssiMessage
    [in] Pointer to a SMSSTOREITEM structure. This structure contains the first message of a multi-part message and is used to determine the length of the entire message.
  • smsmgnmGetNextMessageFunction
    [in] Function pointer to a SMSManagerGetNextMessage function. The function is implemented in the Short Message Service (SMS) router and is responsible for retrieving the next fragment of a multi-part message.
  • pdwSize
    [out] Buffer to store the minimum number of bytes required to read all parts of a single or multi-part message.

Return Value

Returns a standard HRESULT error code.

Requirements

Header Developer Implemented
Library Developer Implemented
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Short Message Service Provider Functions
Short Message Service Provider Reference
SMSSTOREITEM

Concepts

Short Message Service Providers