Partager via


CoInitialize (Windows Embedded CE 6.0)

1/6/2010

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