217 public static class Mq {
221 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqCheckForLeftOverArguments_RT")]
224 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqClassFactoryGet")]
225 internal static extern IntPtr MqClassFactoryGet (IntPtr ctx);
227 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqClassFactorySet_RT")]
230 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqClassIdentGet")]
231 internal static extern IntPtr MqClassIdentGet (IntPtr ctx);
233 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqClassIdentSet_RT")]
236 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqClassOriginalIdentGet")]
237 internal static extern IntPtr MqClassOriginalIdentGet (IntPtr ctx);
239 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqCleanup")]
240 internal static extern void MqCleanup ();
242 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigCheckStartAs")]
243 internal static extern bool MqConfigCheckStartAs (IntPtr ctx,
MqStartE data);
245 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetBuffersizeP")]
246 internal static extern Int32 MqConfigGetBuffersize (IntPtr ctx);
248 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetIdentFromP")]
249 internal static extern MqIdentE MqConfigGetIdentFrom (IntPtr ctx);
251 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetIoPipeP")]
252 internal static extern Int32 MqConfigGetIoPipe (IntPtr ctx);
254 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetIoTcp")]
255 internal static extern MkErrorE MqConfigGetIoTcp (IntPtr ctx, out IntPtr host_out, out IntPtr port_out, out IntPtr myhost_out, out IntPtr myport_out);
257 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetIoTcpL_RT")]
260 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetIoUdsP")]
261 internal static extern IntPtr MqConfigGetIoUds (IntPtr ctx);
263 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetIsParentP")]
264 internal static extern bool MqConfigGetIsParent (IntPtr ctx);
266 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetIsServerP")]
267 internal static extern bool MqConfigGetIsServer (IntPtr ctx);
269 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetIsStringP")]
270 internal static extern bool MqConfigGetIsString (IntPtr ctx);
272 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetNameP")]
273 internal static extern IntPtr MqConfigGetName (IntPtr ctx);
275 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetPkgsizeP")]
276 internal static extern Int32 MqConfigGetPkgsize (IntPtr ctx);
278 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetPostfixP")]
279 internal static extern IntPtr MqConfigGetPostfix (IntPtr ctx);
281 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetPrefixP")]
282 internal static extern IntPtr MqConfigGetPrefix (IntPtr ctx);
284 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetStartAsP")]
285 internal static extern MqStartE MqConfigGetStartAs (IntPtr ctx);
287 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetStatusIsP")]
288 internal static extern MqStatusIsEF MqConfigGetStatusIs (IntPtr ctx);
290 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetStorageP")]
291 internal static extern IntPtr MqConfigGetStorage (IntPtr ctx);
293 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigGetTimeoutP")]
294 internal static extern long MqConfigGetTimeout (IntPtr ctx);
296 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigReset_RT")]
297 internal static extern void MqConfigReset (IntPtr mkrt, IntPtr ctx);
299 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetAllDebug_RT")]
302 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetBgError_RT")]
305 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetBuffersize")]
306 internal static extern void MqConfigSetBuffersize (IntPtr ctx, Int32 data);
308 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetConfigFile_RT")]
311 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetDaemon_RT")]
314 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetEvent_RT")]
317 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetIdentFrom")]
318 internal static extern void MqConfigSetIdentFrom (IntPtr ctx,
MqIdentE data);
320 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetIgnoreExit")]
321 internal static extern void MqConfigSetIgnoreExit (IntPtr ctx,
bool data);
323 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetIoPipe_RT")]
326 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetIoTcp_RT")]
327 internal static extern MkErrorE MqConfigSetIoTcp (IntPtr mkrt, IntPtr ctx, IntPtr host, IntPtr port, IntPtr myhost, IntPtr myport);
329 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetIoTcpL_RT")]
332 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetIoUds_RT")]
335 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetIsServer")]
336 internal static extern void MqConfigSetIsServer (IntPtr ctx,
bool data);
338 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetIsString")]
339 internal static extern void MqConfigSetIsString (IntPtr ctx,
bool data);
341 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetName_RT")]
342 internal static extern void MqConfigSetName (IntPtr mkrt, IntPtr ctx, IntPtr data);
344 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetPkgsize")]
345 internal static extern void MqConfigSetPkgsize (IntPtr ctx, Int32 data);
347 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetPostfix_RT")]
348 internal static extern void MqConfigSetPostfix (IntPtr mkrt, IntPtr ctx, IntPtr data);
350 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetPrefix_RT")]
351 internal static extern void MqConfigSetPrefix (IntPtr mkrt, IntPtr ctx, IntPtr data);
353 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetServerCleanup_RT")]
356 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetServerSetup_RT")]
359 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetStartAs")]
360 internal static extern MkErrorE MqConfigSetStartAs (IntPtr ctx,
MqStartE data);
362 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetStartAsString")]
363 internal static extern MkErrorE MqConfigSetStartAsString (IntPtr ctx, IntPtr data);
365 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetStorage_RT")]
366 internal static extern void MqConfigSetStorage (IntPtr mkrt, IntPtr ctx, IntPtr data);
368 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqConfigSetTimeout")]
369 internal static extern void MqConfigSetTimeout (IntPtr ctx,
long data);
371 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextCreate_RT")]
372 internal static extern IntPtr
MqContextCreate (IntPtr mkrt, IntPtr type, IntPtr tmpl);
374 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextDelete_RT")]
377 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextErrorCopy_RT")]
380 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextErrorFORMATP")]
381 internal static extern IntPtr MqContextErrorFORMAT (IntPtr fmtobj);
383 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextErrorMove_RT")]
386 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextGetBuffer_RT")]
389 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextGetNullP")]
390 internal static extern IntPtr MqContextGetNull ();
392 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextHandleGetP")]
395 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextHandleResolveP")]
398 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextInstancesP")]
401 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextLog_RT")]
402 internal static extern void MqContextLog (IntPtr mkrt, IntPtr ctx, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
404 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextLogConfig_RT")]
405 internal static extern void MqContextLogConfig (IntPtr mkrt, IntPtr ctx, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
407 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextLogEnv_RT")]
408 internal static extern void MqContextLogEnv (IntPtr mkrt, IntPtr ctx, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
410 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextLogLink_RT")]
411 internal static extern void MqContextLogLink (IntPtr mkrt, IntPtr ctx, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
413 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextLogSetup_RT")]
414 internal static extern void MqContextLogSetup (IntPtr mkrt, IntPtr ctx, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
416 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextLogShort_RT")]
417 internal static extern void MqContextLogShort (IntPtr mkrt, IntPtr ctx, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl, IntPtr label);
419 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextLogType_RT")]
420 internal static extern void MqContextLogType (IntPtr mkrt, IntPtr ctx, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
422 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextNextP")]
423 internal static extern IntPtr MqContextNext (IntPtr ctx);
425 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextPrevP")]
426 internal static extern IntPtr MqContextPrev (IntPtr ctx);
428 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqContextToString_RT")]
431 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqCsContextTypeCreate_RT")]
434 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqCsInit")]
437 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqCsSendHigh_RT")]
438 internal static extern MkErrorE MqCsSendHigh (IntPtr mkrt, IntPtr
mqctx, IntPtr cstr, IntPtr fCall, IntPtr objvH, Int32 objc, Int32 skipSHIFT, out IntPtr bfl_out, out Char highLastReturnListType_out, MqAtomSendF ats, MqAtomGetF atg,
MqServiceCallbackF fCallF,
MqDataFreeF fFreeF, IntPtr caller);
440 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqCsTypeUpdate_RT")]
441 internal static extern void MqCsTypeUpdate (IntPtr mkrt, MqCsTypeLookupE typeL,
MkSelfCreateF selfCTOR,
MkSelfUnlinkF selfUnlink);
443 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqCtxP")]
444 internal static extern IntPtr MqCtx (IntPtr mng);
446 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqCtxCheckP")]
447 internal static extern bool MqCtxCheck (IntPtr mng);
449 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqCtxCheckOP")]
450 internal static extern bool MqCtxCheckO (IntPtr obj);
452 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDmpP")]
453 internal static extern IntPtr MqDmp (IntPtr mng);
455 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDmpCheckP")]
456 internal static extern bool MqDmpCheck (IntPtr mng);
458 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDmpCheckOP")]
459 internal static extern bool MqDmpCheckO (IntPtr obj);
461 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDumpBinGet")]
462 internal static extern Mk.MkBinaryR MqDumpBinGet (IntPtr dump);
464 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDumpBinSet_RT")]
467 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDumpDelete_RT")]
468 internal static extern void MqDumpDelete (IntPtr mkrt, IntPtr dmp);
470 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDumpError_RT")]
471 internal static extern MkErrorE MqDumpError (IntPtr mkrt, IntPtr error, ref IntPtr dumpP_inout);
473 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDumpExport_RT")]
476 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDumpGetNullP")]
477 internal static extern IntPtr MqDumpGetNull ();
479 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDumpHandleGetP")]
480 internal static extern Int32
MqDumpHandleGet (IntPtr mkrt, IntPtr dmp);
482 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDumpHandleResolveP")]
485 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDumpImport_RT")]
488 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDumpInstancesP")]
491 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDumpLog_RT")]
492 internal static extern void MqDumpLog (IntPtr mkrt, IntPtr dmp, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
494 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDumpNextP")]
495 internal static extern IntPtr MqDumpNext (IntPtr dmp);
497 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDumpPrevP")]
498 internal static extern IntPtr MqDumpPrev (IntPtr dmp);
500 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDumpSizeGet")]
501 internal static extern long MqDumpSizeGet (IntPtr dump);
503 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqDumpTokenGet")]
504 internal static extern IntPtr MqDumpTokenGet (IntPtr dump);
506 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqEnvProtect_RT")]
507 internal static extern void MqEnvProtect (IntPtr mkrt, IntPtr ctx);
509 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqEnvRestore")]
510 internal static extern void MqEnvRestore (IntPtr ctx);
512 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqExit_RT")]
513 internal static extern Int32
MqExit (IntPtr mkrt, IntPtr ctx, IntPtr callfunc, IntPtr callfile, Int32 callline);
515 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryAdd_RT")]
516 internal static extern IntPtr
MqFactoryAdd (IntPtr mkrt, IntPtr error,
MqFactoryCTorF createCallF, IntPtr constructor,
MqFactoryDataFreeF createDataFreeF,
MqFactoryDataCopyF createDataCopyF,
MqFactoryDTorF deleteCallF, IntPtr destructor,
MqFactoryDataFreeF deleteDataFreeF,
MqFactoryDataCopyF deleteDataCopyF, IntPtr ident);
518 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryDefault_RT")]
521 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryDefaultIdent_RT")]
524 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryDelete_RT")]
527 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryDup2_RT")]
528 internal static extern IntPtr
MqFactoryDup2 (IntPtr mkrt, IntPtr fct, IntPtr ident);
530 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryFree_RT")]
531 internal static extern void MqFactoryFree (IntPtr mkrt, IntPtr fct);
533 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryGet_RT")]
534 internal static extern IntPtr
MqFactoryGet (IntPtr mkrt, IntPtr ident);
536 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryGetCalled_RT")]
539 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryGetCalledL_RT")]
542 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryGetNullP")]
543 internal static extern IntPtr MqFactoryGetNull ();
545 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryGetOriginalIdent")]
546 internal static extern IntPtr MqFactoryGetOriginalIdent (IntPtr fct);
548 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryHandleGetP")]
551 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryHandleResolveP")]
554 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryInitial_RT")]
557 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryInitialIdent_RT")]
560 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryInstancesP")]
563 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryItemGetCreateData")]
564 internal static extern IntPtr MqFactoryItemGetCreateData (IntPtr fct);
566 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryLog_RT")]
567 internal static extern void MqFactoryLog (IntPtr mkrt, IntPtr fct, IntPtr fmtobj, Int32 debug, IntPtr callfunc, Int32 lvl);
569 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryLogAll_RT")]
570 internal static extern void MqFactoryLogAll (IntPtr mkrt, IntPtr callfunc);
572 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryNew_RT")]
573 internal static extern MkErrorE MqFactoryNew (IntPtr mkrt, IntPtr fct, IntPtr tmpl, out IntPtr val_out);
575 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryNextP")]
576 internal static extern IntPtr MqFactoryNext (IntPtr fct);
578 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFactoryPrevP")]
579 internal static extern IntPtr MqFactoryPrev (IntPtr fct);
581 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFctP")]
582 internal static extern IntPtr MqFct (IntPtr mng);
584 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFctCheckP")]
585 internal static extern bool MqFctCheck (IntPtr mng);
587 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqFctCheckOP")]
588 internal static extern bool MqFctCheckO (IntPtr obj);
590 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqGetRootP")]
591 internal static extern IntPtr MqGetRoot (IntPtr ctx);
593 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqHelp")]
594 internal static extern IntPtr MqHelp (IntPtr tool);
596 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqHelpMsgque")]
597 internal static extern IntPtr MqHelpMsgque ();
599 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqIdentE_FromInt")]
600 internal static extern MkErrorE MqIdentE_FromInt (Int32 value, out
MqIdentE value_out);
602 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqIdentE_ToIntP")]
603 internal static extern Int32 MqIdentE_ToInt (
MqIdentE value);
605 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqIdentE_ToString")]
606 internal static extern IntPtr MqIdentE_ToString (
MqIdentE value);
608 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqInitGetArg0")]
609 internal static extern IntPtr MqInitGetArg0 ();
611 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqInitResetArg0")]
612 internal static extern IntPtr MqInitResetArg0 ();
614 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqInitSetArg0")]
615 internal static extern void MqInitSetArg0 (IntPtr bfl);
617 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqLinkConnect_RT")]
620 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqLinkCreate_RT")]
623 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqLinkCreateChild_RT")]
626 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqLinkDefault_RT")]
629 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqLinkDelete_RT")]
630 internal static extern void MqLinkDelete (IntPtr mkrt, IntPtr ctx);
632 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqLinkGetCtxIdP")]
633 internal static extern Int32 MqLinkGetCtxId (IntPtr ctx);
635 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqLinkGetParentP")]
636 internal static extern IntPtr MqLinkGetParent (IntPtr ctx);
638 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqLinkGetTargetIdentP")]
639 internal static extern IntPtr MqLinkGetTargetIdent (IntPtr ctx);
641 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqLinkIsConnected")]
642 internal static extern bool MqLinkIsConnected (IntPtr ctx);
644 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqLinkIsParentP")]
645 internal static extern bool MqLinkIsParent (IntPtr ctx);
647 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqLinkShutdown_RT")]
650 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqLogParentOrChildP")]
651 internal static extern IntPtr MqLogParentOrChild (IntPtr ctx);
653 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqLogServerOrClientP")]
654 internal static extern IntPtr MqLogServerOrClient (IntPtr ctx);
656 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqMain")]
657 internal static extern void MqMain (IntPtr code);
659 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqProcessEvent_RT")]
662 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqProxyForward_RT")]
663 internal static extern MkErrorE MqProxyForward (IntPtr mkrt, IntPtr sourceCtx, IntPtr targetCtx, IntPtr dump,
long timeout);
665 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqProxyItem_RT")]
666 internal static extern MkErrorE MqProxyItem (IntPtr mkrt, IntPtr sourceCtx, IntPtr targetCtx);
668 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadALL_RT")]
669 internal static extern MkErrorE MqReadALL (IntPtr mkrt, IntPtr ctx, ref IntPtr val_inout);
671 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadBFL_RT")]
672 internal static extern MkErrorE MqReadBFL (IntPtr mkrt, IntPtr ctx, out IntPtr val_out);
674 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadBIN_RT")]
677 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadBOL_RT")]
678 internal static extern MkErrorE MqReadBOL (IntPtr mkrt, IntPtr ctx, out Byte val_out);
680 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadBUF_RT")]
681 internal static extern MkErrorE MqReadBUF (IntPtr mkrt, IntPtr ctx, out IntPtr val_out);
683 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadBinaryR_RT")]
686 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadDBL_RT")]
687 internal static extern MkErrorE MqReadDBL (IntPtr mkrt, IntPtr ctx, out Double val_out);
689 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadDbg_RT")]
690 internal static extern void MqReadDbg (IntPtr mkrt, IntPtr ctx);
692 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadFLT_RT")]
693 internal static extern MkErrorE MqReadFLT (IntPtr mkrt, IntPtr ctx, out Single val_out);
695 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadGetNextType")]
696 internal static extern MkTypeE MqReadGetNextType (IntPtr ctx);
698 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadGetNumItems")]
699 internal static extern Int32 MqReadGetNumItems (IntPtr ctx);
701 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadHDL_RT")]
702 internal static extern MkErrorE MqReadHDL (IntPtr mkrt, IntPtr ctx, out Int32 val_out);
704 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadI16_RT")]
705 internal static extern MkErrorE MqReadI16 (IntPtr mkrt, IntPtr ctx, out Int16 val_out);
707 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadI32_RT")]
708 internal static extern MkErrorE MqReadI32 (IntPtr mkrt, IntPtr ctx, out Int32 val_out);
710 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadI64_RT")]
711 internal static extern MkErrorE MqReadI64 (IntPtr mkrt, IntPtr ctx, out Int64 val_out);
713 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadI8_RT")]
714 internal static extern MkErrorE MqReadI8 (IntPtr mkrt, IntPtr ctx, out Byte val_out);
716 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadItemExists")]
717 internal static extern bool MqReadItemExists (IntPtr ctx);
719 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadLIST_RT")]
720 internal static extern MkErrorE MqReadLIST (IntPtr mkrt, IntPtr ctx, out IntPtr val_out);
722 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadLONG_RT")]
723 internal static extern MkErrorE MqReadLONG (IntPtr mkrt, IntPtr ctx, out
long val_out);
725 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadL_END_RT")]
728 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadL_START_RT")]
731 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadNEXT_RT")]
732 internal static extern MkErrorE MqReadNEXT (IntPtr mkrt, IntPtr ctx, out IntPtr val_out);
734 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadSTR_RT")]
735 internal static extern MkErrorE MqReadSTR (IntPtr mkrt, IntPtr ctx, out IntPtr val_out);
737 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadStringR_RT")]
740 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadT_END_RT")]
743 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadT_START_RT")]
746 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqReadUndo_RT")]
749 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqRouteCreate_RT")]
750 internal static extern MkErrorE MqRouteCreate (IntPtr mkrt, IntPtr ctx, IntPtr route, IntPtr service,
bool overwrite);
752 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqRouteDelete_RT")]
753 internal static extern MkErrorE MqRouteDelete (IntPtr mkrt, IntPtr ctx, IntPtr route, IntPtr service,
bool overwrite);
755 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqRouteGetPath_RT")]
758 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqRouteGetTree_RT")]
761 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqRouteResolve_RT")]
764 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqRouteTraverse_RT")]
767 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendBFL_RT")]
770 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendBIN_RT")]
773 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendBOL_RT")]
776 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendBUF_RT")]
779 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendBUS_FLAT_RT")]
782 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendBinaryRP")]
785 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendDBL_RT")]
788 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendEND_RT")]
789 internal static extern MkErrorE MqSendEND (IntPtr mkrt, IntPtr ctx, IntPtr token,
long timeout);
791 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendEND_AND_CALLBACK_RT")]
794 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendEND_AND_SUB_RT")]
797 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendEND_AND_TRANSACTION_RT")]
800 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendEND_AND_WAIT_RT")]
803 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendERROR_RT")]
806 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendFLT_RT")]
809 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendHDL_RT")]
812 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendI16_RT")]
815 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendI32_RT")]
818 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendI64_RT")]
821 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendI8_RT")]
822 internal static extern MkErrorE MqSendI8 (IntPtr mkrt, IntPtr ctx, Byte val);
824 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendLONG_RT")]
827 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendLTR_RT")]
828 internal static extern MkErrorE MqSendLTR (IntPtr mkrt, IntPtr ctx, Int32 transLId);
830 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendL_END_RT")]
833 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendL_FLAT_RT")]
836 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendL_START_RT")]
839 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendRETURN_RT")]
842 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendRETURN_SUB_RT")]
845 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendSTART_RT")]
848 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendSTR_RT")]
851 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendSYNC_RT")]
854 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendStringR_RT")]
857 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendT_END_RT")]
860 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSendT_START_RT")]
863 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqServiceCreate_RT")]
866 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqServiceDelete_RT")]
869 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqServiceIsTransactionP")]
870 internal static extern bool MqServiceIsTransaction (IntPtr ctx);
872 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqServiceProxy_RT")]
875 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqServiceProxyCtx_RT")]
878 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqServiceProxyCtxExists")]
879 internal static extern bool MqServiceProxyCtxExists (IntPtr ctx, IntPtr token, IntPtr target);
881 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqServiceProxyRoundRobin_RT")]
884 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqServiceStorage_RT")]
887 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqServiceTokenCheck")]
888 internal static extern bool MqServiceTokenCheck (IntPtr ctx, IntPtr token);
890 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqServiceTokenExists")]
891 internal static extern bool MqServiceTokenExists (IntPtr ctx, IntPtr token);
893 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqServiceTokenGet")]
894 internal static extern IntPtr MqServiceTokenGet (IntPtr ctx);
896 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSetup")]
897 internal static extern void MqSetup ();
899 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSetupDup_RT")]
900 internal static extern void MqSetupDup (IntPtr mkrt, IntPtr to, IntPtr from);
902 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSlaveCheckP")]
903 internal static extern bool MqSlaveCheck (IntPtr ctx, Int32
id);
905 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSlaveCreate_RT")]
908 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSlaveDelete_RT")]
911 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSlaveE_FromInt")]
912 internal static extern MkErrorE MqSlaveE_FromInt (Int32 value, out
MqSlaveE value_out);
914 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSlaveE_ToIntP")]
915 internal static extern Int32 MqSlaveE_ToInt (
MqSlaveE value);
917 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSlaveE_ToString")]
918 internal static extern IntPtr MqSlaveE_ToString (
MqSlaveE value);
920 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSlaveGet_RT")]
921 internal static extern MkErrorE MqSlaveGet (IntPtr mkrt, IntPtr ctx, Int32
id, out IntPtr ctx_out);
923 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSlaveGetFilter_RT")]
926 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSlaveGetMasterP")]
927 internal static extern IntPtr MqSlaveGetMaster (IntPtr ctx);
929 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSlaveGetProxy_RT")]
932 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSlaveIsP")]
933 internal static extern bool MqSlaveIs (IntPtr ctx);
935 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSlaveWorker_RT")]
936 internal static extern MkErrorE MqSlaveWorker (IntPtr mkrt, IntPtr ctx, Int32
id, IntPtr fct, IntPtr args);
938 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStartE_FromInt")]
939 internal static extern MkErrorE MqStartE_FromInt (Int32 value, out
MqStartE value_out);
941 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStartE_ToIntP")]
942 internal static extern Int32 MqStartE_ToInt (
MqStartE value);
944 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStartE_ToString")]
945 internal static extern IntPtr MqStartE_ToString (
MqStartE value);
947 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStatusIsEF_FromInt")]
950 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStatusIsEF_ToIntP")]
951 internal static extern Int32 MqStatusIsEF_ToInt (
MqStatusIsEF value);
953 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStatusIsEF_ToString")]
954 internal static extern IntPtr MqStatusIsEF_ToString (
MqStatusIsEF value);
956 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStorageClose_RT")]
959 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStorageCount_RT")]
962 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStorageDecrRef_RT")]
965 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStorageDelete_RT")]
968 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStorageErrCnt_RT")]
971 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStorageExport_RT")]
974 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStorageImport_RT")]
977 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStorageIncrRef_RT")]
980 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStorageLog_RT")]
983 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStorageOpen_RT")]
986 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqStorageResolve_RT")]
987 internal static extern MkErrorE MqStorageResolve (IntPtr mkrt, IntPtr ctx, out IntPtr otherCtxP_out, out Int32 otherLIdP_out);
989 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqSysServerThreadMain")]
990 internal static extern void MqSysServerThreadMain (IntPtr data);
992 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqWaitOnEventE_FromInt")]
995 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqWaitOnEventE_ToIntP")]
996 internal static extern Int32 MqWaitOnEventE_ToInt (
MqWaitOnEventE value);
998 [DllImport(MqSetupC.DLL, CallingConvention=MqSetupC.CC, CharSet=MqSetupC.CS, EntryPoint =
"MqWaitOnEventE_ToString")]
999 internal static extern IntPtr MqWaitOnEventE_ToString (
MqWaitOnEventE value);
1006 if (IntPtr.Size != 8) {
1007 throw new PlatformNotSupportedException($
"word-size-error: expect '8' but got '{IntPtr.Size}'");