Beispiel #1
0
static PyObject *
ETContext_close(ETContextObject* self)
{
    DWORD dwRet;
    dwRet = ETClose(&self->context);
    DWRET_VALIDATE(dwRet,NULL);
    Py_RETURN_TRUE;
}
Beispiel #2
0
static int et199_encrypt_close_dev(void *encrypt)
{
	ENCRYPT *encrypt_ins = (ENCRYPT *)encrypt;
	struct ET_CONTEXT*pContext = (struct ET_CONTEXT*)encrypt_ins->private_data;

	ETClose(&pContext[0]);
	return SUCCESS;
}