码迷,mamicode.com
首页 >  
搜索关键字:entrypoint    ( 158个结果
sendMessage
[DllImport("user32.dll", EntryPoint="SendMessageA")] private static extern int SendMessage(IntPtr hwnd, uint wMsg, uint wParam, uint lParam); ...
分类:其他好文   时间:2014-07-13 09:47:54    阅读次数:196
C#:获取设备电量相关信息
[DllImport("kernel32.dll",EntryPoint="GetSystemPowerStatus")] //win32 api private static extern void GetSystemPowerStatus(ref SYSTEM_POWER_...
分类:其他好文   时间:2014-07-01 19:39:50    阅读次数:162
ContextImpl简单解析
ContextImpl是对Context的一个具体实现类,关键方法如下 1 static class ServiceFetcher { 2 int mContextCacheIndex = -1; 3 /** 4 * Main entrypoint;...
分类:其他好文   时间:2014-06-25 22:17:41    阅读次数:505
DllImport中的EntryPoint
工作中常常会使用到C#的应用来调用C++中的底层函数,此时就须要使用到DllImport,而DllImport中有一个EntryPoint(入口点),非常多文章都没有说明这个值怎样进行获取的,详细获取方式例如以下, 1、安装vc6.0; 2、使用vc6.0中带的工具dependency工具, 3、....
分类:其他好文   时间:2014-06-25 15:49:25    阅读次数:470
exec php
$m = memory_get_usage();echo $m;require_once('include/entryPoint.php');// for ($i=0; $i < 500000; $i++){// $rliBean[] = BeanFactory::newBean('ibm_Reve...
分类:Web程序   时间:2014-06-22 23:13:20    阅读次数:294
C#:使用Window自带函数(如:user32.dll)
[DllImport("user32.dll", EntryPoint = "GetScrollInfo", CallingConvention = CallingConvention.StdCall)] public static extern bool GetScr...
分类:Windows程序   时间:2014-06-12 11:59:40    阅读次数:411
C#播放音效(web/winform)
[System.Runtime.InteropServices.DllImport("winmm.DLL", EntryPoint = "PlaySound", SetLastError = true)] private static extern bool PlaySound(string sz....
分类:Windows程序   时间:2014-05-19 09:01:59    阅读次数:362
158条   上一页 1 ... 14 15 16
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!