[python-win32] passing args to shell functions in shell.pyd
Tony Cappellini
tony at tcapp.com
Wed May 5 12:18:37 EDT 2004
> > Is there any way to pass args to the functions in shell.pyd,
> > from Python?
>
> Yes - just pass them like any other function.
>
> > For example, shell.SHBrowseForFolder takes 6 arguments, the first of
> > which is a window handle.
> >
> > So what is Python passing as a window handle?
>
> If you look at the param list:
> > hwndOwner=0 : int
> > pidlRoot=None : PyIDL
> > title=None : Unicode /string
> > flags=0 : int
> > callback : object
> > Not yet supported - must be None
> > callbackParam=0 : int
Since shell is a pyd file, I could not see the real parameter list, only
the description from the Pywin help file.
thanks
More information about the Python-win32
mailing list