Share via


CoInitialize (Compact 2013)

3/26/2014

This function is not supported. Instead, your application should call CoInitializeEx using the COINIT_MULTITHREADED constant in the second parameter, like this:

CoInitializeEx(x, COINIT_MULTITHREADED);

If your application uses calls to CoInitialize, you can use a #define directive to map CoInitialize to CoInitializeEx, like this:

#define CoInitialize(x)     CoInitializeEx(x, COINIT_MULTITHREADED)

See Also

Reference

COM Functions
CoInitializeEx