WsOffsetOf macro (webservices.h)

Returns the offset in bytes of a field within a structure given the names of the structure and field.

Syntax

void WsOffsetOf(
   type,
   field
);

Parameters

type

The object containing the field.

field

The field

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header webservices.h