hi All,
i used shell execute method once to open a word document. at that time i copied and paste the following API from some where else.
but i don't know how it works. the API is as follows..

Private Declare Function Shellexecute Lib "shell32.dll" Alias _
"ShellExecuteA" (ByVal hwnd As Long, ByVal lpszOp As _
String, ByVal lpszFile As String, ByVal lpszParams As String, _
ByVal lpszDir As String, ByVal FsShowCmd As Long) As Long

Private Declare Function GetDesktopWindow Lib "user32" () As Long

could you please explain
(1):the parameters in the shell execute function.
(2): what the GetDesktopWindow will do?

Thanks:
regards:
raghunadhs