winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
July
June
May
April
March
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
November 2009
----- 2025 -----
July 2025
June 2025
May 2025
April 2025
March 2025
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
3 participants
910 discussions
Start a n
N
ew thread
Juan Lang : crypt32: Set CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS when a certificate' s name constraints are met.
by Alexandre Julliard
16 Nov '09
16 Nov '09
Module: wine Branch: master Commit: c4b997bab3d530339c89370cda337f8b3e415129 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c4b997bab3d530339c89370cd…
Author: Juan Lang <juan.lang(a)gmail.com> Date: Thu Nov 12 17:05:07 2009 -0800 crypt32: Set CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS when a certificate's name constraints are met. --- dlls/crypt32/chain.c | 8 ++++++-- dlls/crypt32/tests/chain.c | 10 ++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c index eb6d757..17471d5 100644 --- a/dlls/crypt32/chain.c +++ b/dlls/crypt32/chain.c @@ -815,8 +815,12 @@ static void CRYPT_CheckChainNameConstraints(PCERT_SIMPLE_CHAIN chain) CRYPT_CheckNameConstraints(nameConstraints, chain->rgpElement[j]->pCertContext->pCertInfo, &errorStatus); - chain->rgpElement[i]->TrustStatus.dwErrorStatus |= - errorStatus; + if (errorStatus) + chain->rgpElement[i]->TrustStatus.dwErrorStatus |= + errorStatus; + else + chain->rgpElement[i]->TrustStatus.dwInfoStatus |= + CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS; } } } diff --git a/dlls/crypt32/tests/chain.c b/dlls/crypt32/tests/chain.c index be3a0bd..e48dba3 100644 --- a/dlls/crypt32/tests/chain.c +++ b/dlls/crypt32/tests/chain.c @@ -2927,7 +2927,8 @@ static CONST_DATA_BLOB chain19[] = { static const CERT_TRUST_STATUS elementStatus19[] = { { CERT_TRUST_NO_ERROR, CERT_TRUST_HAS_NAME_MATCH_ISSUER }, { CERT_TRUST_IS_UNTRUSTED_ROOT, - CERT_TRUST_IS_SELF_SIGNED | CERT_TRUST_HAS_NAME_MATCH_ISSUER }, + CERT_TRUST_IS_SELF_SIGNED | CERT_TRUST_HAS_NAME_MATCH_ISSUER | + CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS }, }; static const SimpleChainStatusCheck simpleStatus19[] = { { sizeof(elementStatus19) / sizeof(elementStatus19[0]), elementStatus19 }, @@ -2951,7 +2952,8 @@ static CONST_DATA_BLOB chain21[] = { static const CERT_TRUST_STATUS elementStatus21[] = { { CERT_TRUST_NO_ERROR, CERT_TRUST_HAS_NAME_MATCH_ISSUER }, { CERT_TRUST_IS_UNTRUSTED_ROOT, - CERT_TRUST_IS_SELF_SIGNED | CERT_TRUST_HAS_NAME_MATCH_ISSUER }, + CERT_TRUST_IS_SELF_SIGNED | CERT_TRUST_HAS_NAME_MATCH_ISSUER | + CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS }, }; static const SimpleChainStatusCheck simpleStatus21[] = { { sizeof(elementStatus21) / sizeof(elementStatus21[0]), elementStatus21 }, @@ -3257,7 +3259,7 @@ static ChainCheck chainCheck[] = { CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT, CERT_TRUST_HAS_PREFERRED_ISSUER | CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS }, - { CERT_TRUST_IS_UNTRUSTED_ROOT, 0 }, + { CERT_TRUST_IS_UNTRUSTED_ROOT, CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS }, 1, simpleStatus19 }, 0 }, /* Older versions of crypt32 do not set @@ -3278,7 +3280,7 @@ static ChainCheck chainCheck[] = { CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT, CERT_TRUST_HAS_PREFERRED_ISSUER | CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS }, - { CERT_TRUST_IS_UNTRUSTED_ROOT, 0 }, + { CERT_TRUST_IS_UNTRUSTED_ROOT, CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS }, 1, simpleStatus21 }, 0 }, { { sizeof(chain22) / sizeof(chain22[0]), chain22 },
1
0
0
0
Vincent Povirk : ole32: Rename propertyNameCmp to entryNameCmp.
by Alexandre Julliard
16 Nov '09
16 Nov '09
Module: wine Branch: master Commit: 42e8dfa2cb9417efbc0bee611ea09a0de9dccf77 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=42e8dfa2cb9417efbc0bee611…
Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Thu Nov 12 13:55:49 2009 -0600 ole32: Rename propertyNameCmp to entryNameCmp. --- dlls/ole32/storage32.c | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 0cc5413..9040a97 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -192,9 +192,9 @@ static HRESULT insertIntoTree( ULONG parentStorageIndex, ULONG newEntryIndex); -static LONG propertyNameCmp( - const OLECHAR *newProperty, - const OLECHAR *currentProperty); +static LONG entryNameCmp( + const OLECHAR *name1, + const OLECHAR *name2); static ULONG findElement( StorageImpl *storage, @@ -1223,22 +1223,22 @@ static HRESULT destroyDirEntry( * Case insensitive comparison of DirEntry.name by first considering * their size. * - * Returns <0 when newProperty < currentProperty - * >0 when newProperty > currentProperty - * 0 when newProperty == currentProperty + * Returns <0 when name1 < name2 + * >0 when name1 > name2 + * 0 when name1 == name2 */ -static LONG propertyNameCmp( - const OLECHAR *newProperty, - const OLECHAR *currentProperty) +static LONG entryNameCmp( + const OLECHAR *name1, + const OLECHAR *name2) { - LONG diff = lstrlenW(newProperty) - lstrlenW(currentProperty); + LONG diff = lstrlenW(name1) - lstrlenW(name2); if (diff == 0) { /* * We compare the string themselves only when they are of the same length */ - diff = lstrcmpiW( newProperty, currentProperty); + diff = lstrcmpiW( name1, name2); } return diff; @@ -1299,7 +1299,7 @@ static HRESULT insertIntoTree( while (found == 0) { - LONG diff = propertyNameCmp( newEntry.name, currentEntry.name); + LONG diff = entryNameCmp( newEntry.name, currentEntry.name); if (diff < 0) { @@ -1386,7 +1386,7 @@ static ULONG findElement(StorageImpl *storage, ULONG storageEntry, StorageImpl_ReadDirEntry(storage, currentEntry, data); - cmp = propertyNameCmp(name, data->name); + cmp = entryNameCmp(name, data->name); if (cmp == 0) /* found it */ @@ -1432,7 +1432,7 @@ static HRESULT findTreeParent(StorageImpl *storage, ULONG storageEntry, StorageImpl_ReadDirEntry(storage, childEntry, &childData); - cmp = propertyNameCmp(childName, childData.name); + cmp = entryNameCmp(childName, childData.name); if (cmp == 0) /* found it */
1
0
0
0
Vincent Povirk : ole32: Rename property variables in insertIntoTree.
by Alexandre Julliard
16 Nov '09
16 Nov '09
Module: wine Branch: master Commit: a9ad3fed29cfadfd13787ad6ad4f02e7ccf461f7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a9ad3fed29cfadfd13787ad6a…
Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Thu Nov 12 13:51:17 2009 -0600 ole32: Rename property variables in insertIntoTree. --- dlls/ole32/storage32.c | 52 ++++++++++++++++++++++++------------------------ 1 files changed, 26 insertions(+), 26 deletions(-) diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index c5bdd62..0cc5413 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -190,7 +190,7 @@ static HRESULT destroyDirEntry( static HRESULT insertIntoTree( StorageImpl *This, ULONG parentStorageIndex, - ULONG newPropertyIndex); + ULONG newEntryIndex); static LONG propertyNameCmp( const OLECHAR *newProperty, @@ -1253,53 +1253,53 @@ static LONG propertyNameCmp( static HRESULT insertIntoTree( StorageImpl *This, ULONG parentStorageIndex, - ULONG newPropertyIndex) + ULONG newEntryIndex) { - DirEntry currentProperty; - DirEntry newProperty; + DirEntry currentEntry; + DirEntry newEntry; /* * Read the inserted property */ StorageImpl_ReadDirEntry(This, - newPropertyIndex, - &newProperty); + newEntryIndex, + &newEntry); /* * Read the root property */ StorageImpl_ReadDirEntry(This, parentStorageIndex, - ¤tProperty); + ¤tEntry); - if (currentProperty.dirRootEntry != DIRENTRY_NULL) + if (currentEntry.dirRootEntry != DIRENTRY_NULL) { /* * The root storage contains some element, therefore, start the research * for the appropriate location. */ BOOL found = 0; - ULONG current, next, previous, currentPropertyId; + ULONG current, next, previous, currentEntryId; /* * Keep the DirEntry sequence number of the storage first property */ - currentPropertyId = currentProperty.dirRootEntry; + currentEntryId = currentEntry.dirRootEntry; /* * Read */ StorageImpl_ReadDirEntry(This, - currentProperty.dirRootEntry, - ¤tProperty); + currentEntry.dirRootEntry, + ¤tEntry); - previous = currentProperty.leftChild; - next = currentProperty.rightChild; - current = currentPropertyId; + previous = currentEntry.leftChild; + next = currentEntry.rightChild; + current = currentEntryId; while (found == 0) { - LONG diff = propertyNameCmp( newProperty.name, currentProperty.name); + LONG diff = propertyNameCmp( newEntry.name, currentEntry.name); if (diff < 0) { @@ -1307,15 +1307,15 @@ static HRESULT insertIntoTree( { StorageImpl_ReadDirEntry(This, previous, - ¤tProperty); + ¤tEntry); current = previous; } else { - currentProperty.leftChild = newPropertyIndex; + currentEntry.leftChild = newEntryIndex; StorageImpl_WriteDirEntry(This, current, - ¤tProperty); + ¤tEntry); found = 1; } } @@ -1325,15 +1325,15 @@ static HRESULT insertIntoTree( { StorageImpl_ReadDirEntry(This, next, - ¤tProperty); + ¤tEntry); current = next; } else { - currentProperty.rightChild = newPropertyIndex; + currentEntry.rightChild = newEntryIndex; StorageImpl_WriteDirEntry(This, current, - ¤tProperty); + ¤tEntry); found = 1; } } @@ -1346,8 +1346,8 @@ static HRESULT insertIntoTree( return STG_E_FILEALREADYEXISTS; } - previous = currentProperty.leftChild; - next = currentProperty.rightChild; + previous = currentEntry.leftChild; + next = currentEntry.rightChild; } } else @@ -1355,10 +1355,10 @@ static HRESULT insertIntoTree( /* * The root storage is empty, link the new property to its dir property */ - currentProperty.dirRootEntry = newPropertyIndex; + currentEntry.dirRootEntry = newEntryIndex; StorageImpl_WriteDirEntry(This, parentStorageIndex, - ¤tProperty); + ¤tEntry); } return S_OK;
1
0
0
0
Vincent Povirk : ole32: Rename deleteSt*Property to deleteSt*Contents.
by Alexandre Julliard
16 Nov '09
16 Nov '09
Module: wine Branch: master Commit: 14647d7ca9cea8493284db0fc7395f87104cc85f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=14647d7ca9cea8493284db0fc…
Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Thu Nov 12 13:46:04 2009 -0600 ole32: Rename deleteSt*Property to deleteSt*Contents. We now only delete the node contents in these functions. --- dlls/ole32/storage32.c | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 9682a1e..c5bdd62 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -159,15 +159,15 @@ typedef struct /*********************************************************************** * Forward declaration of internal functions used by the method DestroyElement */ -static HRESULT deleteStorageProperty( +static HRESULT deleteStorageContents( StorageBaseImpl *parentStorage, - ULONG foundPropertyIndexToDelete, - DirEntry propertyToDelete); + ULONG indexToDelete, + DirEntry entryDataToDelete); -static HRESULT deleteStreamProperty( +static HRESULT deleteStreamContents( StorageBaseImpl *parentStorage, - ULONG foundPropertyIndexToDelete, - DirEntry propertyToDelete); + ULONG indexToDelete, + DirEntry entryDataToDelete); static HRESULT removeFromTree( StorageImpl *This, @@ -1746,14 +1746,14 @@ static HRESULT WINAPI StorageBaseImpl_DestroyElement( if ( propertyToDelete.stgType == STGTY_STORAGE ) { - hr = deleteStorageProperty( + hr = deleteStorageContents( This, foundPropertyIndexToDelete, propertyToDelete); } else if ( propertyToDelete.stgType == STGTY_STREAM ) { - hr = deleteStreamProperty( + hr = deleteStreamContents( This, foundPropertyIndexToDelete, propertyToDelete); @@ -1839,13 +1839,13 @@ static void StorageBaseImpl_DeleteAll(StorageBaseImpl * stg) * * Internal Method * - * Perform the deletion of a complete storage node + * Delete the contents of a storage entry. * */ -static HRESULT deleteStorageProperty( +static HRESULT deleteStorageContents( StorageBaseImpl *parentStorage, - ULONG indexOfPropertyToDelete, - DirEntry propertyToDelete) + ULONG indexToDelete, + DirEntry entryDataToDelete) { IEnumSTATSTG *elements = 0; IStorage *childStorage = 0; @@ -1858,7 +1858,7 @@ static HRESULT deleteStorageProperty( */ hr = StorageBaseImpl_OpenStorage( (IStorage*)parentStorage, - propertyToDelete.name, + entryDataToDelete.name, 0, STGM_WRITE | STGM_SHARE_EXCLUSIVE, 0, @@ -1906,13 +1906,13 @@ static HRESULT deleteStorageProperty( * * Internal Method * - * Perform the deletion of a stream node + * Perform the deletion of a stream's data * */ -static HRESULT deleteStreamProperty( +static HRESULT deleteStreamContents( StorageBaseImpl *parentStorage, - ULONG indexOfPropertyToDelete, - DirEntry propertyToDelete) + ULONG indexToDelete, + DirEntry entryDataToDelete) { IStream *pis; HRESULT hr; @@ -1922,7 +1922,7 @@ static HRESULT deleteStreamProperty( size.u.LowPart = 0; hr = StorageBaseImpl_OpenStream((IStorage*)parentStorage, - propertyToDelete.name, NULL, STGM_WRITE | STGM_SHARE_EXCLUSIVE, 0, &pis); + entryDataToDelete.name, NULL, STGM_WRITE | STGM_SHARE_EXCLUSIVE, 0, &pis); if (hr!=S_OK) {
1
0
0
0
Vincent Povirk : ole32: Rename rootPropertyName to rootEntryName.
by Alexandre Julliard
16 Nov '09
16 Nov '09
Module: wine Branch: master Commit: 390e2711f649191fbd3353b2a96838136b260f0c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=390e2711f649191fbd3353b2a…
Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Thu Nov 12 13:37:58 2009 -0600 ole32: Rename rootPropertyName to rootEntryName. --- dlls/ole32/storage32.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 2ac8127..9682a1e 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -65,7 +65,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(storage); static const BYTE STORAGE_magic[8] ={0xd0,0xcf,0x11,0xe0,0xa1,0xb1,0x1a,0xe1}; static const BYTE STORAGE_oldmagic[8] ={0xd0,0xcf,0x11,0xe0,0x0e,0x11,0xfc,0x0d}; -static const char rootPropertyName[] = "Root Entry"; +static const char rootEntryName[] = "Root Entry"; /**************************************************************************** * Storage32InternalImpl definitions. @@ -2266,7 +2266,7 @@ static HRESULT StorageImpl_Construct( * Initialize the property chain */ memset(&rootProp, 0, sizeof(rootProp)); - MultiByteToWideChar( CP_ACP, 0, rootPropertyName, -1, rootProp.name, + MultiByteToWideChar( CP_ACP, 0, rootEntryName, -1, rootProp.name, sizeof(rootProp.name)/sizeof(WCHAR) ); rootProp.sizeOfNameString = (strlenW(rootProp.name)+1) * sizeof(WCHAR); rootProp.stgType = STGTY_ROOT;
1
0
0
0
Vincent Povirk : ole32: Rename SmallBlockChainStream. ownerPropertyIndex to ownerDirEntry.
by Alexandre Julliard
16 Nov '09
16 Nov '09
Module: wine Branch: master Commit: 93db14e79ae3db0f44824736552ea7a23b40b89f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=93db14e79ae3db0f448247365…
Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Thu Nov 12 13:36:07 2009 -0600 ole32: Rename SmallBlockChainStream.ownerPropertyIndex to ownerDirEntry. --- dlls/ole32/storage32.c | 20 ++++++++++---------- dlls/ole32/storage32.h | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 0701c5a..2ac8127 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -3375,7 +3375,7 @@ BlockChainStream* Storage32Impl_SmallBlocksToBigBlocks( /* * Destroy the small block chain. */ - propertyIndex = (*ppsbChain)->ownerPropertyIndex; + propertyIndex = (*ppsbChain)->ownerDirEntry; SmallBlockChainStream_SetSize(*ppsbChain, size); SmallBlockChainStream_Destroy(*ppsbChain); *ppsbChain = 0; @@ -4657,7 +4657,7 @@ static ULARGE_INTEGER BlockChainStream_GetSize(BlockChainStream* This) SmallBlockChainStream* SmallBlockChainStream_Construct( StorageImpl* parentStorage, ULONG* headOfStreamPlaceHolder, - ULONG propertyIndex) + ULONG dirEntry) { SmallBlockChainStream* newStream; @@ -4665,7 +4665,7 @@ SmallBlockChainStream* SmallBlockChainStream_Construct( newStream->parentStorage = parentStorage; newStream->headOfStreamPlaceHolder = headOfStreamPlaceHolder; - newStream->ownerPropertyIndex = propertyIndex; + newStream->ownerDirEntry = dirEntry; return newStream; } @@ -4690,11 +4690,11 @@ static ULONG SmallBlockChainStream_GetHeadOfChain( if (This->headOfStreamPlaceHolder != NULL) return *(This->headOfStreamPlaceHolder); - if (This->ownerPropertyIndex) + if (This->ownerDirEntry) { readSuccessful = StorageImpl_ReadDirEntry( This->parentStorage, - This->ownerPropertyIndex, + This->ownerDirEntry, &chainProperty); if (readSuccessful) @@ -5178,13 +5178,13 @@ static BOOL SmallBlockChainStream_Shrink( DirEntry chainProp; StorageImpl_ReadDirEntry(This->parentStorage, - This->ownerPropertyIndex, + This->ownerDirEntry, &chainProp); chainProp.startingBlock = BLOCK_END_OF_CHAIN; StorageImpl_WriteDirEntry(This->parentStorage, - This->ownerPropertyIndex, + This->ownerDirEntry, &chainProp); /* @@ -5255,12 +5255,12 @@ static BOOL SmallBlockChainStream_Enlarge( { DirEntry chainProp; - StorageImpl_ReadDirEntry(This->parentStorage, This->ownerPropertyIndex, + StorageImpl_ReadDirEntry(This->parentStorage, This->ownerDirEntry, &chainProp); chainProp.startingBlock = blockIndex; - StorageImpl_WriteDirEntry(This->parentStorage, This->ownerPropertyIndex, + StorageImpl_WriteDirEntry(This->parentStorage, This->ownerDirEntry, &chainProp); } } @@ -5385,7 +5385,7 @@ static ULARGE_INTEGER SmallBlockChainStream_GetSize(SmallBlockChainStream* This) StorageImpl_ReadDirEntry( This->parentStorage, - This->ownerPropertyIndex, + This->ownerDirEntry, &chainProperty); return chainProperty.size; diff --git a/dlls/ole32/storage32.h b/dlls/ole32/storage32.h index 41dd9bd..07d4048 100644 --- a/dlls/ole32/storage32.h +++ b/dlls/ole32/storage32.h @@ -476,7 +476,7 @@ BOOL BlockChainStream_SetSize( struct SmallBlockChainStream { StorageImpl* parentStorage; - ULONG ownerPropertyIndex; + ULONG ownerDirEntry; ULONG* headOfStreamPlaceHolder; }; @@ -486,7 +486,7 @@ struct SmallBlockChainStream SmallBlockChainStream* SmallBlockChainStream_Construct( StorageImpl* parentStorage, ULONG* headOfStreamPlaceHolder, - ULONG propertyIndex); + ULONG dirEntry); void SmallBlockChainStream_Destroy( SmallBlockChainStream* This);
1
0
0
0
Vincent Povirk : ole32: Rename BlockChainStream. ownerPropertyIndex to ownerDirEntry.
by Alexandre Julliard
16 Nov '09
16 Nov '09
Module: wine Branch: master Commit: 848caa51685f771a1897898e7880349d5a19ce0c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=848caa51685f771a1897898e7…
Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Thu Nov 12 13:31:25 2009 -0600 ole32: Rename BlockChainStream.ownerPropertyIndex to ownerDirEntry. --- dlls/ole32/storage32.c | 18 +++++++++--------- dlls/ole32/storage32.h | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 0bff0f4..0701c5a 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -3470,7 +3470,7 @@ SmallBlockChainStream* Storage32Impl_BigBlocksToSmallBlocks( } /* destroy the original big block chain */ - propertyIndex = (*ppbbChain)->ownerPropertyIndex; + propertyIndex = (*ppbbChain)->ownerDirEntry; BlockChainStream_SetSize(*ppbbChain, size); BlockChainStream_Destroy(*ppbbChain); *ppbbChain = NULL; @@ -4106,7 +4106,7 @@ void StorageUtl_CopyDirEntryToSTATSTG( BlockChainStream* BlockChainStream_Construct( StorageImpl* parentStorage, ULONG* headOfStreamPlaceHolder, - ULONG propertyIndex) + ULONG dirEntry) { BlockChainStream* newStream; ULONG blockIndex; @@ -4115,7 +4115,7 @@ BlockChainStream* BlockChainStream_Construct( newStream->parentStorage = parentStorage; newStream->headOfStreamPlaceHolder = headOfStreamPlaceHolder; - newStream->ownerPropertyIndex = propertyIndex; + newStream->ownerDirEntry = dirEntry; newStream->lastBlockNoInSequence = 0xFFFFFFFF; newStream->tailIndex = BLOCK_END_OF_CHAIN; newStream->numBlocks = 0; @@ -4161,11 +4161,11 @@ static ULONG BlockChainStream_GetHeadOfChain(BlockChainStream* This) if (This->headOfStreamPlaceHolder != 0) return *(This->headOfStreamPlaceHolder); - if (This->ownerPropertyIndex != DIRENTRY_NULL) + if (This->ownerDirEntry != DIRENTRY_NULL) { readSuccessful = StorageImpl_ReadDirEntry( This->parentStorage, - This->ownerPropertyIndex, + This->ownerDirEntry, &chainProperty); if (readSuccessful) @@ -4498,18 +4498,18 @@ static BOOL BlockChainStream_Enlarge(BlockChainStream* This, else { DirEntry chainProp; - assert(This->ownerPropertyIndex != DIRENTRY_NULL); + assert(This->ownerDirEntry != DIRENTRY_NULL); StorageImpl_ReadDirEntry( This->parentStorage, - This->ownerPropertyIndex, + This->ownerDirEntry, &chainProp); chainProp.startingBlock = blockIndex; StorageImpl_WriteDirEntry( This->parentStorage, - This->ownerPropertyIndex, + This->ownerDirEntry, &chainProp); } @@ -4627,7 +4627,7 @@ static ULARGE_INTEGER BlockChainStream_GetSize(BlockChainStream* This) */ StorageImpl_ReadDirEntry( This->parentStorage, - This->ownerPropertyIndex, + This->ownerDirEntry, &chainProperty); return chainProperty.size; diff --git a/dlls/ole32/storage32.h b/dlls/ole32/storage32.h index 566e541..41dd9bd 100644 --- a/dlls/ole32/storage32.h +++ b/dlls/ole32/storage32.h @@ -431,7 +431,7 @@ struct BlockChainStream { StorageImpl* parentStorage; ULONG* headOfStreamPlaceHolder; - ULONG ownerPropertyIndex; + ULONG ownerDirEntry; ULONG lastBlockNoInSequence; ULONG lastBlockNoInSequenceIndex; ULONG tailIndex; @@ -444,7 +444,7 @@ struct BlockChainStream BlockChainStream* BlockChainStream_Construct( StorageImpl* parentStorage, ULONG* headOfStreamPlaceHolder, - ULONG propertyIndex); + ULONG dirEntry); void BlockChainStream_Destroy( BlockChainStream* This);
1
0
0
0
Vincent Povirk : ole32: Rename stream.ownerProperty to dirEntry.
by Alexandre Julliard
16 Nov '09
16 Nov '09
Module: wine Branch: master Commit: df960e27c40875911c42532270d09393f7836afd URL:
http://source.winehq.org/git/wine.git/?a=commit;h=df960e27c40875911c4253227…
Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Thu Nov 12 13:25:10 2009 -0600 ole32: Rename stream.ownerProperty to dirEntry. --- dlls/ole32/stg_stream.c | 24 ++++++++++++------------ dlls/ole32/storage32.c | 2 +- dlls/ole32/storage32.h | 6 +++--- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/dlls/ole32/stg_stream.c b/dlls/ole32/stg_stream.c index 4cc114a..e3ca9a1 100644 --- a/dlls/ole32/stg_stream.c +++ b/dlls/ole32/stg_stream.c @@ -209,7 +209,7 @@ static void StgStreamImpl_OpenBlockChain( * Read the information from the property. */ readSuccessful = StorageImpl_ReadDirEntry(This->parentStorage->ancestorStorage, - This->ownerProperty, + This->dirEntry, &curProperty); if (readSuccessful) @@ -233,14 +233,14 @@ static void StgStreamImpl_OpenBlockChain( This->smallBlockChain = SmallBlockChainStream_Construct( This->parentStorage->ancestorStorage, NULL, - This->ownerProperty); + This->dirEntry); } else { This->bigBlockChain = BlockChainStream_Construct( This->parentStorage->ancestorStorage, NULL, - This->ownerProperty); + This->dirEntry); } } } @@ -591,14 +591,14 @@ static HRESULT WINAPI StgStreamImpl_SetSize( This->smallBlockChain = SmallBlockChainStream_Construct( This->parentStorage->ancestorStorage, NULL, - This->ownerProperty); + This->dirEntry); } else { This->bigBlockChain = BlockChainStream_Construct( This->parentStorage->ancestorStorage, NULL, - This->ownerProperty); + This->dirEntry); } } @@ -606,7 +606,7 @@ static HRESULT WINAPI StgStreamImpl_SetSize( * Read this stream's property to see if it's small blocks or big blocks */ Success = StorageImpl_ReadDirEntry(This->parentStorage->ancestorStorage, - This->ownerProperty, + This->dirEntry, &curProperty); /* * Determine if we have to switch from small to big blocks or vice versa @@ -651,7 +651,7 @@ static HRESULT WINAPI StgStreamImpl_SetSize( * Write the new information about this stream to the property */ Success = StorageImpl_ReadDirEntry(This->parentStorage->ancestorStorage, - This->ownerProperty, + This->dirEntry, &curProperty); curProperty.size.u.HighPart = libNewSize.u.HighPart; @@ -660,7 +660,7 @@ static HRESULT WINAPI StgStreamImpl_SetSize( if (Success) { StorageImpl_WriteDirEntry(This->parentStorage->ancestorStorage, - This->ownerProperty, + This->dirEntry, &curProperty); } @@ -853,7 +853,7 @@ static HRESULT WINAPI StgStreamImpl_Stat( * Read the information from the property. */ readSuccessful = StorageImpl_ReadDirEntry(This->parentStorage->ancestorStorage, - This->ownerProperty, + This->dirEntry, &curProperty); if (readSuccessful) @@ -910,7 +910,7 @@ static HRESULT WINAPI StgStreamImpl_Clone( if ( ppstm == 0 ) return STG_E_INVALIDPOINTER; - new_stream = StgStreamImpl_Construct (This->parentStorage, This->grfMode, This->ownerProperty); + new_stream = StgStreamImpl_Construct (This->parentStorage, This->grfMode, This->dirEntry); if (!new_stream) return STG_E_INSUFFICIENTMEMORY; /* Currently the only reason for new_stream=0 */ @@ -962,7 +962,7 @@ static const IStreamVtbl StgStreamImpl_Vtbl = StgStreamImpl* StgStreamImpl_Construct( StorageBaseImpl* parentStorage, DWORD grfMode, - ULONG ownerProperty) + ULONG dirEntry) { StgStreamImpl* newStream; @@ -991,7 +991,7 @@ StgStreamImpl* StgStreamImpl_Construct( */ newStream->grfMode = grfMode; - newStream->ownerProperty = ownerProperty; + newStream->dirEntry = dirEntry; /* * Start the stream at the beginning. diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index f2d856b..0bff0f4 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -827,7 +827,7 @@ static HRESULT WINAPI StorageBaseImpl_CreateStream( LIST_FOR_EACH_ENTRY(strm, &This->strmHead, StgStreamImpl, StrmListEntry) { - if (strm->ownerProperty == foundPropertyIndex) + if (strm->dirEntry == foundPropertyIndex) { TRACE("Stream deleted %p\n", strm); strm->parentStorage = NULL; diff --git a/dlls/ole32/storage32.h b/dlls/ole32/storage32.h index cc5d267..566e541 100644 --- a/dlls/ole32/storage32.h +++ b/dlls/ole32/storage32.h @@ -352,9 +352,9 @@ struct StgStreamImpl DWORD grfMode; /* - * Index of the property that owns (points to) this stream. + * Index of the directory entry that owns (points to) this stream. */ - ULONG ownerProperty; + ULONG dirEntry; /* * Helper variable that contains the size of the stream @@ -381,7 +381,7 @@ struct StgStreamImpl StgStreamImpl* StgStreamImpl_Construct( StorageBaseImpl* parentStorage, DWORD grfMode, - ULONG ownerProperty); + ULONG dirEntry); /******************************************************************************
1
0
0
0
Vincent Povirk : ole32: Rename rootPropertySetIndex to storageDirEntry.
by Alexandre Julliard
16 Nov '09
16 Nov '09
Module: wine Branch: master Commit: 4ba13cb9a725422a7cfd1ce93810b22551f91375 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4ba13cb9a725422a7cfd1ce93…
Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Thu Nov 12 13:19:37 2009 -0600 ole32: Rename rootPropertySetIndex to storageDirEntry. Not only is it not related to property set storages, it's also not the root of the tree that's used to search for elements. --- dlls/ole32/storage32.c | 50 ++++++++++++++++++++++++------------------------ dlls/ole32/storage32.h | 5 +-- 2 files changed, 27 insertions(+), 28 deletions(-) diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index a834a46..f2d856b 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -443,7 +443,7 @@ static HRESULT WINAPI StorageBaseImpl_OpenStream( */ foundPropertyIndex = findElement( This->ancestorStorage, - This->rootPropertySetIndex, + This->storageDirEntry, pwcsName, ¤tProperty); @@ -551,7 +551,7 @@ static HRESULT WINAPI StorageBaseImpl_OpenStorage( foundPropertyIndex = findElement( This->ancestorStorage, - This->rootPropertySetIndex, + This->storageDirEntry, pwcsName, ¤tProperty); @@ -610,7 +610,7 @@ static HRESULT WINAPI StorageBaseImpl_EnumElements( newEnum = IEnumSTATSTGImpl_Construct( This->ancestorStorage, - This->rootPropertySetIndex); + This->storageDirEntry); if (newEnum!=0) { @@ -652,7 +652,7 @@ static HRESULT WINAPI StorageBaseImpl_Stat( readSuccessful = StorageImpl_ReadDirEntry( This->ancestorStorage, - This->rootPropertySetIndex, + This->storageDirEntry, &curProperty); if (readSuccessful) @@ -700,7 +700,7 @@ static HRESULT WINAPI StorageBaseImpl_RenameElement( iface, debugstr_w(pwcsOldName), debugstr_w(pwcsNewName)); foundPropertyIndex = findElement(This->ancestorStorage, - This->rootPropertySetIndex, + This->storageDirEntry, pwcsNewName, ¤tProperty); @@ -716,14 +716,14 @@ static HRESULT WINAPI StorageBaseImpl_RenameElement( * Search for the old element name */ foundPropertyIndex = findElement(This->ancestorStorage, - This->rootPropertySetIndex, + This->storageDirEntry, pwcsOldName, ¤tProperty); if (foundPropertyIndex != DIRENTRY_NULL) { /* Remove the element from its current position in the tree */ - removeFromTree(This->ancestorStorage, This->rootPropertySetIndex, + removeFromTree(This->ancestorStorage, This->storageDirEntry, foundPropertyIndex); /* Change the name of the element */ @@ -733,7 +733,7 @@ static HRESULT WINAPI StorageBaseImpl_RenameElement( ¤tProperty); /* Insert the element in a new position in the tree */ - insertIntoTree(This->ancestorStorage, This->rootPropertySetIndex, + insertIntoTree(This->ancestorStorage, This->storageDirEntry, foundPropertyIndex); } else @@ -812,7 +812,7 @@ static HRESULT WINAPI StorageBaseImpl_CreateStream( *ppstm = 0; foundPropertyIndex = findElement(This->ancestorStorage, - This->rootPropertySetIndex, + This->storageDirEntry, pwcsName, ¤tProperty); @@ -884,7 +884,7 @@ static HRESULT WINAPI StorageBaseImpl_CreateStream( */ insertIntoTree( This->ancestorStorage, - This->rootPropertySetIndex, + This->storageDirEntry, newPropertyIndex); /* @@ -926,14 +926,14 @@ static HRESULT WINAPI StorageBaseImpl_SetClass( TRACE("(%p, %p)\n", iface, clsid); success = StorageImpl_ReadDirEntry(This->ancestorStorage, - This->rootPropertySetIndex, + This->storageDirEntry, &curProperty); if (success) { curProperty.clsid = *clsid; success = StorageImpl_WriteDirEntry(This->ancestorStorage, - This->rootPropertySetIndex, + This->storageDirEntry, &curProperty); if (success) hRes = S_OK; @@ -998,7 +998,7 @@ static HRESULT WINAPI StorageBaseImpl_CreateStorage( } foundPropertyIndex = findElement(This->ancestorStorage, - This->rootPropertySetIndex, + This->storageDirEntry, pwcsName, ¤tProperty); @@ -1067,7 +1067,7 @@ static HRESULT WINAPI StorageBaseImpl_CreateStorage( */ insertIntoTree( This->ancestorStorage, - This->rootPropertySetIndex, + This->storageDirEntry, newPropertyIndex); /* @@ -1735,7 +1735,7 @@ static HRESULT WINAPI StorageBaseImpl_DestroyElement( foundPropertyIndexToDelete = findElement( This->ancestorStorage, - This->rootPropertySetIndex, + This->storageDirEntry, pwcsName, &propertyToDelete); @@ -1767,7 +1767,7 @@ static HRESULT WINAPI StorageBaseImpl_DestroyElement( */ hr = removeFromTree( This->ancestorStorage, - This->rootPropertySetIndex, + This->storageDirEntry, foundPropertyIndexToDelete); /* @@ -2297,13 +2297,13 @@ static HRESULT StorageImpl_Construct( if ( (currentProperty.sizeOfNameString != 0 ) && (currentProperty.stgType == STGTY_ROOT) ) { - This->base.rootPropertySetIndex = currentPropertyIndex; + This->base.storageDirEntry = currentPropertyIndex; } } currentPropertyIndex++; - } while (readSuccessful && (This->base.rootPropertySetIndex == DIRENTRY_NULL) ); + } while (readSuccessful && (This->base.storageDirEntry == DIRENTRY_NULL) ); if (!readSuccessful) { @@ -2315,7 +2315,7 @@ static HRESULT StorageImpl_Construct( * Create the block chain abstraction for the small block root chain. */ if(!(This->smallBlockRootChain = - BlockChainStream_Construct(This, NULL, This->base.rootPropertySetIndex))) + BlockChainStream_Construct(This, NULL, This->base.storageDirEntry))) return STG_E_READFAULT; return hr; @@ -3130,7 +3130,7 @@ BOOL StorageImpl_ReadDirEntry( if (SUCCEEDED(readRes)) { /* replace the name of root entry (often "Root Entry") by the file name */ - WCHAR *propName = (index == This->base.rootPropertySetIndex) ? + WCHAR *propName = (index == This->base.storageDirEntry) ? This->filename : (WCHAR *)currentProperty+OFFSET_PS_NAME; memset(buffer->name, 0, sizeof(buffer->name)); @@ -3964,7 +3964,7 @@ static StorageInternalImpl* StorageInternalImpl_Construct( /* * Keep the index of the root property set for this storage, */ - newStorage->base.rootPropertySetIndex = rootPropertyIndex; + newStorage->base.storageDirEntry = rootPropertyIndex; return newStorage; } @@ -4900,7 +4900,7 @@ static ULONG SmallBlockChainStream_GetNextFreeBlock( StorageImpl_ReadDirEntry( This->parentStorage, - This->parentStorage->base.rootPropertySetIndex, + This->parentStorage->base.storageDirEntry, &rootProp); rootProp.startingBlock = sbStartIndex; @@ -4909,7 +4909,7 @@ static ULONG SmallBlockChainStream_GetNextFreeBlock( StorageImpl_WriteDirEntry( This->parentStorage, - This->parentStorage->base.rootPropertySetIndex, + This->parentStorage->base.storageDirEntry, &rootProp); } else @@ -4930,7 +4930,7 @@ static ULONG SmallBlockChainStream_GetNextFreeBlock( StorageImpl_ReadDirEntry( This->parentStorage, - This->parentStorage->base.rootPropertySetIndex, + This->parentStorage->base.storageDirEntry, &rootProp); if (rootProp.size.u.LowPart < @@ -4944,7 +4944,7 @@ static ULONG SmallBlockChainStream_GetNextFreeBlock( StorageImpl_WriteDirEntry( This->parentStorage, - This->parentStorage->base.rootPropertySetIndex, + This->parentStorage->base.storageDirEntry, &rootProp); } } diff --git a/dlls/ole32/storage32.h b/dlls/ole32/storage32.h index 2a9dd1f..cc5d267 100644 --- a/dlls/ole32/storage32.h +++ b/dlls/ole32/storage32.h @@ -207,10 +207,9 @@ struct StorageBaseImpl StorageImpl* ancestorStorage; /* - * Index of the property for the root of - * this storage + * Index of the directory entry of this storage */ - ULONG rootPropertySetIndex; + ULONG storageDirEntry; /* * virtual Destructor method.
1
0
0
0
Vincent Povirk : ole32: Rename propertyUniqueID to clsid.
by Alexandre Julliard
16 Nov '09
16 Nov '09
Module: wine Branch: master Commit: cf1242e03b24c152cc122279649edf369845011c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=cf1242e03b24c152cc1222796…
Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Thu Nov 12 13:10:17 2009 -0600 ole32: Rename propertyUniqueID to clsid. --- dlls/ole32/storage32.c | 8 ++++---- dlls/ole32/storage32.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index f6f2163..a834a46 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -930,7 +930,7 @@ static HRESULT WINAPI StorageBaseImpl_SetClass( &curProperty); if (success) { - curProperty.propertyUniqueID = *clsid; + curProperty.clsid = *clsid; success = StorageImpl_WriteDirEntry(This->ancestorStorage, This->rootPropertySetIndex, @@ -3079,7 +3079,7 @@ void UpdateRawDirEntry(BYTE *buffer, const DirEntry *newData) StorageUtl_WriteGUID( buffer, OFFSET_PS_GUID, - &newData->propertyUniqueID); + &newData->clsid); StorageUtl_WriteDWord( buffer, @@ -3165,7 +3165,7 @@ BOOL StorageImpl_ReadDirEntry( StorageUtl_ReadGUID( currentProperty, OFFSET_PS_GUID, - &buffer->propertyUniqueID); + &buffer->clsid); StorageUtl_ReadDWord( currentProperty, @@ -4094,7 +4094,7 @@ void StorageUtl_CopyDirEntryToSTATSTG( */ destination->grfMode = 0; destination->grfLocksSupported = 0; - destination->clsid = source->propertyUniqueID; + destination->clsid = source->clsid; destination->grfStateBits = 0; destination->reserved = 0; } diff --git a/dlls/ole32/storage32.h b/dlls/ole32/storage32.h index d23714e..2a9dd1f 100644 --- a/dlls/ole32/storage32.h +++ b/dlls/ole32/storage32.h @@ -133,7 +133,7 @@ struct DirEntry ULONG leftChild; ULONG rightChild; ULONG dirRootEntry; - GUID propertyUniqueID; + GUID clsid; FILETIME ctime; FILETIME mtime; ULONG startingBlock;
1
0
0
0
← Newer
1
...
47
48
49
50
51
52
53
...
91
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
Results per page:
10
25
50
100
200