Hi Rajesh,
Please go through Google Desktop Search API section in the SDK
Developer Documentation.
You can have your own Search box with a submit button in your
application.
Once this submit is invoked with the search phrase filled in, you can
send a HTTP request to GDS with your search phrase like this...
http://127.0.0.1:4664/search&s=1ftR7c_hVZKYvuYS-RWnFHk91Z0?q=<Your
Search Phrase>&format=xml
Replace "http://127.0.0.1:4664/search&s=1ftR7c_hVZKYvuYS-RWnFHk91Z0?q="
with the value from the registry value
HKEY_CURRENT_USER\Software\Google\Google Desktop\API\search_url
Once the GDS sees the format=xml, it returns the results in XML format.
A sample search result in XML is also provided in the SDK Developer
Documentation.
Enjoy,
Anand Mohan