Share via


WM_ADDRESS_ACCESSENTRY structure (wmsdkidl.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The WM_ADDRESS_ACCESSENTRY structure specifies an entry in an IP address access list.

Syntax

typedef struct _WMAddressAccessEntry {
  DWORD dwIPAddress;
  DWORD dwMask;
} WM_ADDRESS_ACCESSENTRY;

Members

dwIPAddress

An IPv4 address, in network byte order.

dwMask

An IPv4 address, in network byte order, to use as a bitmask. The bitmask defines which bits in the dwIPAddress field are matched against. For example, if the IP address is 206.73.118.1 and the mask is 255.255.255.0, only the first 24 bits of the address are examined. Thus, any IP addresses in the range 206.73.118.XXX would match this entry.

Remarks

You can use the inet_addr function to convert a standard dotted-format string (such as "255.255.255.255") to the correct binary number in network byte order.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only],Windows Media Format 9 Series SDK, or later versions of the SDK
Minimum supported server Windows 2000 Server [desktop apps only]
Header wmsdkidl.h (include Wmsdk.h)

See also

IWMAddressAccess Interface

Structures