Sample Code

Windows Driver Samples/ Microsoft slate system virtual audio device driver sample/ C++/ SwapAPO/ Inc/ CustomPropKeys.h/

// Microsoft Windows
// Copyright (C) Microsoft Corporation. All rights reserved.
//
#pragma once

// header files for imported files
#include "propidl.h"

#ifdef DEFINE_PROPERTYKEY
#undef DEFINE_PROPERTYKEY
#endif

#ifdef INITGUID
#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) EXTERN_C const PROPERTYKEY name = { { l, w1, w2, { b1, b2,  b3,  b4,  b5,  b6,  b7,  b8 } }, pid }
#else
#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) EXTERN_C const PROPERTYKEY name
#endif // INITGUID

// ----------------------------------------------------------------------
//
// PKEY_Endpoint_Enable_Channel_Swap_LFX: When value is 0x00000001, Channel Swap local effect is enabled
// {A44531EF-5377-4944-AE15-53789A9629C7}
// vartype = VT_UI4
DEFINE_PROPERTYKEY(PKEY_Endpoint_Enable_Channel_Swap_LFX, 0xa44531ef, 0x5377, 0x4944, 0xae, 0x15, 0x53, 0x78, 0x9a, 0x96, 0x29, 0xc7, 0);

// PKEY_Endpoint_Enable_Channel_Swap_GFX: When value is 0x00000001, Channel Swap global effect is enabled
// {78D56A5E-DB51-464e-BB01-337668CD99D0}
// vartype = VT_UI4
DEFINE_PROPERTYKEY(PKEY_Endpoint_Enable_Channel_Swap_GFX, 0x78d56a5e, 0xdb51, 0x464e, 0xbb, 0x1, 0x33, 0x76, 0x68, 0xcd, 0x99, 0xd0, 0);

Our Services

  • What our customers say about us?

© 2011-2024 All Rights Reserved. Joya Systems. 4425 South Mopac Building II Suite 101 Austin, TX 78735 Tel: 800-DEV-KERNEL

Privacy Policy. Terms of use. Valid XHTML & CSS