私は3つの関数をエクスポートするdllを持っています:
.h ファイル
extern "C"
{
__declspec(dllexport) BOOLEAN __stdcall InitializeChangeNotify(void);
__declspec(dllexport) BOOLEAN __stdcall PasswordFilter(LPCWSTR AccountName,LPCWSTR FullName,LPCWSTR Password,BOOLEAN SetOperation);
__declspec(dllexport) NTSTATUS __stdcall PasswordChangeNotify(LPCWSTR UserName,ULONG RelativeId,LPCWSTR NewPassword);
}
.c ファイル
extern "C"
{
__declspec(dllexport) BOOLEAN __stdcall InitializeChangeNotify(void)
{
writeToLog("InitializeChangeNotify()");
return TRUE;
}
__declspec(dllexport) BOOLEAN __stdcall PasswordFilter(LPCWSTR AccountName,LPCWSTR FullName,LPCWSTR Password,BOOLEAN SetOperation)
{
writeToLog("PasswordFilter()");
return TRUE;
}
__declspec(dllexport) NTSTATUS __stdcall PasswordChangeNotify(LPCWSTR UserName,ULONG RelativeId,LPCWSTR NewPassword)
{
writeToLog("PasswordChangeNotify()");
return 0;
}
}
私はVS 2010でコンパイルします。
関数名は次のように依存しています: _InitializeChangeNotify@0, _PasswordChangeNotify@12
. 関数を分解するにはどうすればよいですか?