| adsprop.h (6.1.7600.16385-Windows_7.0) | | adsprop.h (6.3.9600.17415-Windows_8.1) |
| | |
| skipping to change at line 23 | | skipping to change at line 23 |
| // History: 28-Sept-98 Eric Brown created. | | // History: 28-Sept-98 Eric Brown created. |
| // | | // |
| //----------------------------------------------------------------------------- | | //----------------------------------------------------------------------------- |
| | |
| #ifndef _ADSPROP_H_ | | #ifndef _ADSPROP_H_ |
| #define _ADSPROP_H_ | | #define _ADSPROP_H_ |
| | |
| #if _MSC_VER > 1000 | | #if _MSC_VER > 1000 |
| #pragma once | | #pragma once |
| #endif | | #endif |
|
| | #include <winapifamily.h> |
| | |
| | #pragma region Desktop Family |
| | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| extern "C" { | | extern "C" { |
| #endif | | #endif |
| | |
| #define WM_ADSPROP_NOTIFY_PAGEINIT (WM_USER + 1101) // where LPARAM is the PAD
SPROPINITPARAMS pointer. | | #define WM_ADSPROP_NOTIFY_PAGEINIT (WM_USER + 1101) // where LPARAM is the PAD
SPROPINITPARAMS pointer. |
| #define WM_ADSPROP_NOTIFY_PAGEHWND (WM_USER + 1102) // where WPARAM => page's
HWND and LPARAM => page's Title | | #define WM_ADSPROP_NOTIFY_PAGEHWND (WM_USER + 1102) // where WPARAM => page's
HWND and LPARAM => page's Title |
| #define WM_ADSPROP_NOTIFY_CHANGE (WM_USER + 1103) // used to send a change n
otification to a parent sheet | | #define WM_ADSPROP_NOTIFY_CHANGE (WM_USER + 1103) // used to send a change n
otification to a parent sheet |
| #define WM_ADSPROP_NOTIFY_APPLY (WM_USER + 1104) // pages send this to the
notification object. | | #define WM_ADSPROP_NOTIFY_APPLY (WM_USER + 1104) // pages send this to the
notification object. |
| #define WM_ADSPROP_NOTIFY_SETFOCUS (WM_USER + 1105) // used internally by the
notification object. | | #define WM_ADSPROP_NOTIFY_SETFOCUS (WM_USER + 1105) // used internally by the
notification object. |
| #define WM_ADSPROP_NOTIFY_FOREGROUND (WM_USER + 1106) // used internally by the
notification object. | | #define WM_ADSPROP_NOTIFY_FOREGROUND (WM_USER + 1106) // used internally by the
notification object. |
| | |
| skipping to change at line 85 | | skipping to change at line 90 |
| // sheet instance and if not creates it. | | // sheet instance and if not creates it. |
| // | | // |
| // Arguments: [pAppThdDataObj] - the unmarshalled data object pointer. | | // Arguments: [pAppThdDataObj] - the unmarshalled data object pointer. |
| // [pwzADsObjName] - object path name. | | // [pwzADsObjName] - object path name. |
| // [phNotifyObj] - to return the notificion window handle. | | // [phNotifyObj] - to return the notificion window handle. |
| // | | // |
| // Returns: HRESULTs. | | // Returns: HRESULTs. |
| // | | // |
| //----------------------------------------------------------------------------- | | //----------------------------------------------------------------------------- |
| STDAPI | | STDAPI |
|
| ADsPropCreateNotifyObj(LPDATAOBJECT pAppThdDataObj, __in PWSTR pwzADsObjName, | | ADsPropCreateNotifyObj(LPDATAOBJECT pAppThdDataObj, _In_ PWSTR pwzADsObjName, |
| HWND * phNotifyObj); | | HWND * phNotifyObj); |
| | |
| //+---------------------------------------------------------------------------- | | //+---------------------------------------------------------------------------- |
| // | | // |
| // Function: ADsPropGetInitInfo | | // Function: ADsPropGetInitInfo |
| // | | // |
| // Synopsis: Pages call this at their init time to retreive DS object info. | | // Synopsis: Pages call this at their init time to retreive DS object info. |
| // | | // |
| // Arguments: [hNotifyObj] - the notificion window handle. | | // Arguments: [hNotifyObj] - the notificion window handle. |
| // [pInitParams] - struct filled in with DS object info. This | | // [pInitParams] - struct filled in with DS object info. This |
| | |
| skipping to change at line 130 | | skipping to change at line 135 |
| // [ptzTitle] - the page's title | | // [ptzTitle] - the page's title |
| // | | // |
| // Returns: FALSE if the notify window has gone away for some reason. | | // Returns: FALSE if the notify window has gone away for some reason. |
| // | | // |
| // Notes: Sends the WM_ADSPROP_NOTIFY_PAGEHWND message to the notify | | // Notes: Sends the WM_ADSPROP_NOTIFY_PAGEHWND message to the notify |
| // window. Use this function instead of ADsPropSetHwnd for | | // window. Use this function instead of ADsPropSetHwnd for |
| // multi-select property pages | | // multi-select property pages |
| // | | // |
| //----------------------------------------------------------------------------- | | //----------------------------------------------------------------------------- |
| STDAPI_(BOOL) | | STDAPI_(BOOL) |
|
| ADsPropSetHwndWithTitle(HWND hNotifyObj, HWND hPage, __in PTSTR ptzTitle); | | ADsPropSetHwndWithTitle(HWND hNotifyObj, HWND hPage, _In_ PTSTR ptzTitle); |
| | |
| //+---------------------------------------------------------------------------- | | //+---------------------------------------------------------------------------- |
| // | | // |
| // Function: ADsPropSetHwnd | | // Function: ADsPropSetHwnd |
| // | | // |
| // Synopsis: Pages call this at their dialog init time to send their hwnd | | // Synopsis: Pages call this at their dialog init time to send their hwnd |
| // to the Notify object. | | // to the Notify object. |
| // | | // |
| // Arguments: [hNotifyObj] - the notificion window handle. | | // Arguments: [hNotifyObj] - the notificion window handle. |
| // [hPage] - the page's window handle. | | // [hPage] - the page's window handle. |
| | |
| skipping to change at line 166 | | skipping to change at line 171 |
| // the allowedAttributesEffective array. | | // the allowedAttributesEffective array. |
| // | | // |
| // Arguments: [pwzAttr] - the attribute name. | | // Arguments: [pwzAttr] - the attribute name. |
| // [pWritableAttrs] - the array of writable attributes. | | // [pWritableAttrs] - the array of writable attributes. |
| // | | // |
| // Returns: FALSE if the attribute name is not found in the writable-attrs | | // Returns: FALSE if the attribute name is not found in the writable-attrs |
| // array or if the array pointer is NULL. | | // array or if the array pointer is NULL. |
| // | | // |
| //----------------------------------------------------------------------------- | | //----------------------------------------------------------------------------- |
| STDAPI_(BOOL) | | STDAPI_(BOOL) |
|
| ADsPropCheckIfWritable(__in const PWSTR pwzAttr, const PADS_ATTR_INFO pWritableA
ttrs); | | ADsPropCheckIfWritable(_In_ const PWSTR pwzAttr, const PADS_ATTR_INFO pWritableA
ttrs); |
| | |
| //+---------------------------------------------------------------------------- | | //+---------------------------------------------------------------------------- |
| // | | // |
| // function: ADsPropSendErrorMessage | | // function: ADsPropSendErrorMessage |
| // | | // |
| // Synopsis: Adds an error message to a list which is presented when | | // Synopsis: Adds an error message to a list which is presented when |
| // ADsPropShowErrorDialog is called | | // ADsPropShowErrorDialog is called |
| // | | // |
| // Arguments: [hNotifyObj] - the notificion window handle. | | // Arguments: [hNotifyObj] - the notificion window handle. |
| // [pError] - the error structure | | // [pError] - the error structure |
| | |
| skipping to change at line 204 | | skipping to change at line 209 |
| // Returns: FALSE if the notify window has gone away for some reason. | | // Returns: FALSE if the notify window has gone away for some reason. |
| // | | // |
| //----------------------------------------------------------------------------- | | //----------------------------------------------------------------------------- |
| STDAPI_(BOOL) | | STDAPI_(BOOL) |
| ADsPropShowErrorDialog(HWND hNotifyObj, HWND hPage); | | ADsPropShowErrorDialog(HWND hNotifyObj, HWND hPage); |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| } | | } |
| #endif // __cplusplus | | #endif // __cplusplus |
| | |
|
| | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ |
| | #pragma endregion |
| | |
| #endif // _ADSPROP_H_ | | #endif // _ADSPROP_H_ |
| | |
| End of changes. 5 change blocks. |
| 3 lines changed or deleted | | 11 lines changed or added |
|