Compartilhar via


CoInitialize

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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