What is in DX9 that is similar to Selection in OpenGL

I just start to trun from OpenGL to DirectX. I'm writing a program that requires user to select 3D objects by mouse clicking. In OpenGL this is easily done by Selection mechanism. So what is the best way to achieve the similar effect in DirectX 9?
[249 byte] By [Ludovic_han] at [2008-2-10]
# 1
In the Microsoft DirectX SDK there is a sample application that has a rotating Tiger. You hover your mouse over the tiger's polygons and it highlights them etc. I forget the function's name - its been too many years since I've touched it but if you open up that application's provided source code you will find it.
MarcD at 2007-9-9 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: Graphics...
# 2
Remember that all this functionality is entirely done by the CPU, not by the GPU. There are ways to get the GPU to do it, but it's no better (and in many ways worse) than using the CPU to mathematically cast a ray through a mesh. So it really has very little to do with D3D or OGL - it's just maths.
TomForsyth at 2007-9-9 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: Graphics...
# 3
Thanks! It seems D3D is doing a different way from OGL, o/w I have huge size mesh that would make CPU version extremely slow.
Ludovic_han at 2007-9-9 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: Graphics...