[PATCH v2 2/2] wkscli: Move some functsion from netapi32