CreateWindows

CreateWindows

int CreateWindows()
{

    cout << endl;
    cout << "调用 CreateWindows" << endl;

    //unsigned short const *
    //struct Windows::Rtl::IRtlDirectory *
    //struct _OFFLINE_STORE_CREATION_PARAMETERS *
    //class Windows::WCP::COM::CRegistryKeys *
    //unsigned long

    int pfb = 0x101249BB;
    int pfn = (int)phWCP - 0x10000000 + pfb;

    typedef int(__fastcall * fnCreateWindows)(char *, int*, int*, int*, int);

    fnCreateWindows g_fnCreateWindows;
    g_fnCreateWindows = (fnCreateWindows)pfn;


    g_fnCreateWindows = (fnCreateWindows)pfn;
    int result = -1;

    char* a = "d:\\temp\\";
    int b = 0;
    int c = 0;
    int d = 0;
    int e = 0;



    result = g_fnCreateWindows(a, &b, &c, &d, e);
    cout << "result:" << result << endl;

    cout << "调用 CreateWindows 结束" << endl;;
    cout << endl;;

    return result;
}


2562A60: using guessed type int g_LUNICODE_STRING__bslash_Windows[2];
25E02AD: using guessed type _DWORD __stdcall Windows::ErrorHandling::COM::CBaseFrame<Windows::ErrorHandling::COM::CVoidRaiseFrame>::ReportErrorPropagation(_DWORD);
25E02B9: using guessed type int Windows::ErrorHandling::COM::CBaseFrame<Windows::ErrorHandling::COM::CSimpleHResultCarryingFrame>::SetInvalidParameter(void);
25E1DA7: using guessed type int __thiscall Windows::ErrorHandling::Rtl::CBaseFrame<Windows::ErrorHandling::Rtl::CVoidRaiseFrame>::SetCanonicalSuccess(_DWORD);
25E3AA2: using guessed type int __stdcall Windows::ErrorHandling::COM::CBaseFrame<Windows::ErrorHandling::COM::CSimpleHResultCarryingFrame>::ReportErrorOrigination(_DWORD);
2608D56: using guessed type int __thiscall `anonymous namespace'::RemoveTrailingSlash(_DWORD);
2671F8A: using guessed type int __fastcall `anonymous namespace'::CreateImportantFiles(_DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD);
26726A6: using guessed type _DWORD __stdcall `anonymous namespace'::CreateImportantRegKeys(_DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD);
267D260: using guessed type int __fastcall RtlAppendLUnicodeStringToLUnicodeString(_DWORD, _DWORD);
267D810: using guessed type int __fastcall RtlDuplicateNullTerminatedStringToLUnicodeString(_DWORD, _DWORD);
278A7AF: using guessed type _DWORD __stdcall Windows::WCP::Implementation::Rtl::PrivilegeAcquisition::Acquire(_DWORD);
2674A56: using existing software breakpoint as temporary breakpoint
2674A67: using existing software breakpoint as temporary breakpoint
25E3ABA: using guessed type _DWORD __stdcall Windows::ErrorHandling::Rtl::CBaseFrame<Windows::ErrorHandling::Rtl::CVoidRaiseFrame>::ReportErrorOrigination(_DWORD);
2631135: using guessed type int __thiscall Windows::Rtl::AutoHandleBase<Windows::Rtl::AutoHandleDefaultTraits<void *>,Windows::Rtl::AutoFileHandle>::Close(_DWORD);
Flushing buffers, please wait...ok
25E3ABA: using guessed type _DWORD __stdcall Windows::ErrorHandling::Rtl::CBaseFrame<Windows::ErrorHandling::Rtl::CVoidRaiseFrame>::ReportErrorOrigination(_DWORD);
PDBSRC: loading symbols for 'E:\FSharp\CallWCP\Debug\CallWCP.exe'...
PDB: using load address B30000
Debugger: process has exited (exit code -1)
25DF27D: using guessed type int __thiscall Windows::AutoPODBase<_LUNICODE_STRING,Windows::Auto<_LUNICODE_STRING>>::Close(_DWORD);
25E02AD: using guessed type _DWORD __stdcall Windows::ErrorHandling::COM::CBaseFrame<Windows::ErrorHandling::COM::CVoidRaiseFrame>::ReportErrorPropagation(_DWORD);
25E02C0: using guessed type int __thiscall Windows::ErrorHandling::COM::CBaseFrame<Windows::ErrorHandling::COM::CSimpleHResultCarryingFrame>::SetInvalidParameter_NullPointer(_DWORD);
25E3AA2: using guessed type int __thiscall Windows::ErrorHandling::COM::CBaseFrame<Windows::ErrorHandling::COM::CSimpleHResultCarryingFrame>::ReportErrorOrigination(_DWORD, _DWORD);
25E5886: using guessed type int __thiscall Windows::WCP::Rtl::CEnterExitTracer<Windows::ErrorHandling::COM::CSimpleHResultCarryingFrame,4>::~CEnterExitTracer<Windows::ErrorHandling::COM::CSimpleHResultCarryingFrame,4>(_DWORD);
25E5998: using guessed type _DWORD __cdecl Windows::WCP::Rtl::CEnterExitTracer<Windows::ErrorHandling::COM::CSimpleHResultCarryingFrame,4>::Arm(_DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, char);
25E5B3D: using guessed type int __thiscall Windows::Rtl::AutoBlob<Windows::Auto<_LBLOB>>::Close(_DWORD);
25E5E19: using guessed type int __fastcall ParseManifestFromXML(_DWORD, _DWORD, _DWORD, _DWORD, _DWORD);
261DB71: using guessed type int __thiscall Windows::WCP::Rtl::CEnterExitTracer<Windows::ErrorHandling::COM::CSimpleHResultCarryingFrame,6>::ShouldArm(_DWORD);
2641410: using guessed type _DWORD __stdcall RtlGetSystem(_DWORD);
27385AE: using guessed type int __fastcall Windows::COM::ConvertPathIn(_DWORD, _DWORD);
27671D7: using guessed type int __thiscall Windows::AutoPointerBase<Windows::Cdf::Rtl::IRtlCdfStringTableEnumerator *,Windows::Auto<Windows::Cdf::Rtl::IRtlCdfStringTableEnumerator *>>::Close(_DWORD);
27D05E8: using guessed type int (__thiscall *__guard_check_icall_fptr)(_DWORD);
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值