Cleanup some documentation.

This commit is contained in:
James Hawkins 2004-12-14 15:26:04 +00:00 committed by Alexandre Julliard
parent 40b4f7f6e6
commit 7f34c04067
1 changed files with 24 additions and 12 deletions

View File

@ -1884,12 +1884,18 @@ BOOL WINAPI CryptVerifySignatureA (HCRYPTHASH hHash, BYTE *pbSignature, DWORD dw
/****************************************************************************** /******************************************************************************
* SystemFunction040 (ADVAPI32.@) * SystemFunction040 (ADVAPI32.@)
* *
* PARAMS: * PARAMS
* memory : pointer to memory to encrypt * memory [I/O] Pointer to memory to encrypt.
* length : length of region to encrypt, in bytes. must be multiple of RTL_ENCRYPT_MEMORY_SIZE * length [I] Length of region to encrypt in bytes.
* flags : RTL_ENCRYPT_OPTION_SAME_PROCESS | RTL_ENCRYPT_OPTION_CROSS_PROCESS, | RTL_ENCRYPT_OPTION_SAME_LOGON * flags [I] Control whether other processes are able to decrypt the memory.
* control whether other processes are able to decrypt the memory. The same value must be given * RTL_ENCRYPT_OPTION_SAME_PROCESS
* when decrypting the memory. * RTL_ENCRYPT_OPTION_CROSS_PROCESS
* RTL_ENCRYPT_OPTION_SAME_LOGON
*
* NOTES
* length must be a multiple of RTL_ENCRYPT_MEMORY_SIZE.
* If flags are specified when encrypting, the same flag value must be given
* when decrypting the memory.
*/ */
NTSTATUS WINAPI SystemFunction040(PVOID memory, ULONG length, ULONG flags) /* RtlEncryptMemory */ NTSTATUS WINAPI SystemFunction040(PVOID memory, ULONG length, ULONG flags) /* RtlEncryptMemory */
{ {
@ -1900,12 +1906,18 @@ NTSTATUS WINAPI SystemFunction040(PVOID memory, ULONG length, ULONG flags) /* R
/****************************************************************************** /******************************************************************************
* SystemFunction041 (ADVAPI32.@) * SystemFunction041 (ADVAPI32.@)
* *
* PARAMS: * PARAMS
* memory : pointer to memory to decrypt * memory [I/O] Pointer to memory to decrypt.
* length : length of region to decrypt, in bytes. must be multiple of RTL_ENCRYPT_MEMORY_SIZE * length [I] Length of region to decrypt in bytes.
* flags : RTL_ENCRYPT_OPTION_SAME_PROCESS | RTL_ENCRYPT_OPTION_CROSS_PROCESS, | RTL_ENCRYPT_OPTION_SAME_LOGON * flags [I] Control whether other processes are able to decrypt the memory.
* control whether other processes are able to decrypt the memory. The same value must be given * RTL_ENCRYPT_OPTION_SAME_PROCESS
* when encrypting the memory. * RTL_ENCRYPT_OPTION_CROSS_PROCESS
* RTL_ENCRYPT_OPTION_SAME_LOGON
*
* NOTES
* length must be a multiple of RTL_ENCRYPT_MEMORY_SIZE.
* If flags are specified when encrypting, the same flag value must be given
* when decrypting the memory.
*/ */
NTSTATUS WINAPI SystemFunction041(PVOID memory, ULONG length, ULONG flags) /* RtlDecryptMemory */ NTSTATUS WINAPI SystemFunction041(PVOID memory, ULONG length, ULONG flags) /* RtlDecryptMemory */
{ {