LoadTypeLib           package:SWinTypeLibs           R Documentation

_L_o_a_d _T_y_p_e _L_i_b_r_a_r_y _i_n_t_o _R

_D_e_s_c_r_i_p_t_i_o_n:

     This loads the specified file which is assumed to be a type
     library into R and returns a reference or handle to that library
     object. This can then be used in subsequent calls to  query the
     contents of the library.

_U_s_a_g_e:

     LoadTypeLib(fileName)

_A_r_g_u_m_e_n_t_s:

fileName: character vector of length 1. This is the name of the file to
          load.

_D_e_t_a_i_l_s:

     This calls  the routine 'LoadTypeLib()' in the Microsoft API.

_V_a_l_u_e:

     An object of class 'ITypeLib' containing a reference to the
     C-level handle for the loaded library.

_A_u_t_h_o_r(_s):

     Duncan Temple Lang <duncan@wald.ucdavis.edu>

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://msdn.microsoft.com/library> <URL:
     http://www.omegahat.org/RWinTypeLibs>

_S_e_e _A_l_s_o:

     'getTypeLibTypes' 'getTypeDocumentation'

_E_x_a_m_p_l_e_s:

      if(file.exists("c:\\WINNT\\system32\\wmpui.dll")) {
        l = LoadTypeLib("c:\\WINNT\\system32\\wmpui.dll")
        names(l)
        l[[1]]
        print(getTypeDocumentation(l, 14))
        print(getTypeLibTypes(l))
      }

