IACLCustomMRU::Initialize method
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
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Show: