SYSTEM_INFO SystemInfo;
EnterCriticalSection(&m_CriticalSection);
+
+#ifdef KSPROXY_TRACE
OutputDebugStringW(L"CKsAllocator::SetProperties\n");
+#endif
if (!pRequest || !pActual)
return E_POINTER;
//TODO integer overflow checks
EnterCriticalSection(&m_CriticalSection);
+#ifdef KSPROXY_TRACE
OutputDebugStringW(L"CKsAllocator::Commit\n");
+#endif
if (m_Mode == KsAllocatorMode_Kernel)
{
{
EnterCriticalSection(&m_CriticalSection);
+#ifdef KSPROXY_TRACE
OutputDebugStringW(L"CKsAllocator::Decommit\n");
+#endif
if (m_Mode == KsAllocatorMode_Kernel)
{
{
EnterCriticalSection(&m_CriticalSection);
+#ifdef KSPROXY_TRACE
OutputDebugStringW(L"CKsAllocator::ReleaseBuffer\n");
+#endif
// media sample always 1 ref count in free list
pBuffer->AddRef();
IMemAllocatorNotifyCallbackTemp *pNotify)
{
EnterCriticalSection(&m_CriticalSection);
+
+#ifdef KSPROXY_TRACE
OutputDebugStringW(L"CKsAllocator::SetNotify\n");
+#endif
if (pNotify)
pNotify->AddRef();
KSALLOCATOR_FRAMING AllocatorFraming;
HANDLE hPin;
+#ifdef KSPROXY_TRACE
OutputDebugStringW(L"CKsAllocator::KsCreateAllocatorAndGetHandle\n");
+#endif
if (m_hAllocator)
{
REFIID riid,
LPVOID * ppv)
{
+#ifdef KSPROXY_TRACE
OutputDebugStringW(L"CKsAllocator_Constructor\n");
+#endif
CKsAllocator * handler = new CKsAllocator();