2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: lib/advapi32/reg/reg.c
5 * PURPOSE: Registry functions
10 /* FUNCTIONS ****************************************************************/
13 IsHKCRKey(_In_ HKEY hKey
)
15 return ((ULONG_PTR
)hKey
& 0x2) != 0;
20 MakeHKCRKey(_Inout_ HKEY
* hKey
)
22 *hKey
= (HKEY
)((ULONG_PTR
)(*hKey
) | 0x2);
29 _In_ LPCWSTR lpSubKey
,
31 _In_opt_ LPWSTR lpClass
,
33 _In_ REGSAM samDesired
,
34 _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes
,
35 _Out_ PHKEY phkResult
,
36 _Out_opt_ LPDWORD lpdwDisposition
);
42 _In_ LPCWSTR lpSubKey
,
44 _In_ REGSAM samDesired
,
45 _In_ PHKEY phkResult
);
51 _In_ LPCWSTR lpSubKey
,
60 _In_ LPDWORD Reserved
,
72 _In_ CONST BYTE
* Data
,
81 _Inout_ LPDWORD lpcbName
,
82 _Reserved_ LPDWORD lpReserved
,
83 _Out_opt_ LPWSTR lpClass
,
84 _Inout_opt_ LPDWORD lpcbClass
,
85 _Out_opt_ PFILETIME lpftLastWriteTime
);
93 _Inout_ PDWORD val_count
,
94 _Reserved_ PDWORD reserved
,
95 _Out_opt_ PDWORD type
,
96 _Out_opt_ LPBYTE data
,
97 _Inout_opt_ PDWORD count
);