int ArgSize(ArgType type)
ArgSize(ArgType type)
int ArgSize(ArgType type){	int size=0;	type &= ArgMask;	switch (type) {    	case ArgNone:	    size = 0;	    break;    	case ArgULong:	    size = sizeof(CK_ULONG);	    break;    	case ArgVar:	    size = 1; /* get's changed later */	    break;    	case ArgChar:    	case ArgUTF8:	    size = 1;	    break;    	case ArgInfo:	    size = sizeof(CK_INFO);	    break;    	case ArgSlotInfo:	    size = sizeof(CK_SLOT_INFO);	    break;    	case ArgTokenInfo:	    size = sizeof(CK_TOKEN_INFO);	    break;    	case ArgSessionInfo:	    size = sizeof(CK_SESSION_INFO);	    break;    	case ArgAttribute:	    size = sizeof(CK_ATTRIBUTE);	    break;    	case ArgMechanism:	    size = sizeof(CK_MECHANISM);	    break;    	case ArgMechanismInfo:	    size = sizeof(CK_MECHANISM_INFO);	    break;	case ArgInitializeArgs:	    size = sizeof(CK_C_INITIALIZE_ARGS);	    break;	case ArgFunctionList:	    size = sizeof(CK_FUNCTION_LIST);	    break;	default:	    break;	}	return (size);}