|
2 | 2 | // $Id$ |
3 | 3 |
|
4 | 4 | // Implements wrappers for the Property System functions and interfaces. |
5 | | -// These interfaces are present on Windows Vista and later, but can also |
6 | | -// be installed on XP with Desktop Search 3. |
7 | | -// However, this module doeen't dynamically load any libraries or functions, |
8 | | -// so it will fail to import if the components are not installed. |
9 | 5 |
|
10 | 6 | // This source file contains autoduck documentation. |
11 | 7 | // @doc |
|
41 | 37 | #define CHECK_PFN(fname) \ |
42 | 38 | if (pfn##fname == NULL) \ |
43 | 39 | return PyErr_Format(PyExc_NotImplementedError, "%s is not available on this platform", #fname); |
44 | | -// Not available on Vista or earlier |
45 | 40 | typedef HRESULT(WINAPI *PFNSHGetPropertyStoreForWindow)(HWND, REFIID, void **); |
46 | 41 | static PFNSHGetPropertyStoreForWindow pfnSHGetPropertyStoreForWindow = NULL; |
47 | 42 |
|
@@ -546,7 +541,7 @@ static PyObject *PySHSetDefaultProperties(PyObject *self, PyObject *args) |
546 | 541 | } |
547 | 542 |
|
548 | 543 | /* List of module functions */ |
549 | | -// @module propsys|A module, encapsulating the Vista Property System interfaces |
| 544 | +// @module propsys|A module, encapsulating the Property System interfaces |
550 | 545 | static struct PyMethodDef propsys_methods[] = { |
551 | 546 | // { "SHGetPropertyStoreFromIDList", PySHGetPropertyStoreFromIDList, 1 }, // @pymeth |
552 | 547 | // SHGetPropertyStoreFromIDList|Retrieves the property store from an absolute ID list |
@@ -618,10 +613,7 @@ static const PyCom_InterfaceSupportInfo g_interfaceSupportData[] = { |
618 | 613 | /* Module initialisation */ |
619 | 614 | PYWIN_MODULE_INIT_FUNC(propsys) |
620 | 615 | { |
621 | | - PYWIN_MODULE_INIT_PREPARE(propsys, propsys_methods, |
622 | | - "A module, encapsulating the Property System interfaces." |
623 | | - "Available on Windows Vista and later, but can also be used" |
624 | | - "on XP if Desktop Search 3 is installed."); |
| 616 | + PYWIN_MODULE_INIT_PREPARE(propsys, propsys_methods, "A module, encapsulating the Property System interfaces."); |
625 | 617 |
|
626 | 618 | if (PyDict_SetItemString(dict, "error", PyWinExc_COMError) == -1) |
627 | 619 | PYWIN_MODULE_INIT_RETURN_ERROR; |
|
0 commit comments