有任何疑问,请联系我们:china@enigmaprotector.com

帮助

使用手册
附加信息
使用手册

EP_MiscGetWatermark

EP_MiscGetWatermark 函数获取被保护程序水印。点击 水印 查看更多信息。

参数

  • ID - 返回水印数;
  • WM - 水印内容状态,如果为空则返回水印数;
  • WM.WMType - 返回水印形式;
  • WM.Name - 水印名;
  • WM.NameLen - 水印名长度;
  • WM.Text - 水印内容,如果空则返回内容长度;
  • WM.TextLen - 水印内容长度;
  • WM.FileName - 水印文件名,空则返回内容长度;
  • WM.FileNameLen - 水印文件长度;
  • WM.AFile - 返回水印文件,为空则返回内容长度;
  • WM.AFileLen - 水印文件内容长度;

返回值

如果函数执行成功,返回水印数。否则返回0。

备注

以下情况函数不能成功执行:

  • 被保护文件里没有水印;
  • 未知错误。

定义

Show/Hide C++ function definition

extern "C" __declspec( dllexport ) __stdcall int EP_MiscGetWatermark( int ID, PWMContent WM );

Show/Hide Delphi function definition

Show/Hide Visual Basic function definition

Show/Hide C# (.NET) function definition

实例

Show/Hide Delphi function example

可以在安装文件夹下 Examples\Watermarks 子文件夹里查看函数使用实例。