D3DXF_FILELOADRESOURCE structure

Identifies resource data.

Syntax

typedef struct D3DXF_FILELOADRESOURCE {
  HMODULE hModule;
  LPCSTR  lpName;
  LPCSTR  lpType;
} D3DXF_FILELOADRESOURCE, *LPD3DXF_FILELOADRESOURCE;

Members

hModule

Type: HMODULE

Handle of the module containing the resource to be loaded. If this member is NULL, the resource must be attached to the executable file that will use it.

lpName

Type: LPCSTR

Pointer to a string specifying the name of the resource to be loaded. For example, if the resource is a mesh, this member should specify the name of the mesh file.

lpType

Type: LPCSTR

Pointer to a string specifying the user-defined type identifying the resource.

Remarks

This structure identifies a resource to be loaded when an application uses the CreateEnumObject method and specifies the D3DXF_FILELOAD_FROMRESOURCE flag.

Requirements

Requirement Value
Header
D3dx9xof.h

See also

D3DX X File Structures