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.

IstrcpyIstrlenOemToAnsiOemToAnsiBuffToAsciiwsprintfwvsprintfCopies one string to another; both stringsare identified by long pointers.Determines the length of a string identifiedby a long pointer.Converts an OEM character string to anANSI string.Converts an OEM character string in abuffer to an ANSI string.Translates a virtual-key code to thecorresponding ANSI character orcharacters.Formats and stores a series of charactersand values in a buffer. Format argumentsare passed separately.Formats and stores a series of charactersand values in a buffer. Format argumentsare passed through an array.Atom-management functionsAtom-management functions create and manipulate atoms.Atoms are integers that uniquely identify character strings. Theyare useful in applications that use many character strings and inapplications that need to conserve memory. Windows storesatoms in atom tables. A local atom table is allocated in anapplication's data segment; it cannot be accessed by otherapplications. The global atom table can be shared, and is useful inapplications that use dynamic data exchange (DOE). Thefollowing list briefly describes each atom-management function:FunctionAddAtomDeleteAtomFindAtomGetAtomHandleGetAtomNameGlobalAddAtomGlobalDeleteAtomGlobalFindAtomDescriptionCreates an atom for a character string.Deletes an atom if the reference count iszero.Retrieves an atom associated with acharacter string.Retrieves a handle (relative to the localheap) of the string that corresponds to aspecified atom.Copies the character string associated withan atom.Creates a global atom for a character string.Deletes a global atom if the reference countis zero.Retrieves a global atom associated with acharacter string.140Software development kit

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

Saved successfully!

Ooh no, something went wrong!