API description

API is used through predefined exported functions. The main idea is the following: PPC-PROTECT looks through exports section of the module and searches some predefined function names. If it finds such name, the address of the function is remembered and the reference in the export table is deleted. When the module is loaded, the address of the necessary function is determined on different conditions and this function is invoked.

GetTrial(DWORD dwTrial)

This function retrieves the trial period parameters, i.e. total and remaining days.

GetHardwareID(DWORD dwHardwareId)

Use this function to pass the unique device identifier. Result of this function is used to generate keys.

GetRegistrationName(PWCHAR wcRegName)

This function receives the pointer to the registration name. Use this function to check if your application is registered.

SetRegistrationInfo(DWORD dwProcAddress)

This function passes the registration name and key to PPC-PROTECT for future checking (RPN Registration) .

Note: You can find example of using all of this API functions in "SDK"

News
© 2006 – 2010 PPC Protect
Powered by Acme.CMS