NX二次开发 PK入门第6课 PK所有函数
PK_Initializen(666);
int PK_Initializen(const int MeiLei)
{//PK初始化是为了防止偷窥函数(用来之后:DLL函数查看器Depends.exe查看结果是列出所有内容)
PK_UV_t parms;
PK_UCHAR_t key = NULL;
PK_UVBOX_t uv_box;
PK_VECTOR_t vec;
PK_INTERVAL_t inierval;
PK_PARTITION_t partition = NULL;
PK_ERROR_frustrum_t frustrum;
g_original_error_frustrum.handler_fn = NULL;
g_error_frustrum.handler_fn = NULL;
if (0 == UF_is_initialized())
UF_initialize();
if (666 == MeiLei)
return 666;
parms.param[0] = 0.0;
parms.param[1] = 0.0;
uv_box.param[0] = 0.0;
uv_box.param[1] = 0.0;
uv_box.param[2] = 0.0;
uv_box.param[3] = 0.0;
vec.coord[0] = 0.0;
vec.coord[1] = 0.0;
vec.coord[2] = 0.0;
inierval.value[0] = 0.0;
inierval.value[1] = 0.0;
frustrum.handler_fn = NULL;
PK_SESSION_abort(NULL);
PK_SESSION_receive(NULL, NULL);
PK_SESSION_receive_u(NULL, NULL);
PK_SESSION_receive_version(NUL