Skip to content

Commit

Permalink
dshow net cf source codes
Browse files Browse the repository at this point in the history
  • Loading branch information
da8eat committed Nov 2, 2017
0 parents commit 69fd5e0
Show file tree
Hide file tree
Showing 330 changed files with 46,927 additions and 0 deletions.
35 changes: 35 additions & 0 deletions DirectShowNETCF/AMCamera/AMCamera.cpp
@@ -0,0 +1,35 @@
// Native.cpp : Defines the entry point for the DLL application.
//

#include "stdafx.h"
#include "grabber.hpp"

BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
{
break;
}
case DLL_PROCESS_DETACH:
{
}
}
return true;
}

__declspec(dllexport) IBaseFilter *GetBaseFilter()
{
HRESULT hr = S_OK;
return dynamic_cast<IBaseFilter *>(CGrabber::CreateInstance(0, &hr));
}

__declspec(dllexport) void DeleteBaseFilter(IBaseFilter *baseFilter)
{
CGrabber * grabber = static_cast<CGrabber *>(baseFilter);
delete grabber;
}
3 changes: 3 additions & 0 deletions DirectShowNETCF/AMCamera/AMCamera.def
@@ -0,0 +1,3 @@
EXPORTS
GetBaseFilter
DeleteBaseFilter
38 changes: 38 additions & 0 deletions DirectShowNETCF/AMCamera/AMCamera.sln
@@ -0,0 +1,38 @@

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AMCamera", "Native.vcproj", "{F8750591-0C4E-4E1D-97D5-E80DB244BF93}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Lamarck_VDX_SDK (x86) = Debug|Lamarck_VDX_SDK (x86)
Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I)
Release|Lamarck_VDX_SDK (x86) = Release|Lamarck_VDX_SDK (x86)
Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I)
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Debug|Lamarck_VDX_SDK (x86).ActiveCfg = Debug|Lamarck_VDX_SDK (x86)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Debug|Lamarck_VDX_SDK (x86).Build.0 = Debug|Lamarck_VDX_SDK (x86)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Debug|Lamarck_VDX_SDK (x86).Deploy.0 = Debug|Lamarck_VDX_SDK (x86)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Release|Lamarck_VDX_SDK (x86).ActiveCfg = Release|Lamarck_VDX_SDK (x86)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Release|Lamarck_VDX_SDK (x86).Build.0 = Release|Lamarck_VDX_SDK (x86)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Release|Lamarck_VDX_SDK (x86).Deploy.0 = Release|Lamarck_VDX_SDK (x86)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I)
{F8750591-0C4E-4E1D-97D5-E80DB244BF93}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I)
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Binary file added DirectShowNETCF/AMCamera/AMCamera.suo
Binary file not shown.

0 comments on commit 69fd5e0

Please sign in to comment.