38 if ( ! ParametersKeyName )
48 SND_TRACE(
L"Opening reg key: %wS\n", ParametersKeyName);
58 SND_ERR(
L"Failed to open reg key: %wS\n", ParametersKeyName);
108 L"%ls\\%ls\\%ls\\%ls%d",
115 SND_TRACE(
L"Opening reg key: %wS\n", RegPath);
125 SND_ERR(
L"Failed to open reg key: %wS\n", RegPath);
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
MMRESULT OpenSoundDriverParametersRegKey(IN LPWSTR ServiceName, OUT PHKEY KeyHandle)
MMRESULT OpenSoundDeviceRegKey(IN LPWSTR ServiceName, IN DWORD DeviceIndex, OUT PHKEY KeyHandle)
#define REG_DEVICE_KEY_NAME_U
#define REG_PARAMETERS_KEY_NAME_U
#define REG_SERVICES_KEY_NAME_U
#define HKEY_LOCAL_MACHINE