Module: wine
Branch: master
Commit: d347ebe1968a32d62834d897ecfed647e001c06a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d347ebe1968a32d62834d897e…
Author: Lei Zhang <thestig(a)google.com>
Date: Fri Apr 6 16:46:59 2007 -0700
advapi32: Spelling fixes.
---
dlls/advapi32/crypt.c | 4 ++--
dlls/advapi32/registry.c | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/advapi32/crypt.c b/dlls/advapi32/crypt.c
index 3a2f770..1fd16c3 100644
--- a/dlls/advapi32/crypt.c
+++ b/dlls/advapi32/crypt.c
@@ -987,7 +987,7 @@ BOOL WINAPI CryptDuplicateKey (HCRYPTKEY hKey, DWORD *pdwReserved, DWORD dwFlags
* Encrypts data.
*
* PARAMS
- * hKey [I] Handle to the enryption key.
+ * hKey [I] Handle to the encryption key.
* hHash [I] Handle to a hash object.
* Final [I] TRUE if this is the last section to encrypt.
* dwFlags [I] Can be CRYPT_OAEP.
@@ -1027,7 +1027,7 @@ BOOL WINAPI CryptEncrypt (HCRYPTKEY hKey, HCRYPTHASH hHash, BOOL Final,
/******************************************************************************
* CryptEnumProvidersW (ADVAPI32.@)
*
- * Returns the next availabe CSP.
+ * Returns the next available CSP.
*
* PARAMS
* dwIndex [I] Index of the next provider to be enumerated.
diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c
index 28689cd..4406004 100644
--- a/dlls/advapi32/registry.c
+++ b/dlls/advapi32/registry.c
@@ -566,7 +566,7 @@ LONG WINAPI RegEnumKeyExA( HKEY hkey, DWORD index, LPSTR name, LPDWORD name_len,
/******************************************************************************
* RegEnumKeyW [ADVAPI32.@]
*
- * Enumerates subkyes of the specified open reg key.
+ * Enumerates subkeys of the specified open reg key.
*
* PARAMS
* hKey [I] Handle to an open key.
@@ -805,7 +805,7 @@ LONG WINAPI RegQueryMultipleValuesW( HKEY hkey, PVALENTW val_list, DWORD num_val
* lpcMaxValueNameLen [O] Size of the key's longest value name in TCHARS.
* lpcMaxValueLen [O] Longest data component among the key's values
* lpcbSecurityDescriptor [O] Size of the key's security descriptor.
- * lpftLastWriteTime [O] FILETIME strucutre that is the last write time.
+ * lpftLastWriteTime [O] FILETIME structure that is the last write time.
*
* RETURNS
* Success: ERROR_SUCCESS
@@ -2264,7 +2264,7 @@ LONG WINAPI RegFlushKey( HKEY hkey )
/******************************************************************************
* RegConnectRegistryW [ADVAPI32.@]
*
- * Establishe a connection to a predefined registry key on another computer.
+ * Establish a connection to a predefined registry key on another computer.
*
* PARAMS
* lpMachineName [I] Address of name of remote computer
@@ -2373,7 +2373,7 @@ LONG WINAPI RegNotifyChangeKeyValue( HKEY hkey, BOOL fWatchSubTree,
*
* PARAMS
* hToken [I] Handle of token representing the user
- * dwOptions [I] Reserved, nust be 0
+ * dwOptions [I] Reserved, must be 0
* samDesired [I] Desired access rights
* phkResult [O] Destination for the resulting key handle
*