Go to the source code of this file.
◆ OpenSoundDeviceRegKey()
Definition at line 73 of file registry.c.
77{
80
83
84
85
86
87
88
89
90
91
97
98
100
101 if ( ! RegPath )
102 {
104 }
105
106
108 L"%ls\\%ls\\%ls\\%ls%d",
113 DeviceIndex);
114
115 SND_TRACE(
L"Opening reg key: %wS\n", RegPath);
116
117
119 RegPath,
120 0,
123 {
124
125 SND_ERR(
L"Failed to open reg key: %wS\n", RegPath);
128 }
129
131
133}
static VOID FreeMemory(PCREATE_DATA Data)
static WCHAR ServiceName[]
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
#define VALIDATE_MMSYS_PARAMETER(parameter_condition)
#define AllocateWideString(string_length)
UINT GetDigitCount(IN UINT Number)
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ ULONG _Out_ PNDIS_STRING _Out_ PNDIS_HANDLE KeyHandle
#define REG_DEVICE_KEY_NAME_U
#define REG_PARAMETERS_KEY_NAME_U
#define REG_SERVICES_KEY_NAME_U
#define HKEY_LOCAL_MACHINE
Referenced by EnumerateNt4ServiceSoundDevices().
◆ OpenSoundDriverParametersRegKey()
Definition at line 20 of file registry.c.
23{
26
29
30
34
35
37
38 if ( ! ParametersKeyName )
40
41
47
48 SND_TRACE(
L"Opening reg key: %wS\n", ParametersKeyName);
49
50
52 ParametersKeyName,
53 0,
56 {
57
58 SND_ERR(
L"Failed to open reg key: %wS\n", ParametersKeyName);
61 }
62
64
66}