Partager via


GetAvailableDataSize (Windows Embedded CE 6.0)

1/6/2010

This function retrieves the number of bytes left in the command packet.

This value is accurate for the next parameter you will add to the packet and accounts for any headers required by the Remote Tools Framework.

Syntax

RTFSUPP_API BOOL GetAvailableDataSize(
  HPACKET hPacket,
  DWORD *pdwAvailable
);

Parameters

  • hPacket
    A handle to a command packet.
  • pdwAvailable
    [out] The number of bytes left in the command packet to be filled.

Return Value

TRUE indicates success. FALSE indicates failure.

See Also

Reference

Remote Tools Framework Functions
Remote Tools Framework Reference