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.
Links in a resource.
Syntax
HRESULT LinkResource(
mdAssembly AssemblyID,
LPCWSTR pszFileName,
LPCWSTR pszNewLocation,
LPCWSTR pszResourceName,
DWORD dwFlags
) PURE;
Parameters
AssemblyID
ID of the assembly.
pszFileName
Name of the file.
pszNewLocation
Optional new file name. If non-NULL, pszFileName will be copied to pszNewLocation.
pszResourceName
Name of the resource.
dwFlags
Accessibility flags such as mrPublic and mrPrivate. This parameter may be passed to DefineManifestResource Method.
Return Value
Returns S_OK if the method succeeds.
Requirements
Requires alink.h.