13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

GetWinFlagsReturn valueThe return value contains flags specifying the current memoryconfiguration. These flags may be any of the following values:WF_80x87WF_CPU086WF_CPU186WF_CPU286WF_CPU386WF_CPU486WF _ENHANCEDWF _SMALLFRAMESystem contains an Intel math coprocessor.System CPU is an 8086.System CPU is an 80186.System CPU is an 80286.System CPU is an 80386.System CPU is an 80486.Windows is running in 386 enhanced mode. TheWF _PMODE flag is always set whenWF_ENHANCED is set.Windows is running in EMS large-frame memoryconfiguration.Windows is running in protected mode. This flagis always set when either WF _ENHANCED orWF_STANDARD is set.Windows is running in EMS small-frame memoryconfigura tion.Windows is running in standard mode. TheWF _PM ODE flag is always set whenWF _STANDARD is set.If neither WF _ENHANCED nor WF _STANDARD is set, Windows isrunning in real mode.GlobalAddAtomSyntaxATOM GlobalAddAtom(lpString)function GlobalAddAtom{Str: PChar): TAtom;This function adds the character string pointed to by the IpStringparameter to the atom table and creates a new global atom that uniquelyidentifies the string. A global atom is an atom that is available to allapplications. The atom can be used in a subsequent GlobalGetAtomNamefunction to retrieve the string from the atom table.The GlobalAddAtom function stores no more than one copy of a givenstring in the atom table. If the string is already in the table, the functionreturns the existing atom value and increases the string's reference countby one. The string's reference count is a number that specifies the numberof times GlobalAddAtom has been called for a particular string.366Software development kit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!