The purpose of this module is just to document the procedures added by the addLoadProc() template.
This module must not be imported!
Procs
proc mKeepLoaded(): bool {.inline, ...raises: [], tags: [].}
- Returns true if mIRC will keep the dll loaded after the call. If it returns false mIRC will unload the dll after the call. Source Edit
proc mMainWindowHandle(): HWND {.inline, ...raises: [], tags: [].}
- Returns a HWND for the identifier of the main window of mIRC. The HWND type is an alias for int. Source Edit
proc mRawVersion(): uint32 {.inline, ...raises: [], tags: [].}
-
Returns a uint32 with the raw version passed by mIRC, in the mVersion field, of the LoadInfo object, when loading the dll.
It is recommended to use the mMajor() and mMinor().
Source Edit proc mToCStringAndCopy(dest: pointer | cstring; source: string) {.inline.}
- Transforms source to cstring and copies it to dest up to the byte limit of mMaxBytes(). Source Edit
proc mToWideCStringAndCopy(dest: pointer | WideCString; source: string)
- Transforms source into WideCString and copies it to dest up to the byte limit of mMaxBytes(). Source Edit