次の方法で共有


XXX_GetSize (Compact 2013)

3/26/2014

This function returns the minimum number of bytes required to read all parts of a multipart 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 that is specified in smsmgnmGetNextMessageFunction.
  • psmssiMessage
    [in] Pointer to a SMSSTOREITEM structure. This structure contains the first message of a multipart message and determines the length of the entire message.
  • smsmgnmGetNextMessageFunction
    [in] Function pointer to a SMSManagerGetNextMessage function. The Short Message Service (SMS) router implements this function and retrieves the next fragment of a multipart message.
  • pdwSize
    [out] Buffer to store the minimum number of bytes that is required to read all parts of a single or multipart message.

Return Value

Returns a standard HRESULT error code.

Requirements

Header

Developer Implemented

Library

Developer Implemented

See Also

Reference

Short Message Service Provider Functions
Short Message Service Provider Reference
SMSSTOREITEM