Share via


CoStartOutlookExpress function

Do not use. Starts Microsoft Outlook Express.

Syntax

HRESULT CoStartOutlookExpress(
  _In_ DWORD  dwFlags,
  _In_ LPCSTR pszCmdLine,
  _In_ INT    nCmdShow
);

Parameters

dwFlags [in]

Type: DWORD

Flags used in start.

MSOEAPI_START_SHOWSPLASH (0x00000001)

MSOEAPI_START_MESSAGEPUMP (0x00000002)

MSOEAPI_START_ALLOWCOMPACTION (0x00000004)

MSOEAPI_START_INSTANCEMUTEX (0x00000008)

MSOEAPI_START_SHOWERRORS (0x00000010)

MSOEAPI_START_APPWINDOW (0x00000020)

MSOEAPI_START_DEFAULTIDENTITY (0x00000040)

pszCmdLine [in]

Type: LPCSTR

Command line switches. When this parameter is not NULL, then the launch of the application will not show a splash screen even if you have set dwFlags to MSOEAPI_START_SHOWSPLASH.

nCmdShow [in]

Type: INT

Flag that specifies how to display the Outlook Express window. To run the application in the background with no UI, use SW_HIDE.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Msoeapi.h
DLL
Msoe.dll