[opensm] removed opensm\user\include\ib_types.h, even though it was not used, it...
[mirror/winof/.git] / docs / iba / ib_al_h.html
index dc82f88..3ee78d4 100644 (file)
@@ -60,9 +60,9 @@ Access Layer/ib_add_svc_entry</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_add_svc_entry</strong>(\r
-        IN              const   ib_ioc_handle_t                         h_ioc,\r
+        IN              const   ib_ioc_handle_t FUNC_PTR64                         h_ioc,\r
         IN              const   <a href="./ib_types_h.html#robo965">ib_svc_entry_t</a>* const           p_svc_entry,\r
-                OUT                     ib_svc_handle_t* const          ph_svc );\r
+                OUT                     ib_svc_handle_t FUNC_PTR64* const          ph_svc );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_ioc\r
@@ -147,10 +147,10 @@ Access Layer/ib_alloc_pd</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_alloc_pd</strong>(\r
-        IN              const   ib_ca_handle_t                          h_ca,\r
+        IN              const   ib_ca_handle_t FUNC_PTR64                          h_ca,\r
         IN              const   <a href="./ib_types_h.html#robo160">ib_pd_type_t</a>                            pd_type,\r
         IN              const   void* const                                     pd_context,\r
-                OUT                     ib_pd_handle_t* const           ph_pd );\r
+                OUT                     ib_pd_handle_t FUNC_PTR64* const           ph_pd );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_ca\r
@@ -207,7 +207,7 @@ Access Layer/ib_apr_info_t</a></h2>
 <span class="DESCRIPTION"><pre>       Infiniband-defined additional rejection information.\r
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
-<span class="SYNOPSIS"><pre>typedef struct _ib_apr_info\r
+<span class="SYNOPSIS"><pre>typedef ib_al_handle_tpr_info\r
 {\r
         uint8_t                                         data[IB_APR_INFO_SIZE];\r
 \r
@@ -253,7 +253,7 @@ Access Layer/ib_ari_t</a></h2>
 <span class="DESCRIPTION"><pre>       Infiniband-defined additional rejection information.\r
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
-<span class="SYNOPSIS"><pre>typedef struct _ib_ari\r
+<span class="SYNOPSIS"><pre>typedef ib_al_handle_tri\r
 {\r
         uint8_t                                         data[IB_ARI_SIZE];\r
 \r
@@ -277,18 +277,18 @@ Access Layer/ib_async_event_rec_t</a></h2>
        resource.\r
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
-<span class="SYNOPSIS"><pre>typedef struct _ib_async_event_rec\r
+<span class="SYNOPSIS"><pre>typedef ib_al_handle_tsync_event_rec\r
 {\r
         <a href="./ib_types_h.html#robo977">ib_async_event_t</a>                                                        code;\r
         uint64_t                                                                        vendor_specific;\r
 \r
-        void* __ptr64                                                           context;\r
+ TO_LONG_PTR(       void* ,                                                           context) ; \r
         union _handle_t\r
         {\r
-                ib_ca_handle_t                                                  h_ca;\r
-                ib_cq_handle_t                                                  h_cq;\r
-                ib_qp_handle_t                                                  h_qp;\r
-                ib_srq_handle_t                                                 h_srq;\r
+                ib_ca_handle_t __ptr64                                                  h_ca;\r
+                ib_cq_handle_t __ptr64                                                  h_cq;\r
+                ib_qp_handle_t __ptr64                                                  h_qp;\r
+                ib_srq_handle_t __ptr64                                                 h_srq;\r
 \r
         } handle;\r
 \r
@@ -330,8 +330,8 @@ Access Layer/ib_bind_mw</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_bind_mw</strong>(\r
-        IN              const   ib_mw_handle_t                          h_mw,\r
-        IN              const   ib_qp_handle_t                          h_qp,\r
+        IN              const   ib_mw_handle_t FUNC_PTR64                          h_mw,\r
+        IN              const   ib_qp_handle_t FUNC_PTR64                          h_qp,\r
         IN                              <a href="./ib_types_h.html#robo51">ib_bind_wr_t</a>* const                     p_mw_bind,\r
                 OUT                     net32_t* const                          p_rkey );\r
 </pre>\r
@@ -408,7 +408,7 @@ Access Layer/ib_cancel_mad</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_cancel_mad</strong>(\r
-        IN              const   ib_mad_svc_handle_t                     h_mad_svc,\r
+        IN              const   ib_mad_svc_handle_t FUNC_PTR64                     h_mad_svc,\r
         IN                              <a href="#robo144">ib_mad_element_t</a>* const         p_mad_element );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -455,8 +455,8 @@ Access Layer/ib_cancel_query</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT void AL_API\r
 <strong>ib_cancel_query</strong>(\r
-        IN              const   ib_al_handle_t                          h_al,\r
-        IN              const   ib_query_handle_t                       h_query );\r
+        IN              const   ib_al_handle_t FUNC_PTR64                          h_al,\r
+        IN              const   ib_query_handle_t FUNC_PTR64                       h_query );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_al\r
@@ -497,7 +497,7 @@ Access Layer/ib_cep_listen_t</a></h2>
 \r
         net64_t                                         port_guid;\r
 \r
-        uint8_t* __ptr64                        p_cmp_buf;\r
+ TO_LONG_PTR(       uint8_t* ,                        p_cmp_buf) ; \r
         uint8_t                                         cmp_len;\r
         uint8_t                                         cmp_offset;\r
 \r
@@ -552,8 +552,8 @@ Access Layer/ib_ci_call</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_ci_call</strong>(\r
-        IN                              ib_ca_handle_t                          h_ca,\r
-        IN              const   void* __ptr64 *         const   handle_array    OPTIONAL,\r
+        IN                              ib_ca_handle_t FUNC_PTR64                          h_ca,\r
+        IN              const   void* FUNC_PTR64 *         const   handle_array    OPTIONAL,\r
         IN                              uint32_t                                        num_handles,\r
         IN                              <a href="./ib_types_h.html#robo58">ib_ci_op_t</a>*                     const   p_ci_op );\r
 </pre>\r
@@ -605,8 +605,8 @@ Access Layer/ib_ci_call</a></h2>
        vendor specific data contains handles, the client should provide the\r
        optional handle array that lists all of the handles specified in the\r
        vendor specific data.  The handles in the handle array are restricted\r
-       to the following types:  ib_pd_handle_t, ib_cq_handle_t,\r
-       ib_av_handle_t, ib_qp_handle_t, ib_mr_handle_t, or ib_mw_handle_t.\r
+       to the following types:  ib_pd_handle_t __ptr64, ib_cq_handle_t __ptr64,\r
+       ib_av_handle_t __ptr64, ib_qp_handle_t __ptr64, ib_mr_handle_t __ptr64, or ib_mw_handle_t __ptr64.\r
        The contents of the handle array are verified by the access layer and\r
        the verbs provider driver.  This call cannot be used to allocate private\r
        handles that are passed as parameters in access layer calls.\r
@@ -634,7 +634,7 @@ Access Layer/ib_close_al</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_close_al</strong>(\r
-        IN              const   ib_al_handle_t                          h_al );\r
+        IN              const   ib_al_handle_t FUNC_PTR64                          h_al );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_al\r
@@ -674,7 +674,7 @@ Access Layer/ib_close_ca</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_close_ca</strong>(\r
-        IN              const   ib_ca_handle_t                          h_ca,\r
+        IN              const   ib_ca_handle_t FUNC_PTR64                          h_ca,\r
         IN              const   <a href="#robo172">ib_pfn_destroy_cb_t</a>                     pfn_destroy_cb OPTIONAL );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -784,13 +784,13 @@ Access Layer/ib_cm_apr_rec_t</a></h2>
         <a href="./ib_types_h.html#robo41">ib_api_status_t</a>                         cm_status;\r
         <a href="./ib_types_h.html#robo45">ib_apr_status_t</a>                         apr_status;\r
 \r
-        const uint8_t* __ptr64          p_info;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_info) ; \r
         uint8_t                                         info_length;\r
 \r
-        const uint8_t* __ptr64          p_apr_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_apr_pdata) ; \r
 \r
-        ib_qp_handle_t                          h_qp;\r
-        const void* __ptr64                     qp_context;\r
+        ib_qp_handle_t __ptr64                          h_qp;\r
+ TO_LONG_PTR(       const void* ,                     qp_context) ; \r
 \r
 }       <strong>ib_cm_apr_rec_t</strong>;\r
 </pre>\r
@@ -846,17 +846,17 @@ Access Layer/ib_cm_apr_t</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef struct _<a href="#robo61">ib_cm_apr</a>\r
 {\r
-        const uint8_t* __ptr64                  p_apr_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,                  p_apr_pdata) ; \r
         uint8_t                                                 apr_length;\r
 \r
         <a href="./ib_types_h.html#robo206">ib_qp_type_t</a>                                    qp_type;\r
 \r
         /* valid for rc, uc &amp; rd qp_type only */\r
-        ib_qp_handle_t                                  h_qp;\r
+        ib_qp_handle_t __ptr64                                  h_qp;\r
 \r
         <a href="./ib_types_h.html#robo45">ib_apr_status_t</a>                                 apr_status;\r
         uint8_t                                                 info_length;\r
-        const <a href="#robo43">ib_apr_info_t</a>* __ptr64    p_info;\r
+ TO_LONG_PTR(       const <a href="#robo43">ib_apr_info_t</a>* ,    p_info) ; \r
 \r
 }       <strong>ib_cm_apr_t</strong>;\r
 </pre>\r
@@ -904,7 +904,7 @@ Access Layer/ib_cm_cancel</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_cm_cancel</strong>(\r
-        IN              const   ib_listen_handle_t                      h_cm_listen,\r
+        IN              const   ib_listen_handle_t FUNC_PTR64                      h_cm_listen,\r
         IN              const   <a href="#robo172">ib_pfn_destroy_cb_t</a>                     pfn_destroy_cb OPTIONAL );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -1007,10 +1007,10 @@ Access Layer/ib_cm_drep_rec_t</a></h2>
 {\r
         <a href="./ib_types_h.html#robo41">ib_api_status_t</a>                         cm_status;\r
 \r
-        const uint8_t* __ptr64          p_drep_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_drep_pdata) ; \r
 \r
-        ib_qp_handle_t                          h_qp;\r
-        const void* __ptr64                     qp_context;\r
+        ib_qp_handle_t __ptr64                          h_qp;\r
+ TO_LONG_PTR(       const void* ,                     qp_context) ; \r
 \r
 }       <strong>ib_cm_drep_rec_t</strong>;\r
 </pre>\r
@@ -1049,7 +1049,7 @@ Access Layer/ib_cm_drep_t</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef struct _<a href="#robo66">ib_cm_drep</a>\r
 {\r
-        uint8_t* __ptr64                        p_drep_pdata;\r
+ TO_LONG_PTR(       uint8_t* ,                        p_drep_pdata) ; \r
         uint8_t                                         drep_length;\r
 \r
 }       <strong>ib_cm_drep_t</strong>;\r
@@ -1136,9 +1136,9 @@ Access Layer/ib_cm_dreq_rec_t</a></h2>
 {\r
         ib_cm_handle_t                          h_cm_dreq;\r
 \r
-        const uint8_t* __ptr64          p_dreq_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_dreq_pdata) ; \r
 \r
-        const void* __ptr64                     qp_context;\r
+ TO_LONG_PTR(       const void* ,                     qp_context) ; \r
 \r
 }       <strong>ib_cm_dreq_rec_t</strong>;\r
 </pre>\r
@@ -1175,13 +1175,13 @@ Access Layer/ib_cm_dreq_t</a></h2>
 {\r
         <a href="#robo39">ib_al_flags_t</a>                           flags;\r
 \r
-        uint8_t* __ptr64                        p_dreq_pdata;\r
+ TO_LONG_PTR(       uint8_t* ,                        p_dreq_pdata) ; \r
         uint8_t                                         dreq_length;\r
 \r
         <a href="./ib_types_h.html#robo206">ib_qp_type_t</a>                            qp_type;\r
 \r
         /* valid for rc, uc &amp; rd qp_type only */\r
-        ib_qp_handle_t                          h_qp;\r
+        ib_qp_handle_t __ptr64                          h_qp;\r
         <a href="#robo163">ib_pfn_cm_drep_cb_t</a>                     pfn_cm_drep_cb;\r
 \r
 }       <strong>ib_cm_dreq_t</strong>;\r
@@ -1381,9 +1381,9 @@ Access Layer/ib_cm_lap_rec_t</a></h2>
         ib_cm_handle_t                          h_cm_lap;\r
         <a href="./ib_types_h.html#robo919">ib_path_rec_t</a>                           alt_path;\r
 \r
-        const uint8_t* __ptr64          p_lap_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_lap_pdata) ; \r
 \r
-        const void* __ptr64                     qp_context;\r
+ TO_LONG_PTR(       const void* ,                     qp_context) ; \r
 \r
 }       <strong>ib_cm_lap_rec_t</strong>;\r
 </pre>\r
@@ -1425,16 +1425,16 @@ Access Layer/ib_cm_lap_t</a></h2>
 {\r
         <a href="#robo39">ib_al_flags_t</a>                           flags;\r
 \r
-        const uint8_t* __ptr64          p_lap_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_lap_pdata) ; \r
         uint8_t                                         lap_length;\r
 \r
         <a href="./ib_types_h.html#robo206">ib_qp_type_t</a>                            qp_type;\r
 \r
         /* valid for rc, uc &amp; rd qp_type only */\r
-        ib_qp_handle_t                          h_qp;\r
+        ib_qp_handle_t __ptr64                          h_qp;\r
 \r
         uint8_t                                         remote_resp_timeout;\r
-        <a href="./ib_types_h.html#robo919">ib_path_rec_t</a>* __ptr64          p_alt_path;\r
+ TO_LONG_PTR(       <a href="./ib_types_h.html#robo919">ib_path_rec_t</a>* ,          p_alt_path) ; \r
         <a href="#robo162">ib_pfn_cm_apr_cb_t</a>                      pfn_cm_apr_cb;\r
 \r
 }       <strong>ib_cm_lap_t</strong>;\r
@@ -1490,11 +1490,11 @@ Access Layer/ib_cm_listen</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_cm_listen</strong>(\r
-        IN              const   ib_al_handle_t                          h_al,\r
+        IN              const   ib_al_handle_t FUNC_PTR64                          h_al,\r
         IN              const   <a href="#robo78">ib_cm_listen_t</a>* const           p_cm_listen,\r
         IN              const   <a href="#robo174">ib_pfn_listen_err_cb_t</a>          pfn_listen_err_cb,\r
         IN              const   void* const                                     listen_context,\r
-                OUT                     ib_listen_handle_t* const       ph_cm_listen );\r
+                OUT                     ib_listen_handle_t FUNC_PTR64* const       ph_cm_listen );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_al\r
@@ -1589,7 +1589,7 @@ Access Layer/ib_cm_listen_t</a></h2>
         <a href="./ib_types_h.html#robo884">ib_net16_t</a>                                      lid;\r
         <a href="./ib_types_h.html#robo884">ib_net16_t</a>                                      pkey;\r
 \r
-        uint8_t* __ptr64                        p_compare_buffer;\r
+ TO_LONG_PTR(       uint8_t* ,                        p_compare_buffer) ; \r
         uint8_t                                         compare_offset;\r
         uint8_t                                         compare_length;\r
 \r
@@ -1598,7 +1598,7 @@ Access Layer/ib_cm_listen_t</a></h2>
         <a href="./ib_types_h.html#robo206">ib_qp_type_t</a>                            qp_type;\r
 \r
         /* valid for ud qp_type only */\r
-        const void* __ptr64                     sidr_context;\r
+ TO_LONG_PTR(       const void* ,                     sidr_context) ; \r
 \r
 }       <strong>ib_cm_listen_t</strong>;\r
 </pre>\r
@@ -1756,10 +1756,10 @@ Access Layer/ib_cm_mra_rec_t</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef struct _ib_cm_mra_rec\r
 {\r
-        const uint8_t* __ptr64          p_mra_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_mra_pdata) ; \r
 \r
-        ib_qp_handle_t                          h_qp;\r
-        const void* __ptr64                     qp_context;\r
+        ib_qp_handle_t __ptr64                          h_qp;\r
+ TO_LONG_PTR(       const void* ,                     qp_context) ; \r
 \r
 }       <strong>ib_cm_mra_rec_t</strong>;\r
 </pre>\r
@@ -1796,7 +1796,7 @@ Access Layer/ib_cm_mra_t</a></h2>
 {\r
         uint8_t                                         svc_timeout;\r
 \r
-        const uint8_t* __ptr64          p_mra_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_mra_pdata) ; \r
         uint8_t                                         mra_length;\r
 \r
 }       <strong>ib_cm_mra_t</strong>;\r
@@ -1881,13 +1881,13 @@ Access Layer/ib_cm_rej_rec_t</a></h2>
 <span class="SYNOPSIS"><pre>typedef struct _ib_cm_rej_rec\r
 {\r
         <a href="./ib_types_h.html#robo235">ib_rej_status_t</a>                         rej_status;\r
-        const uint8_t* __ptr64          p_ari;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_ari) ; \r
         uint8_t                                         ari_length;\r
 \r
-        const uint8_t* __ptr64          p_rej_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_rej_pdata) ; \r
 \r
-        ib_qp_handle_t                          h_qp;\r
-        const void* __ptr64                     qp_context;\r
+        ib_qp_handle_t __ptr64                          h_qp;\r
+ TO_LONG_PTR(       const void* ,                     qp_context) ; \r
 \r
 }       <strong>ib_cm_rej_rec_t</strong>;\r
 </pre>\r
@@ -1935,9 +1935,9 @@ Access Layer/ib_cm_rej_t</a></h2>
 {\r
         <a href="./ib_types_h.html#robo235">ib_rej_status_t</a>                         rej_status;\r
 \r
-        <a href="#robo46">ib_ari_t</a>* __ptr64                       p_ari;\r
+ TO_LONG_PTR(       <a href="#robo46">ib_ari_t</a>* ,                       p_ari) ; \r
         uint8_t                                         ari_length;\r
-        const uint8_t* __ptr64          p_rej_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_rej_pdata) ; \r
         uint8_t                                         rej_length;\r
 \r
 }       <strong>ib_cm_rej_t</strong>;\r
@@ -2056,19 +2056,19 @@ Access Layer/ib_cm_rep_rec_t</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef struct _ib_cm_rep_rec\r
 {\r
-        const uint8_t* __ptr64          p_rep_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_rep_pdata) ; \r
 \r
         <a href="./ib_types_h.html#robo206">ib_qp_type_t</a>                            qp_type;\r
 \r
         ib_cm_handle_t                          h_cm_rep;\r
         /* valid for rc, uc &amp; rd qp_type only */\r
-        const void* __ptr64                     qp_context;\r
+ TO_LONG_PTR(       const void* ,                     qp_context) ; \r
         uint8_t                                         resp_res;\r
         boolean_t                                       flow_ctrl;\r
         <a href="./ib_types_h.html#robo45">ib_apr_status_t</a>                         apr_status;\r
 \r
         /* valid for ud qp_type only */\r
-        const void* __ptr64                     sidr_context;\r
+ TO_LONG_PTR(       const void* ,                     sidr_context) ; \r
         ib_sidr_status_t                        status;\r
         <a href="./ib_types_h.html#robo885">ib_net32_t</a>                                      remote_qp;\r
         <a href="./ib_types_h.html#robo885">ib_net32_t</a>                                      remote_qkey;\r
@@ -2148,10 +2148,10 @@ Access Layer/ib_cm_rep_t</a></h2>
 {\r
         <a href="#robo39">ib_al_flags_t</a>                           flags;\r
 \r
-        const uint8_t* __ptr64          p_rep_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_rep_pdata) ; \r
         uint8_t                                         rep_length;\r
 \r
-        ib_qp_handle_t                          h_qp;\r
+        ib_qp_handle_t __ptr64                          h_qp;\r
         <a href="./ib_types_h.html#robo206">ib_qp_type_t</a>                            qp_type;\r
 \r
         /* valid for rc, uc &amp; rd qp_type only */\r
@@ -2172,8 +2172,8 @@ Access Layer/ib_cm_rep_t</a></h2>
         <a href="#robo165">ib_pfn_cm_lap_cb_t</a>                      pfn_cm_lap_cb;\r
         <a href="#robo164">ib_pfn_cm_dreq_cb_t</a>                     pfn_cm_dreq_cb;\r
 \r
-        <a href="./ib_types_h.html#robo222">ib_recv_wr_t</a>* __ptr64                   p_recv_wr;\r
-        <a href="./ib_types_h.html#robo222">ib_recv_wr_t</a>* __ptr64 *__ptr64  pp_recv_failure;\r
+ TO_LONG_PTR(       <a href="./ib_types_h.html#robo222">ib_recv_wr_t</a>* ,                   p_recv_wr) ; \r
+ TO_LONG_PTR(       <a href="./ib_types_h.html#robo222">ib_recv_wr_t</a>* , *__ptr64  pp_recv_failure) ; \r
 \r
         /*valid for ud qp_type only */\r
         ib_sidr_status_t                        status;\r
@@ -2355,11 +2355,11 @@ Access Layer/ib_cm_req_rec_t</a></h2>
 <span class="SYNOPSIS"><pre>#pragma warning(disable:4324)\r
 typedef struct _ib_cm_req_rec\r
 {\r
-        const void* __ptr64                     context;\r
+ TO_LONG_PTR(       const void* ,                     context) ; \r
         ib_cm_handle_t                          h_cm_req;\r
-        ib_listen_handle_t                      h_cm_listen;\r
+        ib_listen_handle_t __ptr64                      h_cm_listen;\r
 \r
-        const uint8_t* __ptr64          p_req_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_req_pdata) ; \r
 \r
         <a href="./ib_types_h.html#robo206">ib_qp_type_t</a>                            qp_type;\r
 \r
@@ -2372,7 +2372,7 @@ typedef struct _ib_cm_req_rec
 \r
         /* valid for ud qp_type only */\r
         <a href="./ib_types_h.html#robo884">ib_net16_t</a>                                      pkey;\r
-        const void* __ptr64                     sidr_context;\r
+ TO_LONG_PTR(       const void* ,                     sidr_context) ; \r
 \r
 }       <strong>ib_cm_req_rec_t</strong>;\r
 #pragma warning(default:4324)\r
@@ -2451,19 +2451,19 @@ Access Layer/ib_cm_req_t</a></h2>
         <a href="#robo39">ib_al_flags_t</a>                           flags;\r
         uint8_t                                         max_cm_retries;\r
 \r
-        <a href="./ib_types_h.html#robo919">ib_path_rec_t</a>* __ptr64          p_primary_path;\r
+ TO_LONG_PTR(       <a href="./ib_types_h.html#robo919">ib_path_rec_t</a>* ,          p_primary_path) ; \r
 \r
         <a href="#robo168">ib_pfn_cm_rep_cb_t</a>                      pfn_cm_rep_cb;\r
 \r
-        const uint8_t* __ptr64          p_req_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_req_pdata) ; \r
         uint8_t                                         req_length;\r
 \r
         <a href="./ib_types_h.html#robo206">ib_qp_type_t</a>                            qp_type;\r
 \r
         /* valid for rc, uc &amp; rd qp_type only */\r
-        ib_qp_handle_t                          h_qp;\r
+        ib_qp_handle_t __ptr64                          h_qp;\r
 \r
-        uint8_t* __ptr64                        p_compare_buffer;\r
+ TO_LONG_PTR(       uint8_t* ,                        p_compare_buffer) ; \r
         uint8_t                                         compare_offset;\r
         uint8_t                                         compare_length;\r
 \r
@@ -2476,15 +2476,15 @@ Access Layer/ib_cm_req_t</a></h2>
         uint8_t                                         rnr_retry_cnt;\r
         uint8_t                                         retry_cnt;\r
 \r
-        <a href="./ib_types_h.html#robo919">ib_path_rec_t</a>* __ptr64          p_alt_path OPTIONAL;\r
+ TO_LONG_PTR(       <a href="./ib_types_h.html#robo919">ib_path_rec_t</a>* ,          p_alt_path OPTIONAL) ; \r
 \r
         <a href="#robo169">ib_pfn_cm_req_cb_t</a>                      pfn_cm_req_cb;\r
         <a href="#robo166">ib_pfn_cm_mra_cb_t</a>                      pfn_cm_mra_cb;\r
         <a href="#robo167">ib_pfn_cm_rej_cb_t</a>                      pfn_cm_rej_cb;\r
 \r
         /* valid for ud qp_type only */\r
-        ib_al_handle_t                          h_al;\r
-        const void* __ptr64                     sidr_context;\r
+        ib_al_handle_t __ptr64                          h_al;\r
+ TO_LONG_PTR(       const void* ,                     sidr_context) ; \r
         uint32_t                                        timeout_ms;\r
         <a href="./ib_types_h.html#robo884">ib_net16_t</a>                                      pkey;\r
 \r
@@ -2688,10 +2688,10 @@ Access Layer/ib_cm_rtu_rec_t</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef struct _ib_cm_rtu_rec\r
 {\r
-        const uint8_t* __ptr64          p_rtu_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_rtu_pdata) ; \r
 \r
-        ib_qp_handle_t                          h_qp;\r
-        const void* __ptr64                     qp_context;\r
+        ib_qp_handle_t __ptr64                          h_qp;\r
+ TO_LONG_PTR(       const void* ,                     qp_context) ; \r
 \r
 }       <strong>ib_cm_rtu_rec_t</strong>;\r
 </pre>\r
@@ -2730,7 +2730,7 @@ Access Layer/ib_cm_rtu_t</a></h2>
         uint32_t                                        sq_depth;\r
         uint32_t                                        rq_depth;\r
 \r
-        const uint8_t* __ptr64          p_rtu_pdata;\r
+ TO_LONG_PTR(       const uint8_t* ,          p_rtu_pdata) ; \r
         uint8_t                                         rtu_length;\r
 \r
         <a href="#robo162">ib_pfn_cm_apr_cb_t</a>                      pfn_cm_apr_cb;\r
@@ -2839,9 +2839,9 @@ Access Layer/ib_create_av</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_create_av</strong>(\r
-        IN              const   ib_pd_handle_t                          h_pd,\r
+        IN              const   ib_pd_handle_t FUNC_PTR64                          h_pd,\r
         IN              const   <a href="./ib_types_h.html#robo49">ib_av_attr_t</a>* const                     p_av_attr,\r
-                OUT                     ib_av_handle_t* const           ph_av );\r
+                OUT                     ib_av_handle_t FUNC_PTR64* const           ph_av );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_pd\r
@@ -2900,11 +2900,11 @@ Access Layer/ib_create_cq</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_create_cq</strong>(\r
-        IN              const   ib_ca_handle_t                          h_ca,\r
+        IN              const   ib_ca_handle_t FUNC_PTR64                          h_ca,\r
         IN      OUT                     <a href="#robo95">ib_cq_create_t</a>* const           p_cq_create,\r
         IN              const   void* const                                     cq_context,\r
         IN              const   <a href="#robo173">ib_pfn_event_cb_t</a>                       pfn_cq_event_cb OPTIONAL,\r
-                OUT                     ib_cq_handle_t* const           ph_cq );\r
+                OUT                     ib_cq_handle_t FUNC_PTR64* const           ph_cq );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_ca\r
@@ -2978,9 +2978,9 @@ Access Layer/ib_create_ioc</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_create_ioc</strong>(\r
-        IN              const   ib_ca_handle_t                          h_ca,\r
+        IN              const   ib_ca_handle_t FUNC_PTR64                          h_ca,\r
         IN              const   <a href="./ib_types_h.html#robo865">ib_ioc_profile_t</a>* const         p_ioc_profile,\r
-                OUT                     ib_ioc_handle_t* const          ph_ioc );\r
+                OUT                     ib_ioc_handle_t FUNC_PTR64* const          ph_ioc );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_ca\r
@@ -3034,11 +3034,11 @@ Access Layer/ib_create_mad_pool</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_create_mad_pool</strong>(\r
-        IN              const   ib_al_handle_t                          h_al,\r
+        IN              const   ib_al_handle_t FUNC_PTR64                          h_al,\r
         IN              const   size_t                                          min,\r
         IN              const   size_t                                          max,\r
         IN              const   size_t                                          grow_size,\r
-                OUT                     ib_pool_handle_t* const         ph_pool );\r
+                OUT                     ib_pool_handle_t FUNC_PTR64* const         ph_pool );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_al\r
@@ -3103,9 +3103,9 @@ Access Layer/ib_create_mw</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_create_mw</strong>(\r
-        IN              const   ib_pd_handle_t                          h_pd,\r
+        IN              const   ib_pd_handle_t FUNC_PTR64                          h_pd,\r
                 OUT                     net32_t* const                          p_rkey,\r
-                OUT                     ib_mw_handle_t* const           ph_mw );\r
+                OUT                     ib_mw_handle_t FUNC_PTR64* const           ph_mw );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_pd\r
@@ -3162,11 +3162,11 @@ Access Layer/ib_create_qp</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_create_qp</strong>(\r
-        IN              const   ib_pd_handle_t                          h_pd,\r
+        IN              const   ib_pd_handle_t FUNC_PTR64                          h_pd,\r
         IN              const   <a href="./ib_types_h.html#robo202">ib_qp_create_t</a>* const           p_qp_create,\r
         IN              const   void* const                                     qp_context,\r
         IN              const   <a href="#robo173">ib_pfn_event_cb_t</a>                       pfn_qp_event_cb OPTIONAL,\r
-                OUT                     ib_qp_handle_t* const           ph_qp );\r
+                OUT                     ib_qp_handle_t FUNC_PTR64* const           ph_qp );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_pd\r
@@ -3277,11 +3277,11 @@ Access Layer/ib_create_srq</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_create_srq</strong>(\r
-        IN              const   ib_pd_handle_t                  h_pd,\r
+        IN              const   ib_pd_handle_t FUNC_PTR64                  h_pd,\r
         IN              const   <a href="./ib_types_h.html#robo251">ib_srq_attr_t</a>* const            p_srq_attr,\r
         IN              const   void* const                             srq_context,\r
         IN              const   <a href="#robo173">ib_pfn_event_cb_t</a>                       pfn_srq_event_cb OPTIONAL,\r
-                OUT             ib_srq_handle_t* const          ph_srq );\r
+                OUT             ib_srq_handle_t FUNC_PTR64* const          ph_srq );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_pd\r
@@ -3364,7 +3364,7 @@ Access Layer/ib_dealloc_pd</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_dealloc_pd</strong>(\r
-        IN              const   ib_pd_handle_t                          h_pd,\r
+        IN              const   ib_pd_handle_t FUNC_PTR64                          h_pd,\r
         IN              const   <a href="#robo172">ib_pfn_destroy_cb_t</a>                     pfn_destroy_cb OPTIONAL );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -3410,7 +3410,7 @@ Access Layer/ib_dereg_mad_pool</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_dereg_mad_pool</strong>(\r
-        IN              const   ib_pool_key_t                           pool_key );\r
+        IN              const   ib_pool_key_t FUNC_PTR64                           pool_key );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       pool_key\r
@@ -3453,7 +3453,7 @@ Access Layer/ib_dereg_mr</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_dereg_mr</strong>(\r
-        IN              const   ib_mr_handle_t                          h_mr );\r
+        IN              const   ib_mr_handle_t FUNC_PTR64                          h_mr );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_mr\r
@@ -3496,7 +3496,7 @@ Access Layer/ib_dereg_pnp</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_dereg_pnp</strong>(\r
-        IN              const   ib_pnp_handle_t                         h_pnp,\r
+        IN              const   ib_pnp_handle_t FUNC_PTR64                         h_pnp,\r
         IN              const   <a href="#robo172">ib_pfn_destroy_cb_t</a>                     pfn_destroy_cb OPTIONAL );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -3590,7 +3590,7 @@ Access Layer/ib_destroy_av</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_destroy_av</strong>(\r
-        IN              const   ib_av_handle_t                          h_av );\r
+        IN              const   ib_av_handle_t FUNC_PTR64                          h_av );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_av\r
@@ -3626,7 +3626,7 @@ Access Layer/ib_destroy_cq</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_destroy_cq</strong>(\r
-        IN              const   ib_cq_handle_t                          h_cq,\r
+        IN              const   ib_cq_handle_t FUNC_PTR64                          h_cq,\r
         IN              const   <a href="#robo172">ib_pfn_destroy_cb_t</a>                     pfn_destroy_cb OPTIONAL );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -3675,7 +3675,7 @@ Access Layer/ib_destroy_ioc</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_destroy_ioc</strong>(\r
-        IN              const   ib_ioc_handle_t                         h_ioc );\r
+        IN              const   ib_ioc_handle_t FUNC_PTR64                         h_ioc );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_ioc\r
@@ -3712,7 +3712,7 @@ Access Layer/ib_destroy_mad_pool</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_destroy_mad_pool</strong>(\r
-        IN              const   ib_pool_handle_t                        h_pool );\r
+        IN              const   ib_pool_handle_t FUNC_PTR64                        h_pool );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_pool\r
@@ -3751,7 +3751,7 @@ Access Layer/ib_destroy_mw</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_destroy_mw</strong>(\r
-        IN              const   ib_mw_handle_t                          h_mw );\r
+        IN              const   ib_mw_handle_t FUNC_PTR64                          h_mw );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_mw\r
@@ -3788,7 +3788,7 @@ Access Layer/ib_destroy_qp</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_destroy_qp</strong>(\r
-        IN              const   ib_qp_handle_t                          h_qp,\r
+        IN              const   ib_qp_handle_t FUNC_PTR64                          h_qp,\r
         IN              const   <a href="#robo172">ib_pfn_destroy_cb_t</a>                     pfn_destroy_cb OPTIONAL );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -3833,7 +3833,7 @@ Access Layer/ib_destroy_srq</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_destroy_srq</strong>(\r
-        IN              const   ib_srq_handle_t                         h_srq,\r
+        IN              const   ib_srq_handle_t FUNC_PTR64                         h_srq,\r
         IN              const   <a href="#robo172">ib_pfn_destroy_cb_t</a>                     pfn_destroy_cb OPTIONAL );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -3991,7 +3991,7 @@ Access Layer/ib_force_apm</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_force_apm</strong>(\r
-        IN              const   ib_qp_handle_t                          h_qp );\r
+        IN              const   ib_qp_handle_t FUNC_PTR64                          h_qp );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_qp\r
@@ -4046,7 +4046,7 @@ Access Layer/ib_get_ca_by_gid</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_get_ca_by_gid</strong>(\r
-        IN                              ib_al_handle_t                          h_al,\r
+        IN                              ib_al_handle_t FUNC_PTR64                          h_al,\r
         IN              const   <a href="./ib_types_h.html#robo846">ib_gid_t</a>* const                         p_gid,\r
                 OUT                     <a href="./ib_types_h.html#robo886">ib_net64_t</a>* const                       p_ca_guid );\r
 </pre>\r
@@ -4102,7 +4102,7 @@ Access Layer/ib_get_ca_guids</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_get_ca_guids</strong>(\r
-        IN                              ib_al_handle_t                          h_al,\r
+        IN                              ib_al_handle_t FUNC_PTR64                          h_al,\r
                 OUT                     <a href="./ib_types_h.html#robo886">ib_net64_t</a>* const                       p_guid_array OPTIONAL,\r
         IN      OUT                     size_t* const                           p_guid_cnt );\r
 </pre>\r
@@ -4163,7 +4163,7 @@ Access Layer/ib_get_guid</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_get_guid</strong>(\r
-        IN                              ib_al_handle_t                          h_al,\r
+        IN                              ib_al_handle_t FUNC_PTR64                          h_al,\r
         IN              const   uint32_t                                        index,\r
         IN              const   <a href="#robo185">ib_pnp_class_t</a>                          device_type,\r
         IN              const   uint64_t                                        attr_mask,\r
@@ -4243,7 +4243,7 @@ Access Layer/ib_get_mad</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_get_mad</strong>(\r
-        IN              const   ib_pool_key_t                           pool_key,\r
+        IN              const   ib_pool_key_t FUNC_PTR64                           pool_key,\r
         IN              const   size_t                                          buf_size,\r
                 OUT                     <a href="#robo144">ib_mad_element_t</a>                        **pp_mad_element );\r
 </pre>\r
@@ -4343,7 +4343,7 @@ Access Layer/ib_get_port_by_gid</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_get_port_by_gid</strong>(\r
-        IN                              ib_al_handle_t                          h_al,\r
+        IN                              ib_al_handle_t FUNC_PTR64                          h_al,\r
         IN              const   <a href="./ib_types_h.html#robo846">ib_gid_t</a>* const                         p_gid,\r
                 OUT                     <a href="./ib_types_h.html#robo886">ib_net64_t</a>* const                       p_port_guid );\r
 </pre>\r
@@ -4626,13 +4626,13 @@ Access Layer/ib_get_spl_qp</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_get_spl_qp</strong>(\r
-        IN              const   ib_pd_handle_t                          h_pd,\r
+        IN              const   ib_pd_handle_t FUNC_PTR64                          h_pd,\r
         IN              const   <a href="./ib_types_h.html#robo886">ib_net64_t</a>                                      port_guid,\r
         IN              const   <a href="./ib_types_h.html#robo202">ib_qp_create_t</a>* const           p_qp_create,\r
         IN              const   void* const                                     qp_context,\r
         IN              const   <a href="#robo173">ib_pfn_event_cb_t</a>                       pfn_qp_event_cb OPTIONAL,\r
-                OUT                     ib_pool_key_t* const            p_pool_key OPTIONAL,\r
-                OUT                     ib_qp_handle_t* const           ph_qp );\r
+                OUT                     ib_pool_key_t FUNC_PTR64* const            p_pool_key OPTIONAL,\r
+                OUT                     ib_qp_handle_t FUNC_PTR64* const           ph_qp );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_pd\r
@@ -4814,7 +4814,7 @@ Access Layer/ib_init_dgrm_svc</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_init_dgrm_svc</strong>(\r
-        IN              const   ib_qp_handle_t                          h_qp,\r
+        IN              const   ib_qp_handle_t FUNC_PTR64                          h_qp,\r
         IN              const   <a href="#robo116">ib_dgrm_info_t</a>* const           p_dgrm_info OPTIONAL );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -4882,7 +4882,7 @@ Access Layer/ib_join_mcast</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_join_mcast</strong>(\r
-        IN              const   ib_qp_handle_t                          h_qp,\r
+        IN              const   ib_qp_handle_t FUNC_PTR64                          h_qp,\r
         IN              const   <a href="#robo148">ib_mcast_req_t</a>* const           p_mcast_req );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -4989,7 +4989,7 @@ Access Layer/ib_leave_mcast</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_leave_mcast</strong>(\r
-        IN              const   ib_mcast_handle_t                       h_mcast,\r
+        IN              const   ib_mcast_handle_t FUNC_PTR64                       h_mcast,\r
         IN              const   <a href="#robo172">ib_pfn_destroy_cb_t</a>                     pfn_destroy_cb OPTIONAL );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -5068,9 +5068,9 @@ Access Layer/ib_listen_err_rec_t</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef struct _ib_listen_err_rec\r
 {\r
-        void* __ptr64                                                           listen_context;\r
+ TO_LONG_PTR(       void* ,                                                           listen_context) ; \r
         <a href="./ib_types_h.html#robo41">ib_api_status_t</a>                                                         reason;\r
-        ib_listen_handle_t                                                      h_cm_listen;\r
+        ib_listen_handle_t __ptr64                                                      h_cm_listen;\r
 \r
 }       <strong>ib_listen_err_rec_t</strong>;\r
 </pre>\r
@@ -5129,7 +5129,7 @@ Access Layer/ib_local_mad</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_local_mad</strong>(\r
-        IN              const   ib_ca_handle_t                          h_ca,\r
+        IN              const   ib_ca_handle_t FUNC_PTR64                          h_ca,\r
         IN              const   uint8_t                                         port_num,\r
         IN              const   void* const                                     p_mad_in,\r
                 OUT                     void*                                           p_mad_out );\r
@@ -5189,18 +5189,18 @@ Access Layer/ib_mad_element_t</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef struct _ib_mad_element\r
 {\r
-        struct _ib_mad_element* __ptr64 p_next;\r
-        const void* __ptr64                     context1;\r
-        const void* __ptr64                     context2;\r
+ TO_LONG_PTR(       struct _ib_mad_element* , p_next) ; \r
+ TO_LONG_PTR(       const void* ,                     context1) ; \r
+ TO_LONG_PTR(       const void* ,                     context2) ; \r
 \r
         /* Request/completion data. */\r
-        <a href="./ib_types_h.html#robo873">ib_mad_t</a>* __ptr64                       p_mad_buf;\r
+ TO_LONG_PTR(       <a href="./ib_types_h.html#robo873">ib_mad_t</a>* ,                       p_mad_buf) ; \r
         uint32_t                                        size;\r
         uint32_t                                        immediate_data;\r
         <a href="./ib_types_h.html#robo885">ib_net32_t</a>                                      remote_qp;\r
 \r
         /* Send request information. */\r
-        ib_av_handle_t                          h_av;\r
+        ib_av_handle_t __ptr64                          h_av;\r
         <a href="./ib_types_h.html#robo245">ib_send_opt_t</a>                           send_opt;\r
         <a href="./ib_types_h.html#robo885">ib_net32_t</a>                                      remote_qkey;\r
         boolean_t                                       resp_expected;\r
@@ -5211,7 +5211,7 @@ Access Layer/ib_mad_element_t</a></h2>
         /* Completion information. */\r
         <a href="./ib_types_h.html#robo258">ib_wc_status_t</a>                          status;\r
         boolean_t                                       grh_valid;\r
-        <a href="./ib_types_h.html#robo850">ib_grh_t</a>* __ptr64                       p_grh;\r
+ TO_LONG_PTR(       <a href="./ib_types_h.html#robo850">ib_grh_t</a>* ,                       p_grh) ; \r
 \r
         /* Completed receive data or send request information if h_av is NULL. */\r
         uint32_t                                        recv_opt;\r
@@ -5221,8 +5221,8 @@ Access Layer/ib_mad_element_t</a></h2>
         uint8_t                                         path_bits;\r
 \r
         /* Transaction completion data. */\r
-        void* __ptr64                           send_context1;\r
-        void* __ptr64                           send_context2;\r
+ TO_LONG_PTR(       void* ,                           send_context1) ; \r
+ TO_LONG_PTR(       void* ,                           send_context2) ; \r
 \r
 }       <strong>ib_mad_element_t</strong>;\r
 </pre>\r
@@ -5512,12 +5512,12 @@ Access Layer/ib_mcast_rec_t</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef struct _ib_mcast_rec\r
 {\r
-        const void* __ptr64                     mcast_context;\r
+ TO_LONG_PTR(       const void* ,                     mcast_context) ; \r
         <a href="./ib_types_h.html#robo41">ib_api_status_t</a>                         status;\r
         <a href="./ib_types_h.html#robo884">ib_net16_t</a>                                      error_status;\r
 \r
-        ib_mcast_handle_t                       h_mcast;\r
-        <a href="./ib_types_h.html#robo878">ib_member_rec_t</a>* __ptr64        p_member_rec;\r
+        ib_mcast_handle_t __ptr64                       h_mcast;\r
+ TO_LONG_PTR(       <a href="./ib_types_h.html#robo878">ib_member_rec_t</a>* ,        p_member_rec) ; \r
 \r
 }       <strong>ib_mcast_rec_t</strong>;\r
 </pre>\r
@@ -5568,7 +5568,7 @@ Access Layer/ib_mcast_req_t</a></h2>
         boolean_t                                       create;\r
         <a href="./ib_types_h.html#robo878">ib_member_rec_t</a>                         member_rec;\r
 \r
-        const void* __ptr64                     mcast_context;\r
+ TO_LONG_PTR(       const void* ,                     mcast_context) ; \r
         <a href="#robo176">ib_pfn_mcast_cb_t</a>                       pfn_mcast_cb;\r
 \r
         uint32_t                                        timeout_ms;\r
@@ -5644,7 +5644,7 @@ Access Layer/ib_modify_av</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_modify_av</strong>(\r
-        IN              const   ib_av_handle_t                          h_av,\r
+        IN              const   ib_av_handle_t FUNC_PTR64                          h_av,\r
         IN              const   <a href="./ib_types_h.html#robo49">ib_av_attr_t</a>* const                     p_av_attr );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -5692,7 +5692,7 @@ Access Layer/ib_modify_ca</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_modify_ca</strong>(\r
-        IN              const   ib_ca_handle_t                          h_ca,\r
+        IN              const   ib_ca_handle_t FUNC_PTR64                          h_ca,\r
         IN              const   uint8_t                                         port_num,\r
         IN              const   <a href="./ib_types_h.html#robo53">ib_ca_mod_t</a>                                     ca_mod,\r
         IN              const   <a href="./ib_types_h.html#robo194">ib_port_attr_mod_t</a>* const       p_port_attr_mod );\r
@@ -5755,7 +5755,7 @@ Access Layer/ib_modify_cq</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_modify_cq</strong>(\r
-        IN              const   ib_cq_handle_t                          h_cq,\r
+        IN              const   ib_cq_handle_t FUNC_PTR64                          h_cq,\r
         IN      OUT                     uint32_t* const                         p_size );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -5816,7 +5816,7 @@ Access Layer/ib_modify_qp</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_modify_qp</strong>(\r
-        IN              const   ib_qp_handle_t                          h_qp,\r
+        IN              const   ib_qp_handle_t FUNC_PTR64                          h_qp,\r
         IN              const   <a href="./ib_types_h.html#robo203">ib_qp_mod_t</a>* const                      p_qp_mod );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -5880,7 +5880,7 @@ Access Layer/ib_modify_srq</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_modify_srq</strong>(\r
-        IN              const   ib_srq_handle_t                 h_srq,\r
+        IN              const   ib_srq_handle_t FUNC_PTR64                 h_srq,\r
         IN              const   <a href="./ib_types_h.html#robo251">ib_srq_attr_t</a>* const            p_srq_attr,\r
         IN              const   <a href="./ib_types_h.html#robo250">ib_srq_attr_mask_t</a>                      srq_attr_mask );\r
 </pre>\r
@@ -5964,7 +5964,7 @@ Access Layer/ib_open_al</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_open_al</strong>(\r
-                OUT                     ib_al_handle_t* const           ph_al );\r
+                OUT                     ib_al_handle_t FUNC_PTR64* const           ph_al );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       ph_al\r
@@ -6008,11 +6008,11 @@ Access Layer/ib_open_ca</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_open_ca</strong>(\r
-        IN              const   ib_al_handle_t                          h_al,\r
+        IN              const   ib_al_handle_t FUNC_PTR64                          h_al,\r
         IN              const   <a href="./ib_types_h.html#robo886">ib_net64_t</a>                                      ca_guid,\r
         IN              const   <a href="#robo173">ib_pfn_event_cb_t</a>                       pfn_ca_event_cb OPTIONAL,\r
         IN              const   void* const                                     ca_context,\r
-                OUT                     ib_ca_handle_t* const           ph_ca );\r
+                OUT                     ib_ca_handle_t FUNC_PTR64* const           ph_ca );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_al\r
@@ -6072,7 +6072,7 @@ Access Layer/ib_peek_cq</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_peek_cq</strong>(\r
-        IN              const   ib_cq_handle_t                          h_cq,\r
+        IN              const   ib_cq_handle_t FUNC_PTR64                          h_cq,\r
         OUT                             uint32_t* const                         p_n_cqes );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6120,7 +6120,7 @@ Access Layer/ib_pfn_cm_apr_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_cm_apr_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_cm_apr_cb_t</strong>)(\r
         IN                              <a href="#robo62">ib_cm_apr_rec_t</a>                         *p_cm_apr_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6154,7 +6154,7 @@ Access Layer/ib_pfn_cm_drep_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_cm_drep_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_cm_drep_cb_t</strong>)(\r
         IN                              <a href="#robo67">ib_cm_drep_rec_t</a>                        *p_cm_drep_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6188,7 +6188,7 @@ Access Layer/ib_pfn_cm_dreq_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_cm_dreq_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_cm_dreq_cb_t</strong>)(\r
         IN                              <a href="#robo70">ib_cm_dreq_rec_t</a>                        *p_cm_dreq_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6224,7 +6224,7 @@ Access Layer/ib_pfn_cm_lap_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_cm_lap_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_cm_lap_cb_t</strong>)(\r
         IN                              <a href="#robo75">ib_cm_lap_rec_t</a>                         *p_cm_lap_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6259,7 +6259,7 @@ Access Layer/ib_pfn_cm_mra_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_cm_mra_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_cm_mra_cb_t</strong>)(\r
         IN                              <a href="#robo80">ib_cm_mra_rec_t</a>                         *p_cm_mra_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6294,7 +6294,7 @@ Access Layer/ib_pfn_cm_rej_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_cm_rej_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_cm_rej_cb_t</strong>)(\r
         IN                              <a href="#robo83">ib_cm_rej_rec_t</a>                         *p_cm_rej_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6328,7 +6328,7 @@ Access Layer/ib_pfn_cm_rep_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_cm_rep_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_cm_rep_cb_t</strong>)(\r
         IN                              <a href="#robo86">ib_cm_rep_rec_t</a>                         *p_cm_rep_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6375,7 +6375,7 @@ Access Layer/ib_pfn_cm_req_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_cm_req_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_cm_req_cb_t</strong>)(\r
         IN                              <a href="#robo89">ib_cm_req_rec_t</a>                         *p_cm_req_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6416,7 +6416,7 @@ Access Layer/ib_pfn_cm_rtu_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_cm_rtu_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_cm_rtu_cb_t</strong>)(\r
         IN                              <a href="#robo92">ib_cm_rtu_rec_t</a>                         *p_cm_rtu_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6453,8 +6453,8 @@ Access Layer/ib_pfn_comp_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_comp_cb_t</strong>)(\r
-        IN              const   ib_cq_handle_t                          h_cq,\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_comp_cb_t</strong>)(\r
+        IN              const   ib_cq_handle_t FUNC_PTR64                          h_cq,\r
         IN                              void                                            *cq_context );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6490,7 +6490,7 @@ Access Layer/ib_pfn_destroy_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_destroy_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_destroy_cb_t</strong>)(\r
         IN                              void                                            *context );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6530,7 +6530,7 @@ Access Layer/ib_pfn_event_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_event_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_event_cb_t</strong>)(\r
         IN                              <a href="#robo47">ib_async_event_rec_t</a>            *p_event_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6560,7 +6560,7 @@ Access Layer/ib_pfn_listen_err_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_listen_err_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_listen_err_cb_t</strong>)(\r
         IN                              <a href="#robo140">ib_listen_err_rec_t</a>                     *p_listen_err_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6590,8 +6590,8 @@ Access Layer/ib_pfn_mad_comp_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_mad_comp_cb_t</strong>)(\r
-        IN              const   ib_mad_svc_handle_t                     h_mad_svc,\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_mad_comp_cb_t</strong>)(\r
+        IN              const   ib_mad_svc_handle_t FUNC_PTR64                     h_mad_svc,\r
         IN                              void                                            *mad_svc_context,\r
         IN                              <a href="#robo144">ib_mad_element_t</a>                        *p_mad_element );\r
 </pre>\r
@@ -6639,7 +6639,7 @@ Access Layer/ib_pfn_mcast_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_mcast_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_mcast_cb_t</strong>)(\r
         IN                              <a href="#robo147">ib_mcast_rec_t</a>                          *p_mcast_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6672,7 +6672,7 @@ Access Layer/ib_pfn_pnp_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef <a href="./ib_types_h.html#robo41">ib_api_status_t</a>\r
-(AL_API * __ptr64 <strong>ib_pfn_pnp_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_pnp_cb_t</strong>)(\r
         IN                              <a href="#robo191">ib_pnp_rec_t</a>                            *p_pnp_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6725,7 +6725,7 @@ Access Layer/ib_pfn_query_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_query_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_query_cb_t</strong>)(\r
         IN                              <a href="#robo215">ib_query_rec_t</a>                          *p_query_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6761,7 +6761,7 @@ Access Layer/ib_pfn_reg_svc_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_reg_svc_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_reg_svc_cb_t</strong>)(\r
         IN                              <a href="#robo232">ib_reg_svc_rec_t</a>                        *p_reg_svc_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6794,7 +6794,7 @@ Access Layer/ib_pfn_report_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_report_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_report_cb_t</strong>)(\r
         IN                              <a href="#robo239">ib_report_rec_t</a>                         *p_report_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6834,7 +6834,7 @@ Access Layer/ib_pfn_sub_cb_t</a></h2>
 </pre>\r
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef void\r
-(AL_API * __ptr64 <strong>ib_pfn_sub_cb_t</strong>)(\r
+(AL_API * FUNC_PTR64 <strong>ib_pfn_sub_cb_t</strong>)(\r
         IN                              <a href="#robo252">ib_sub_rec_t</a>                            *p_sub_rec );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -6874,7 +6874,7 @@ Access Layer/ib_pnp_ca_rec_t</a></h2>
 <span class="SYNOPSIS"><pre>typedef struct _ib_pnp_ca_rec\r
 {\r
         <a href="#robo191">ib_pnp_rec_t</a>                            pnp_rec;\r
-        <a href="./ib_types_h.html#robo52">ib_ca_attr_t</a>* __ptr64           p_ca_attr;\r
+ TO_LONG_PTR(       <a href="./ib_types_h.html#robo52">ib_ca_attr_t</a>* ,           p_ca_attr) ; \r
 \r
 }       <strong>ib_pnp_ca_rec_t</strong>;\r
 </pre>\r
@@ -7332,8 +7332,8 @@ Access Layer/ib_pnp_port_rec_t</a></h2>
 <span class="SYNOPSIS"><pre>typedef struct _ib_pnp_port_rec\r
 {\r
         <a href="#robo191">ib_pnp_rec_t</a>                            pnp_rec;\r
-        <a href="./ib_types_h.html#robo52">ib_ca_attr_t</a>* __ptr64           p_ca_attr;\r
-        <a href="./ib_types_h.html#robo195">ib_port_attr_t</a>* __ptr64         p_port_attr;\r
+ TO_LONG_PTR(       <a href="./ib_types_h.html#robo52">ib_ca_attr_t</a>* ,           p_ca_attr) ; \r
+ TO_LONG_PTR(       <a href="./ib_types_h.html#robo195">ib_port_attr_t</a>* ,         p_port_attr) ; \r
 \r
 }       <strong>ib_pnp_port_rec_t</strong>;\r
 </pre>\r
@@ -7390,11 +7390,11 @@ Access Layer/ib_pnp_rec_t</a></h2>
 {\r
         <a href="#robo186">ib_pnp_event_t</a>                          pnp_event;\r
 \r
-        ib_pnp_handle_t                         h_pnp;\r
-        ib_pnp_handle_t                         h_ioc_event;\r
+        ib_pnp_handle_t __ptr64                         h_pnp;\r
+        ib_pnp_handle_t __ptr64                         h_ioc_event;\r
 \r
-        void* __ptr64                           pnp_context;\r
-        void* __ptr64                           context;\r
+ TO_LONG_PTR(       void* ,                           pnp_context) ; \r
+ TO_LONG_PTR(       void* ,                           context) ; \r
         //NOTE:\r
         //guid and ca_guid use as key to flexi map need to keep these field together\r
         <a href="./ib_types_h.html#robo886">ib_net64_t</a>                                      guid;\r
@@ -7518,7 +7518,7 @@ Access Layer/ib_poll_cq</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_poll_cq</strong>(\r
-        IN              const   ib_cq_handle_t                          h_cq,\r
+        IN              const   ib_cq_handle_t FUNC_PTR64                          h_cq,\r
         IN      OUT                     <a href="./ib_types_h.html#robo259">ib_wc_t</a>** const                         pp_free_wclist,\r
                 OUT                     <a href="./ib_types_h.html#robo259">ib_wc_t</a>** const                         pp_done_wclist );\r
 </pre>\r
@@ -7578,7 +7578,7 @@ Access Layer/ib_post_recv</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_post_recv</strong>(\r
-        IN              const   ib_qp_handle_t                          h_qp,\r
+        IN              const   ib_qp_handle_t FUNC_PTR64                          h_qp,\r
         IN                              <a href="./ib_types_h.html#robo222">ib_recv_wr_t</a>* const                     p_recv_wr,\r
                 OUT                     <a href="./ib_types_h.html#robo222">ib_recv_wr_t</a>                            **pp_recv_failure OPTIONAL );\r
 </pre>\r
@@ -7639,7 +7639,7 @@ Access Layer/ib_post_send</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_post_send</strong>(\r
-        IN              const   ib_qp_handle_t                          h_qp,\r
+        IN              const   ib_qp_handle_t FUNC_PTR64                          h_qp,\r
         IN                              <a href="./ib_types_h.html#robo246">ib_send_wr_t</a>* const                     p_send_wr,\r
                 OUT                     <a href="./ib_types_h.html#robo246">ib_send_wr_t</a>                            **pp_send_failure OPTIONAL );\r
 </pre>\r
@@ -7706,7 +7706,7 @@ Access Layer/ib_post_srq_recv</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_post_srq_recv</strong>(\r
-        IN              const   ib_srq_handle_t                         h_srq,\r
+        IN              const   ib_srq_handle_t FUNC_PTR64                         h_srq,\r
         IN                              <a href="./ib_types_h.html#robo222">ib_recv_wr_t</a>* const                     p_recv_wr,\r
                 OUT                     <a href="./ib_types_h.html#robo222">ib_recv_wr_t</a>                            **pp_recv_failure OPTIONAL );\r
 </pre>\r
@@ -7803,9 +7803,9 @@ Access Layer/ib_query</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_query</strong>(\r
-        IN              const   ib_al_handle_t                          h_al,\r
+        IN              const   ib_al_handle_t FUNC_PTR64                          h_al,\r
         IN              const   <a href="#robo216">ib_query_req_t</a>* const           p_query_req,\r
-                OUT                     ib_query_handle_t* const        ph_query OPTIONAL );\r
+                OUT                     ib_query_handle_t FUNC_PTR64* const        ph_query OPTIONAL );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_al\r
@@ -7867,9 +7867,9 @@ Access Layer/ib_query_av</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_query_av</strong>(\r
-        IN              const   ib_av_handle_t                          h_av,\r
+        IN              const   ib_av_handle_t FUNC_PTR64                          h_av,\r
                 OUT                     <a href="./ib_types_h.html#robo49">ib_av_attr_t</a>* const                     p_av_attr,\r
-                OUT                     ib_pd_handle_t* const           ph_pd );\r
+                OUT                     ib_pd_handle_t FUNC_PTR64* const           ph_pd );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_av\r
@@ -7913,7 +7913,7 @@ Access Layer/ib_query_ca</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_query_ca</strong>(\r
-        IN              const   ib_ca_handle_t                          h_ca,\r
+        IN              const   ib_ca_handle_t FUNC_PTR64                          h_ca,\r
                 OUT                     <a href="./ib_types_h.html#robo52">ib_ca_attr_t</a>* const                     p_ca_attr OPTIONAL,\r
         IN      OUT                     uint32_t* const                         p_size );\r
 </pre>\r
@@ -7977,7 +7977,7 @@ Access Layer/ib_query_ca_by_guid</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_query_ca_by_guid</strong>(\r
-        IN              const   ib_al_handle_t                          h_al,\r
+        IN              const   ib_al_handle_t FUNC_PTR64                          h_al,\r
         IN              const   <a href="./ib_types_h.html#robo886">ib_net64_t</a>                                      ca_guid,\r
                 OUT                     <a href="./ib_types_h.html#robo52">ib_ca_attr_t</a>* const                     p_ca_attr OPTIONAL,\r
         IN      OUT                     uint32_t* const                         p_size );\r
@@ -8048,7 +8048,7 @@ Access Layer/ib_query_cq</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_query_cq</strong>(\r
-        IN              const   ib_cq_handle_t          h_cq,\r
+        IN              const   ib_cq_handle_t FUNC_PTR64          h_cq,\r
         OUT             uint32_t* const                         p_size );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -8088,7 +8088,7 @@ Access Layer/ib_query_mr</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_query_mr</strong>(\r
-        IN              const   ib_mr_handle_t                          h_mr,\r
+        IN              const   ib_mr_handle_t FUNC_PTR64                          h_mr,\r
                 OUT                     <a href="./ib_types_h.html#robo154">ib_mr_attr_t</a>* const                     p_mr_attr );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -8132,8 +8132,8 @@ Access Layer/ib_query_mw</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_query_mw</strong>(\r
-        IN              const   ib_mw_handle_t                          h_mw,\r
-                OUT                     ib_pd_handle_t* const           ph_pd,\r
+        IN              const   ib_mw_handle_t FUNC_PTR64                          h_mw,\r
+                OUT                     ib_pd_handle_t FUNC_PTR64* const           ph_pd,\r
                 OUT                     net32_t* const                          p_rkey );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -8180,7 +8180,7 @@ Access Layer/ib_query_qp</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_query_qp</strong>(\r
-        IN              const   ib_qp_handle_t                          h_qp,\r
+        IN              const   ib_qp_handle_t FUNC_PTR64                          h_qp,\r
                 OUT                     <a href="./ib_types_h.html#robo201">ib_qp_attr_t</a>* const                     p_qp_attr );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -8224,12 +8224,12 @@ Access Layer/ib_query_rec_t</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef struct _ib_query_rec\r
 {\r
-        const void* __ptr64                     query_context;\r
+ TO_LONG_PTR(       const void* ,                     query_context) ; \r
         <a href="./ib_types_h.html#robo41">ib_api_status_t</a>                         status;\r
 \r
         <a href="#robo218">ib_query_type_t</a>                         query_type;\r
         uint32_t                                        result_cnt;\r
-        <a href="#robo144">ib_mad_element_t</a>* __ptr64       p_result_mad;\r
+ TO_LONG_PTR(       <a href="#robo144">ib_mad_element_t</a>* ,       p_result_mad) ; \r
 \r
 }       <strong>ib_query_rec_t</strong>;\r
 </pre>\r
@@ -8288,14 +8288,14 @@ Access Layer/ib_query_req_t</a></h2>
 <span class="SYNOPSIS"><pre>typedef struct _ib_query_req\r
 {\r
         <a href="#robo218">ib_query_type_t</a>                         query_type;\r
-        const void* __ptr64                     p_query_input;\r
+ TO_LONG_PTR(       const void* ,                     p_query_input) ; \r
         <a href="./ib_types_h.html#robo886">ib_net64_t</a>                                      port_guid;\r
 \r
         uint32_t                                        timeout_ms;\r
         uint32_t                                        retry_cnt;\r
         <a href="#robo39">ib_al_flags_t</a>                           flags;\r
 \r
-        const void* __ptr64                     query_context;\r
+ TO_LONG_PTR(       const void* ,                     query_context) ; \r
         <a href="#robo178">ib_pfn_query_cb_t</a>                       pfn_query_cb;\r
 \r
 }       <strong>ib_query_req_t</strong>;\r
@@ -8368,7 +8368,7 @@ Access Layer/ib_query_srq</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_query_srq</strong>(\r
-        IN              const   ib_srq_handle_t                         h_srq,\r
+        IN              const   ib_srq_handle_t FUNC_PTR64                         h_srq,\r
                 OUT                     <a href="./ib_types_h.html#robo251">ib_srq_attr_t</a>* const                    p_srq_attr );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -8501,7 +8501,7 @@ Access Layer/ib_rearm_cq</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_rearm_cq</strong>(\r
-        IN              const   ib_cq_handle_t                          h_cq,\r
+        IN              const   ib_cq_handle_t FUNC_PTR64                          h_cq,\r
         IN              const   boolean_t                                       solicited );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -8544,7 +8544,7 @@ Access Layer/ib_rearm_n_cq</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_rearm_n_cq</strong>(\r
-        IN              const   ib_cq_handle_t                          h_cq,\r
+        IN              const   ib_cq_handle_t FUNC_PTR64                          h_cq,\r
         IN              const   uint32_t                                        n_cqes );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -8598,7 +8598,7 @@ Access Layer/ib_reg_ioc</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_reg_ioc</strong>(\r
-        IN              const   ib_ioc_handle_t                         h_ioc );\r
+        IN              const   ib_ioc_handle_t FUNC_PTR64                         h_ioc );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_ioc\r
@@ -8643,9 +8643,9 @@ Access Layer/ib_reg_mad_pool</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_reg_mad_pool</strong>(\r
-        IN              const   ib_pool_handle_t                        h_pool,\r
-        IN              const   ib_pd_handle_t                          h_pd,\r
-                OUT                     ib_pool_key_t* const            p_pool_key );\r
+        IN              const   ib_pool_handle_t FUNC_PTR64                        h_pool,\r
+        IN              const   ib_pd_handle_t FUNC_PTR64                          h_pd,\r
+                OUT                     ib_pool_key_t FUNC_PTR64* const            p_pool_key );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_pool\r
@@ -8705,9 +8705,9 @@ Access Layer/ib_reg_mad_svc</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_reg_mad_svc</strong>(\r
-        IN              const   ib_qp_handle_t                          h_qp,\r
+        IN              const   ib_qp_handle_t FUNC_PTR64                          h_qp,\r
         IN              const   <a href="#robo145">ib_mad_svc_t</a>* const                     p_mad_svc,\r
-                OUT                     ib_mad_svc_handle_t* const      ph_mad_svc );\r
+                OUT                     ib_mad_svc_handle_t FUNC_PTR64* const      ph_mad_svc );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_qp\r
@@ -8764,11 +8764,11 @@ Access Layer/ib_reg_mem</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_reg_mem</strong>(\r
-        IN              const   ib_pd_handle_t                          h_pd,\r
+        IN              const   ib_pd_handle_t FUNC_PTR64                          h_pd,\r
         IN              const   <a href="./ib_types_h.html#robo155">ib_mr_create_t</a>* const           p_mr_create,\r
                 OUT                     net32_t* const                          p_lkey,\r
                 OUT                     net32_t* const                          p_rkey,\r
-                OUT                     ib_mr_handle_t* const           ph_mr );\r
+                OUT                     ib_mr_handle_t FUNC_PTR64* const           ph_mr );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_pd\r
@@ -8838,12 +8838,12 @@ Access Layer/ib_reg_phys</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_reg_phys</strong>(\r
-        IN              const   ib_pd_handle_t                          h_pd,\r
+        IN              const   ib_pd_handle_t FUNC_PTR64                          h_pd,\r
         IN              const   <a href="./ib_types_h.html#robo182">ib_phys_create_t</a>* const         p_phys_create,\r
         IN      OUT                     uint64_t* const                         p_vaddr,\r
                 OUT                     net32_t* const                          p_lkey,\r
                 OUT                     net32_t* const                          p_rkey,\r
-                OUT                     ib_mr_handle_t* const           ph_mr );\r
+                OUT                     ib_mr_handle_t FUNC_PTR64* const           ph_mr );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_pd\r
@@ -8921,9 +8921,9 @@ Access Layer/ib_reg_pnp</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_reg_pnp</strong>(\r
-        IN              const   ib_al_handle_t                          h_al,\r
+        IN              const   ib_al_handle_t FUNC_PTR64                          h_al,\r
         IN              const   <a href="#robo192">ib_pnp_req_t</a>* const                     p_pnp_req,\r
-                OUT                     ib_pnp_handle_t* const          ph_pnp );\r
+                OUT                     ib_pnp_handle_t FUNC_PTR64* const          ph_pnp );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_al\r
@@ -8986,13 +8986,13 @@ Access Layer/ib_reg_shared</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_reg_shared</strong>(\r
-        IN              const   ib_mr_handle_t                          h_mr,\r
-        IN              const   ib_pd_handle_t                          h_pd,\r
+        IN              const   ib_mr_handle_t FUNC_PTR64                          h_mr,\r
+        IN              const   ib_pd_handle_t FUNC_PTR64                          h_pd,\r
         IN              const   <a href="./ib_types_h.html#robo37">ib_access_t</a>                                     access_ctrl,\r
         IN      OUT                     uint64_t* const                         p_vaddr,\r
                 OUT                     net32_t* const                          p_lkey,\r
                 OUT                     net32_t* const                          p_rkey,\r
-                OUT                     ib_mr_handle_t* const           ph_mr );\r
+                OUT                     ib_mr_handle_t FUNC_PTR64* const           ph_mr );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_mr\r
@@ -9076,13 +9076,13 @@ Access Layer/ib_reg_shmid</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_reg_shmid</strong>(\r
-        IN              const   ib_pd_handle_t                          h_pd,\r
+        IN              const   ib_pd_handle_t FUNC_PTR64                          h_pd,\r
         IN              const   <a href="#robo247">ib_shmid_t</a>                                      shmid,\r
         IN              const   <a href="./ib_types_h.html#robo155">ib_mr_create_t</a>* const           p_mr_create,\r
                 OUT                     uint64_t* const                         p_vaddr,\r
                 OUT                     net32_t* const                          p_lkey,\r
                 OUT                     net32_t* const                          p_rkey,\r
-                OUT                     ib_mr_handle_t* const           ph_mr );\r
+                OUT                     ib_mr_handle_t FUNC_PTR64* const           ph_mr );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_pd\r
@@ -9166,7 +9166,7 @@ Access Layer/ib_reg_svc</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_reg_svc</strong>(\r
-        IN              const   ib_al_handle_t                          h_al,\r
+        IN              const   ib_al_handle_t FUNC_PTR64                          h_al,\r
         IN              const   <a href="#robo233">ib_reg_svc_req_t</a>* const         p_reg_svc_req,\r
                 OUT                     ib_reg_svc_handle_t* const      ph_reg_svc );\r
 </pre>\r
@@ -9233,7 +9233,7 @@ Access Layer/ib_reg_svc_rec_t</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef struct _ib_reg_svc_rec\r
 {\r
-        const void* __ptr64                     svc_context;\r
+ TO_LONG_PTR(       const void* ,                     svc_context) ; \r
         ib_reg_svc_handle_t                     h_reg_svc;\r
         <a href="./ib_types_h.html#robo41">ib_api_status_t</a>                         req_status;\r
         <a href="./ib_types_h.html#robo884">ib_net16_t</a>                                      resp_status;\r
@@ -9385,8 +9385,8 @@ Access Layer/ib_reject_ioc</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_reject_ioc</strong>(\r
-        IN              const   ib_al_handle_t                          h_al,\r
-        IN              const   ib_pnp_handle_t                         h_ioc_event );\r
+        IN              const   ib_al_handle_t FUNC_PTR64                          h_al,\r
+        IN              const   ib_pnp_handle_t FUNC_PTR64                         h_ioc_event );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_al\r
@@ -9440,7 +9440,7 @@ Access Layer/ib_remove_svc_entry</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_remove_svc_entry</strong>(\r
-        IN              const   ib_svc_handle_t                         h_svc );\r
+        IN              const   ib_svc_handle_t FUNC_PTR64                         h_svc );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_svc\r
@@ -9501,8 +9501,8 @@ Access Layer/ib_report_rec_t</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef struct _ib_report_rec\r
 {\r
-        const void* __ptr64                             report_context;\r
-        ib_mad_notice_attr_t* __ptr64   p_notice;\r
+ TO_LONG_PTR(       const void* ,                             report_context) ; \r
+ TO_LONG_PTR(       ib_mad_notice_attr_t* ,   p_notice) ; \r
 \r
 }       <strong>ib_report_rec_t</strong>;\r
 </pre>\r
@@ -9562,12 +9562,12 @@ Access Layer/ib_rereg_mem</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_rereg_mem</strong>(\r
-        IN              const   ib_mr_handle_t                          h_mr,\r
+        IN              const   ib_mr_handle_t FUNC_PTR64                          h_mr,\r
         IN              const   <a href="./ib_types_h.html#robo156">ib_mr_mod_t</a>                                     mr_mod_mask,\r
         IN              const   <a href="./ib_types_h.html#robo155">ib_mr_create_t</a>* const           p_mr_create OPTIONAL,\r
                 OUT                     net32_t* const                          p_lkey,\r
                 OUT                     net32_t* const                          p_rkey,\r
-        IN              const   ib_pd_handle_t                          h_pd OPTIONAL );\r
+        IN              const   ib_pd_handle_t FUNC_PTR64                          h_pd OPTIONAL );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_mr\r
@@ -9650,13 +9650,13 @@ Access Layer/ib_rereg_phys</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_rereg_phys</strong>(\r
-        IN              const   ib_mr_handle_t                          h_mr,\r
+        IN              const   ib_mr_handle_t FUNC_PTR64                          h_mr,\r
         IN              const   <a href="./ib_types_h.html#robo156">ib_mr_mod_t</a>                                     mr_mod_mask,\r
         IN              const   <a href="./ib_types_h.html#robo182">ib_phys_create_t</a>* const         p_phys_create OPTIONAL,\r
         IN      OUT                     uint64_t* const                         p_vaddr,\r
                 OUT                     net32_t* const                          p_lkey,\r
                 OUT                     net32_t* const                          p_rkey,\r
-        IN              const   ib_pd_handle_t                          h_pd OPTIONAL );\r
+        IN              const   ib_pd_handle_t FUNC_PTR64                          h_pd OPTIONAL );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_mr\r
@@ -9767,7 +9767,7 @@ Access Layer/ib_send_mad</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_send_mad</strong>(\r
-        IN              const   ib_mad_svc_handle_t                     h_mad_svc,\r
+        IN              const   ib_mad_svc_handle_t FUNC_PTR64                     h_mad_svc,\r
         IN                              <a href="#robo144">ib_mad_element_t</a>* const         p_mad_element_list,\r
                 OUT                     <a href="#robo144">ib_mad_element_t</a>                        **pp_mad_failure OPTIONAL );\r
 </pre>\r
@@ -9901,9 +9901,9 @@ Access Layer/ib_sub_rec_t</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef struct _ib_sub_rec\r
 {\r
-        const void* __ptr64                     sub_context;\r
+ TO_LONG_PTR(       const void* ,                     sub_context) ; \r
         <a href="./ib_types_h.html#robo41">ib_api_status_t</a>                         status;\r
-        ib_sub_handle_t                         h_sub;\r
+        ib_sub_handle_t __ptr64                         h_sub;\r
 \r
 }       <strong>ib_sub_rec_t</strong>;\r
 </pre>\r
@@ -9950,18 +9950,18 @@ Access Layer/ib_sub_req_t</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>typedef struct _ib_sub_req\r
 {\r
-        ib_svc_name_t* __ptr64          p_class_mgr_name;\r
-        ib_inform_info_t* __ptr64       p_inform_info;\r
+ TO_LONG_PTR(       ib_svc_name_t* ,          p_class_mgr_name) ; \r
+ TO_LONG_PTR(       ib_inform_info_t* ,       p_inform_info) ; \r
         <a href="./ib_types_h.html#robo886">ib_net64_t</a>                                      port_guid;\r
 \r
         uint32_t                                        timeout_ms;\r
         uint32_t                                        retry_cnt;\r
         <a href="#robo39">ib_al_flags_t</a>                           flags;\r
 \r
-        const void* __ptr64                     sub_context;\r
+ TO_LONG_PTR(       const void* ,                     sub_context) ; \r
         <a href="#robo181">ib_pfn_sub_cb_t</a>                         pfn_sub_cb;\r
 \r
-        const void* __ptr64                     report_context;\r
+ TO_LONG_PTR(       const void* ,                     report_context) ; \r
         <a href="#robo180">ib_pfn_report_cb_t</a>                      pfn_report_cb;\r
 \r
 }       <strong>ib_sub_req_t</strong>;\r
@@ -10035,9 +10035,9 @@ Access Layer/ib_subscribe</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_subscribe</strong>(\r
-        IN              const   ib_al_handle_t                          h_al,\r
+        IN              const   ib_al_handle_t FUNC_PTR64                          h_al,\r
         IN              const   <a href="#robo253">ib_sub_req_t</a>* const                     p_sub_req,\r
-                OUT                     ib_sub_handle_t* const          ph_sub );\r
+                OUT                     ib_sub_handle_t FUNC_PTR64* const          ph_sub );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_al\r
@@ -10126,7 +10126,7 @@ Access Layer/ib_unsubscribe</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>ib_unsubscribe</strong>(\r
-        IN              const   ib_sub_handle_t                         h_sub,\r
+        IN              const   ib_sub_handle_t FUNC_PTR64                         h_sub,\r
         IN              const   <a href="#robo172">ib_pfn_destroy_cb_t</a>                     pfn_destroy_cb OPTIONAL );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
@@ -10187,7 +10187,7 @@ Access Layer/ib_user_query_t</a></h2>
         <a href="./ib_types_h.html#robo884">ib_net16_t</a>                              attr_id;\r
         uint32_t                                attr_size;\r
         <a href="./ib_types_h.html#robo886">ib_net64_t</a>                              comp_mask;\r
-        void* __ptr64                   p_attr;\r
+ TO_LONG_PTR(       void* ,                   p_attr) ; \r
 \r
 }       <strong>ib_user_query_t</strong>;\r
 </pre>\r
@@ -10234,9 +10234,9 @@ Access Layer/mlnx_create_fmr</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>mlnx_create_fmr</strong>(\r
-        IN              const   ib_pd_handle_t                          h_pd,\r
+        IN              const   ib_pd_handle_t FUNC_PTR64                          h_pd,\r
         IN              const   <a href="./ib_types_h.html#robo264">mlnx_fmr_create_t</a>* const        p_fmr_create,\r
-                OUT                     mlnx_fmr_handle_t* const        ph_fmr );\r
+                OUT                     mlnx_fmr_handle_t FUNC_PTR64* const        ph_fmr );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_pd\r
@@ -10301,7 +10301,7 @@ Access Layer/mlnx_destroy_fmr</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>mlnx_destroy_fmr</strong>(\r
-        IN              const   mlnx_fmr_handle_t                       h_fmr );\r
+        IN              const   mlnx_fmr_handle_t FUNC_PTR64                       h_fmr );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_fmr\r
@@ -10359,7 +10359,7 @@ Access Layer/mlnx_map_fmr</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 mlnx_map_phys_fmr(\r
-        IN              const   mlnx_fmr_handle_t                       h_fmr,\r
+        IN              const   mlnx_fmr_handle_t FUNC_PTR64                       h_fmr,\r
         IN              const   uint64_t* const                         paddr_list,\r
         IN              const   int                                                     list_len,\r
         IN      OUT                     uint64_t* const                         p_vaddr,\r
@@ -10436,7 +10436,7 @@ Access Layer/mlnx_unmap_fmr</a></h2>
 </span><p><strong>SYNOPSIS</strong></p>\r
 <span class="SYNOPSIS"><pre>AL_EXPORT <a href="./ib_types_h.html#robo41">ib_api_status_t</a> AL_API\r
 <strong>mlnx_unmap_fmr</strong>(\r
-        IN              const   mlnx_fmr_handle_t                       h_fmr );\r
+        IN              const   mlnx_fmr_handle_t FUNC_PTR64                       h_fmr );\r
 </pre>\r
 </span><p><strong>PARAMETERS</strong></p>\r
 <span class="PARAMETERS"><pre>       h_fmr\r