hmmio (HMMIO) - returns
NULL is returned if the file cannot be opened. See the exception for the preceding ulOpenFlags parameter flag MMIO_DELETE. If the pmmioinfo parameter is not NULL, the ulErrorRet field of its MMIOINFO structure will contain extended error information returned by the I/O procedure. If delete fails, ulErrorRet contains MMIOERR_DELETE_FAILED. The error return can also be queried by calling the mmioGetLastError function. See Return Codes for a description of MMIO Manager error codes.