मुख्य सामग्री पर जाएँ

GW2RegisterImportFile

GW2RegisterImportFile फ़ंक्शन interchange file के file path को register करता है (जो export processing modes से output के रूप में उत्पन्न होती है)। इस फ़ंक्शन का उपयोग करने से session के लिए Import Process Mode सक्रिय हो जाता है।

सारांश

GW2RegisterImportFile फ़ंक्शन उस file को, जिसका नाम importFilePath द्वारा point किया गया है, import की जाने वाली file के रूप में register करता है। file को interchange file format के अनुरूप होना चाहिए। इस फ़ंक्शन का उपयोग करने से session के लिए Import Process Mode सक्रिय हो जाता है।


#include "glasswall.core2.api.h"
int GW2RegisterImportFile(Session session, const char *importFilePath);

रिटर्न

एक पूर्णांक GW2_RetStatus enum मान लौटाता है। नकारात्मक संख्याएँ विफलता को दर्शाती हैं।