Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Loads a list of strings into the most recently used (MRU) list from the registry.
Syntax
HRESULT Initialize(
[in] LPCWSTR pwszMRURegKey,
[in] DWORD dwMax
);
Parameters
-
pwszMRURegKey [in]
-
Type: LPCWSTR
A pointer to a buffer containing the registry key holding the strings for the MRU list.
-
dwMax [in]
-
Type: DWORD
The maximum number of entries that can be taken from pwszMRURegKey.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows XP [desktop apps only] |
| Minimum supported server |
Windows Server 2003 [desktop apps only] |