הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
Determines the portable executable type, either machine-specific or machine-agnostic.
Syntax
HRESULT SetPEKind(
mdAssembly AssemblyID,
mdToken FileToken,
DWORD dwPEKind,
DWORD dwMachine
) PURE;
Parameters
AssemblyID
ID of the assembly.
FileToken
Token of file for which the PE type is to be set. Can be NULL if AssemblyID does not indicate an unbound netmodule.
dwPEKind
The type of PE, as indicated by the CorPEKind Enumeration.
dwMachine
The target machine architecture, as indicated in the NT header.
Return Value
Returns S_OK if the method succeeds.
Requirements
Requires alink.h.
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.