Windows Dev Center

Expand Minimize

WsOffsetOf macro

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

Byte offset of the specified field.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

WebServices.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft