PacketSize Property

PacketSize Property

Gets the size, in bytes, of a packet.

Declaration

[C++]

[C++]

[propget] HRESULT get_PacketSize (
    [out, retval] long* PacketSize
);

      

[Microsoft® Visual Basic® 6.0]

[Visual Basic]

Public Property Get PacketSize() As Long

      

Property Value

long The size, in bytes, of a packet.

This property is read-only.

Return Value

HRESULT value Description
S_OK Success.
E_POINTER The parameter pointer was invalid.
E_INK_EXCEPTION An exception occurred inside the method.

Example

[Visual Basic 6.0]

This Visual Basic 6.0 example returns the size of a packet.

[Visual Basic]

Dim thePacketSize As Long
thePacketSize = theStroke.PacketSize

      

Applies To