OpenStore

This function opens the storage volume.

HANDLE OpenStore(
  LPCSTR szDeviceName
);

Parameters

  • szDeviceName
    [in] Name of the device. Example DSK1:.

Return Values

Returns a handle to the store or INVALID_HANDLE_VALUE if the open failed.

The error code is ERROR_DEVICE_NOT_AVAILABLE.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Storemgr.h.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.