A
A
Alexander Smagin2021-06-10 11:46:21
C++ / C#
Alexander Smagin, 2021-06-10 11:46:21

What does this function signature mean?

The header file contains the following entry
_CMDIMP long int _CMDAPI InitUserDll()
{
// user code
return 1;
}

Tell me what does _CMDIMP and _CMDAPI mean or what are they for a function? Or how to google it properly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2021-06-10
@Paxorin

These are some macros. In normal IDEs, you can poke into something incomprehensible and do Go To Definition and see what it is.
Such macros usually appear in all sorts of cross-platform gizmos with dynamic linking - when you need to take into account the features of different compilers and operating systems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question