Searches for and retrieves file or protocol association-related binary data from the registry.
HRESULT GetData( ASSOCF flags, ASSOCDATA data, LPCWSTR pszExtra, void *pvOut, DWORD *pcbOut );
The ASSOCF value that can be used to control the search.
The ASSOCDATA value that specifies the type of data that is to be returned.
A pointer to an optional, null-terminated Unicode string with information about the location of the data. It is normally set to a Shell verb such as open. Set this parameter to NULL if it is not used.
A pointer to a value that, when this method returns successfully, receives the requested data value.
A pointer to a value that, when this method is called, holds the size of pvOut, in bytes. When this method returns successfully, the value contains the size of the data actually retrieved.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
|Minimum supported client||Windows 2000 Professional, Windows XP [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|DLL||Shell32.dll (version 5.0 or later)|