CreateFile

This function entry is part of a MAPI-specific list of Win32 functions. For a complete description, see Win32 Functions.

HANDLE CreateFile(
  LPCTSTR lpszName,         
  DWORD fdwAccess,          
  DWORD fdwShareMode,       
  LPSECURITY_ATTRIBUTES lpsa,   
  DWORD fdwCreate,          
  DWORD fdwAttrsAndFlags,   
  HANDLE hTemplateFile      
)
 

Limitations

Several differences from ordinary Win32 usage occur when using the MAPI version of the CreateFile function: