The documented behavior for this function in Windows NT is to return the atom if the atom to be deleted does not exist; however, the Windows NT version of this function returns 0 in all cases. The OS/2 version of DeleteAtom returns the atom if the atom to be deleted does not exist.