Prosoft-technology MVI69-ADM Manuale Utente Pagina 273

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 342
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 272
MVI-ADM 'C' Programmable CIP Messaging Library Functions
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 273 of 342
February 20, 2013
Example
MVIHANDLE handle;
MVIHANDLE objHandle;
MY_STRUCT mystruct;
int rc;
MVICALLBACK MyConnectProc (MVIHANDLE, MVICIPCONNSTRUC *);
MVICALLBACK MyServiceProc(MVIHANDLE, MVICIPSERVSTRUC *);
// Register all instances of the assembly object
rc = MVIcip_RegisterAssemblyObj( handle, &objHandle,
(DWORD)&mystruct, MyConnectProc, MyServiceProc, NULL );
if (rc != MVI_SUCCESS) printf("Unable to register assembly object\n");
See Also
MVIcip_UnregisterAssemblyObj (page 274)
connect_proc (page 278)
service_proc (page 282)
Vedere la pagina 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 341 342

Commenti su questo manuale

Nessun commento