/tags/UserDetect2_Release_2.0/devcpp_plugins/ExamplePlugin.dll |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/tags/UserDetect2_Release_2.0/devcpp_plugins/ExamplePlugin.layout |
---|
0,0 → 1,28 |
[Editor_0] |
CursorCol=23 |
CursorRow=15 |
TopLine=1 |
LeftChar=1 |
[Editor_1] |
CursorCol=36 |
CursorRow=21 |
TopLine=1 |
LeftChar=1 |
[Editors] |
Order=3,1,0 |
Focused=0 |
[Editor_2] |
CursorCol=21 |
CursorRow=6 |
TopLine=1 |
LeftChar=1 |
[Editor_3] |
CursorCol=11 |
CursorRow=6 |
TopLine=1 |
LeftChar=1 |
[Editor_4] |
CursorCol=1 |
CursorRow=5 |
TopLine=1 |
LeftChar=1 |
/tags/UserDetect2_Release_2.0/devcpp_plugins/ExamplePlugin.dev |
---|
0,0 → 1,102 |
[Project] |
FileName=ExamplePlugin.dev |
Name=ExamplePlugin |
Type=3 |
Ver=2 |
ObjFiles= |
Includes= |
Libs= |
PrivateResource= |
ResourceIncludes= |
MakeIncludes= |
Compiler= |
CppCompiler= |
Linker= |
IsCpp=1 |
Icon= |
ExeOutput= |
ObjectOutput= |
LogOutput= |
LogOutputEnabled=0 |
OverrideOutput=0 |
OverrideOutputName=ExamplePlugin.dll |
HostApplication= |
UseCustomMakefile=0 |
CustomMakefile= |
CommandLine= |
Folders= |
IncludeVersionInfo=0 |
SupportXPThemes=0 |
CompilerSet=3 |
CompilerSettings=0000000100000000000000000 |
UnitCount=5 |
[VersionInfo] |
Major=1 |
Minor=0 |
Release=0 |
Build=0 |
LanguageID=1033 |
CharsetID=1252 |
CompanyName= |
FileVersion=1.0.0.0 |
FileDescription=Developed using the Dev-C++ IDE |
InternalName= |
LegalCopyright= |
LegalTrademarks= |
OriginalFilename= |
ProductName= |
ProductVersion=1.0.0.0 |
AutoIncBuildNr=0 |
SyncProduct=1 |
[Unit2] |
FileName=../ud2_api.h |
CompileCpp=1 |
Folder= |
Compile=1 |
Link=1 |
Priority=1000 |
OverrideBuildCmd=0 |
BuildCmd= |
[Unit1] |
FileName=ExamplePlugin.cpp |
CompileCpp=1 |
Folder= |
Compile=1 |
Link=1 |
Priority=1000 |
OverrideBuildCmd=0 |
BuildCmd= |
[Unit3] |
FileName=../ud2_utils.h |
CompileCpp=1 |
Folder= |
Compile=1 |
Link=1 |
Priority=1000 |
OverrideBuildCmd=0 |
BuildCmd= |
[Unit4] |
FileName=../ud2_status.h |
CompileCpp=1 |
Folder= |
Compile=1 |
Link=1 |
Priority=1000 |
OverrideBuildCmd=0 |
BuildCmd= |
[Unit5] |
FileName=../ud2_guid.h |
CompileCpp=1 |
Folder= |
Compile=1 |
Link=1 |
Priority=1000 |
OverrideBuildCmd=0 |
BuildCmd= |
/tags/UserDetect2_Release_2.0/devcpp_plugins/ExamplePlugin.cpp |
---|
0,0 → 1,39 |
#define BUILDING_DLL |
#include "../ud2_api.h" |
UD2_API GUID PluginIdentifier() { |
return __GUID("{7576BD8F-A0C4-436F-B953-B137CBFD9FC7}"); |
} |
UD2_API UD2_STATUS PluginNameW(LPWSTR lpPluginName, DWORD cchSize, LANGID wLangID) { |
LPCWSTR str = L"Test-Plugin in C++"; |
return UD2_WriteStrW(lpPluginName, cchSize, str); |
} |
UD2_API UD2_STATUS PluginVersionW(LPWSTR lpPluginVersion, DWORD cchSize, LANGID wLangID) { |
LPCWSTR str = L"1.0"; |
return UD2_WriteStrW(lpPluginVersion, cchSize, str); |
} |
UD2_API UD2_STATUS PluginVendorW(LPWSTR lpPluginVendor, DWORD cchSize, LANGID wLangID) { |
LPCWSTR str = L"ViaThinkSoft"; |
return UD2_WriteStrW(lpPluginVendor, cchSize, str); |
} |
UD2_API UD2_STATUS CheckLicense(LPVOID lpReserved) { |
return UD2_STATUS_OK_LICENSED; |
} |
UD2_API UD2_STATUS IdentificationMethodNameW(LPWSTR lpIdentificationMethodName, DWORD cchSize) { |
return UD2_WriteStrW(lpIdentificationMethodName, cchSize, L"TEST"); |
} |
UD2_API UD2_STATUS IdentificationStringW(LPWSTR lpIdentifier, DWORD cchSize) { |
return UD2_WriteStrW(lpIdentifier, cchSize, L"Example"); |
} |
UD2_API BOOL DescribeOwnStatusCodeW(LPWSTR lpErrorDescription, DWORD cchSize, UD2_STATUS statusCode, LANGID wLangID) { |
// This function does not use non-generic status codes |
return FALSE; |
} |
/tags/UserDetect2_Release_2.0/devcpp_plugins/libExamplePlugin.def |
---|
0,0 → 1,10 |
EXPORTS |
CheckLicense @1 |
DescribeOwnStatusCodeW @2 |
IdentificationMethodNameW @3 |
IdentificationStringW @4 |
PluginIdentifier @5 |
PluginInterfaceID @6 |
PluginNameW @7 |
PluginVendorW @8 |
PluginVersionW @9 |