Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an enumerator object. Deprecated.
Syntax
HRESULT CreateEnumObject(
[in] LPVOID pvSource,
[in] DXFILELOADOPTIONS dwLoadOptions,
[out, retval] LPDIRECTXFILEENUMOBJECT *ppEnumObj
);
Parameters
-
pvSource [in]
-
Type: LPVOID
Pointer to data whose contents depend on the value of dwLoadOptions
-
dwLoadOptions [in]
-
Type: DXFILELOADOPTIONS
Value that specifies the source of the data. This value can be one of the DXFILELOAD_xxx flags in DXFILE Constants.
-
ppEnumObj [out, retval]
-
Type: LPDIRECTXFILEENUMOBJECT*
Address of a pointer to an IDirectXFileEnumObject interface, representing the created enumerator object.
Return value
Type: HRESULT
If the method succeeds, the return value is DXFILE_OK. If the method fails, the return value can be one of the following: DXFILEERR_BADALLOC, DXFILEERR_BADFILEFLOATSIZE, DXFILEERR_BADFILETYPE, DXFILEERR_BADFILEVERSION, DXFILEERR_BADRESOURCE, DXFILEERR_BADVALUE, DXFILEERR_FILENOTFOUND, DXFILEERR_RESOURCENOTFOUND, DXFILEERR_URLNOTFOUND.
Remarks
After using this method, use one of the IDirectXFileEnumObject methods to retrieve a data object.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also