INF: Restrictions on Using the _loadds C Language Keyword

ID Number: Q76685

3.00

WINDOWS

Summary:

The Microsoft C language keyword _loadds should not be used in most

Windows programs.

Because _loadds loads a fixed address into DS, it can be used only

with single instance, protected-mode-only programs. It cannot be used

in real mode because memory may move and invalidate DS.

For more information on situations when _loadds is appropriate, query

on the words:

prod(winsdk) and _loadds