diff --git a/reactos/include/psdk/pstore.idl b/reactos/include/psdk/pstore.idl index 07fb2d6322c..62ce00b8da1 100644 --- a/reactos/include/psdk/pstore.idl +++ b/reactos/include/psdk/pstore.idl @@ -42,9 +42,13 @@ typedef struct _PST_PROVIDERINFO LPWSTR szProviderName; } PST_PROVIDERINFO, *PPST_PROVIDERINFO; -typedef void *PPST_PROMPTIFO; - - +typedef struct _PST_PROMPTINFO +{ + DWORD cbSize; + DWORD dwPromptFlags; + HWND hwndApp; + LPCWSTR szPrompt; +} PST_PROMPTINFO, *PPST_PROMPTINFO; typedef struct { DWORD cbSize; @@ -71,15 +75,9 @@ typedef struct { LPWSTR szDisplayName; } PST_TYPEINFO, *PPST_TYPEINFO; -typedef struct { - DWORD cbSize; - DWORD dwPromptFlags; - DWORD_PTR hwndApp; - LPCWSTR szPrompt; -} PST_PROMPTINFO, *PPST_PROMPTINFO; - [ object, + uuid(5a6f1ec1-2db1-11d0-8c39-00c04fd9126b), pointer_default(unique) ] interface IEnumPStoreItems : IUnknown @@ -100,6 +98,7 @@ interface IEnumPStoreItems : IUnknown [ object, + uuid(789c1cbf-31ee-11d0-8c39-00c04fd9126b), pointer_default(unique) ] interface IEnumPStoreTypes : IUnknown @@ -123,6 +122,7 @@ interface IEnumPStoreTypes : IUnknown */ [ object, + uuid(5a6f1ec0-2db1-11d0-8c39-00c04fd9126b), pointer_default(unique) ] interface IPStore : IUnknown @@ -222,7 +222,7 @@ interface IPStore : IUnknown [in] LPCWSTR szItemName, [in] DWORD *cbData, [in] BYTE** pbData, - [in] PPST_PROMPTIFO pPromptInfo, + [in] PPST_PROMPTINFO pPromptInfo, [in] DWORD dwFlags ); HRESULT WriteItem( @@ -232,7 +232,7 @@ interface IPStore : IUnknown [in] LPCWSTR szItemName, [in] DWORD cbData, [in,size_is(cbData)] BYTE *ppbData, - [in] PPST_PROMPTIFO pPromptInfo, + [in] PPST_PROMPTINFO pPromptInfo, [in] DWORD dwDefaultConfirmationStyle, [in] DWORD dwFlags); @@ -242,12 +242,12 @@ interface IPStore : IUnknown [in] const GUID* pItemSubtype, [in] LPCWSTR szItemName, [in] PST_ACCESSMODE ModeFlags, - [in] PPST_PROMPTIFO pProomptInfo, + [in] PPST_PROMPTINFO pProomptInfo, [in] DWORD dwFlags ); - HRESULT CloseItem( - [in] PST_KEY Key, - [in] const GUID* pItemType, + HRESULT CloseItem( + [in] PST_KEY Key, + [in] const GUID* pItemType, [in] const GUID* pItemSubtype, [in] LPCWSTR* szItemName, [in] DWORD dwFlags );