IShellImageStore::Open method (shlobj.h)
[IShellImageStore is supported through Windows XP. It is not supported in later operating systems.]
Opens the store and returns a lock.
Syntax
HRESULT Open(
DWORD dwMode,
[out] DWORD *pdwLock
);
Parameters
dwMode
Type: DWORD
The storage instantiation mode specified by one of the STGM values.
[out] pdwLock
Type: DWORD*
A pointer to a variable of type DWORD that receives the lock.
Return value
Type: HRESULT
If the process is successful, the method returns the result of StgOpenStorage. Otherwise, it returns one of the following values:
Return code | Description |
---|---|
|
The storage is already open with the instantiation mode specified by dwMode. |
|
An unexpected error occurred. For example, store path is not initialized. |
|
You do not have access to open the storage with the permissions specified by dwMode. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | shlobj.h |
DLL | Shell32.dll (version 5.0 or later) |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για