⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 charttypelib.odl

📁 枕善居汉化的stockchart股软 描 述:实时股票图表曲线示例 Ver 1.0 网 站:http://www.mndsoft.com/ e-mail :mndsoft@163.com 最新的
💻 ODL
📖 第 1 页 / 共 3 页
字号:
    ]
    LONG   SetROP2(LONG hdc, LONG fnDrawMode);

[
    usesgetlasterror,
    entry("GetTextExtentPoint32A"),
    helpstring("Computes the width and height of the specified string of text"),
    ]
    BOOL  GetTextExtentPoint32(LONG hdc, LPSTR lpString, 
									    LONG cbString, SIZEL * lpSize);


[
    usesgetlasterror,
    entry("SetGraphicsMode"),
    helpstring("Sets the graphics mode for the specified device context"),
    ]
    LONG    SetGraphicsMode(LONG hdc, LONG iMode);

[
    usesgetlasterror,
    entry("Rectangle"),
    helpstring("Draws rectangle around given points with current pen filled with current brush"),
    ]
    BOOL    Rectangle(LONG hdc,
                            LONG X1, LONG Y1,
							LONG X2, LONG Y2);

[
    usesgetlasterror,
    entry("Ellipse"),
    helpstring("Draws ellipse bounded by given points with current pen and filled with current brush"),
    ]
    BOOL    Ellipse(LONG hdc,
                           LONG X1, LONG Y1,
                           LONG X2, LONG Y2);

[
    usesgetlasterror,
    entry("CreatePen"),
    helpstring("Creates a logical pen that has the specified style, width, and color"),
    ]
    LONG CreatePen(LONG fnPenStyle, LONG nWidth, LONG crColor);

[
    usesgetlasterror,
    entry("CreateCompatibleDC"),
    helpstring("Creates a memory DC compatible with a given DC"),
    ]
    LONG  CreateCompatibleDC(LONG hdc);

[
    usesgetlasterror,
    entry("CreateDIBSection"),
    helpstring("Creates a device-independent bitmap (DIB) that applications can write to directly"),
    ]
    LONG CreateDIBSection(LONG hdc, 
                            BITMAPINFO * pBitmapInfo,
							LONG iUsage,	
							LONG lplpVoid,	
							LONG hHandle,
							LONG dwOffset);

[
    usesgetlasterror,
    entry("StretchBlt"),
    helpstring("Combines select brush and destination pattern on DC according to ROP mode while changing size"),
    ]
    BOOL  StretchBlt(LONG hdcDest,
                       LONG nXOriginDest, LONG nYOriginDest,
                       LONG bWidthDest, LONG nHeightDest,
                       LONG hdcSrc,
                       LONG nXOriginSrc, LONG nYOriginSrc,
                       LONG nWidthSrc, LONG nHeightSrc,
                       LONG dwRop);

[
    usesgetlasterror,
    entry("GetDIBits"),
    helpstring("Retrieves the bits of the specified bitmap and copies them into a buffer using the specified format"),
    ]
    LONG   GetDIBits(LONG hdc, 
				   LONG hbm, 
				   LONG uStartScan, 
				   LONG cScanLines, 
                   LPVOID lpvBits,
                   BITMAPINFO * lpbi,
				   LONG uUsage);


[
    usesgetlasterror,
    entry("DeleteObject"),
    helpstring("Deletes a given GDI object"),
    ]
    BOOL   DeleteObject(LONG hgdiobj);

[
    usesgetlasterror,
    entry("DeleteDC"),
    helpstring("Deletes a given DC"),
    ]
    BOOL  DeleteDC(LONG hdc);

//	[helpstring("gdi32 Declare GetTextMetrics "), entry("GetTextMetricsA")]  LONG
//	GetTextMetrics(
//		[in] LONG   hDC, 
//		[in,out] TEXTMETRIC  *lpMetrics);




////template/////       [helpstring("gdi32 Declare  "), entry("SetWindowRgn")]  LONG
	};

///////////////////////////////////////////////////////////////////////
      [dllname("kernel32.dll")]

      module kernel32Declare

       {


[
    usesgetlasterror,
    entry("lstrcatA"),
    helpstring("Joins 2 strings"),
    ]
    LONG  lstrcat(LPSTR lpString1, LPSTR lpString2);


[
    usesgetlasterror,
    entry("CreateFileA"),
    helpstring("Creates or opens a file, pipe, communications resource, disk device, console, or directory"),
    ]
    LONG  CreateFile(LPSTR lpFileName,
                                LONG dwDesiredAccess,
                                LONG dwShareMode,
							    LONG  lpSecurityAttributes,
                                LONG dwCreationDisposition,
                                LONG dwFlagsAndAttributes,
                                LONG hTemplateFile);


[
    usesgetlasterror,
    entry("GetPrivateProfileStringA"),
    helpstring("Gets a key value from given entry within given section of INI file (or default if not found)"),
    ]
    LONG     GetPrivateProfileStringKeys(LPSTR lpszSection,
                                           LONG lpszKey,
                                           LPSTR lpszDefault,
                                           LPSTR lpszReturnBuffer,
                                           LONG cbReturnBuffer,
                                           LPSTR lpszFilename);


[
    usesgetlasterror,
    entry("GetPrivateProfileStringA"),
    helpstring("Gets a string value from given entry within given section of INI file (or default if not found)"),
    ]
    LONG     GetPrivateProfileString(LPSTR lpszSection,
                                           LPSTR lpszEntry,
                                           LPSTR lpszDefault,
                                           LPSTR lpszReturnBuffer,
                                           LONG cbReturnBuffer,
                                           LPSTR lpszFilename);




[
    usesgetlasterror,
    entry("WritePrivateProfileStringA"),
    helpstring("Writes given string value to given entry within given section of INI file"),
    ]
    BOOL    WritePrivateProfileString(LPSTR lpszSection,
                                             LPSTR lpszEntry,
                                             LPSTR lpszString,
                                             LPSTR lpszFilename);



[
	usesgetlasterror,
	entry("GetCurrentThreadId"),
	helpstring("Returns the thread identifier of the calling thread")
    ]
	LONG  GetCurrentThreadId(void);

[
    usesgetlasterror,
    entry("GetSystemInfo"),
    helpstring("Returns information about the current system"),
    ]
    void GetSystemInfo(SYSTEM_INFO * lpSystemInfo);

[
    usesgetlasterror,
    entry("GlobalMemoryStatus"),
    helpstring("Obtains information about the system's current use of physical and virtual memory"),
    ]
    void GlobalMemoryStatus(MEMORYSTATUS * lpBuffer);

[
    usesgetlasterror,
    entry("GetComputerNameA"),
    helpstring("Gets the computer (machine) name"),
    ]
    LONG GetComputerName(LPSTR lpBuffer,
                                LONG * nSize);

[
    usesgetlasterror,
    entry("QueryPerformanceCounter"),
    helpstring("Retrieves value of the high-resolution performance counter"),
    ]
    BOOL QueryPerformanceCounter(LARGE_INTEGER lpPerformanceCount);

[
    usesgetlasterror,
    entry("QueryPerformanceFrequency"),
    helpstring("Retrieves frequency of the high-resolution performance counter"),
    ]
    BOOL QueryPerformanceFrequency(LARGE_INTEGER lpFrequency);

[
    usesgetlasterror,
    entry("GetVersionExA"),
    helpstring("Gets Windows version information"),
    ]
    BOOL GetVersionEx(OSVERSIONINFO * lpVersionInformation);

[
    entry("RtlMoveMemory"),
    helpstring("Copies memory from source to destination by reference"),
    ]
    void  CopyMemory(LPVOID pvDst,
                           LPVOID pvSrc, LONG cbCopy);

[
    helpstring("Copies memory from source string to destination by reference"),
	entry("RtlMoveMemory")
    ]
    void CopyMemoryStr(LPVOID pvDst,
					  LPSTR pvSrc, LONG cbCopy);

[
    usesgetlasterror,
    entry("GlobalAlloc"),
    helpstring("Allocate global memory"),
    ]
    LONG GlobalAlloc(LONG wFlags, LONG dwBytes);


[
    usesgetlasterror,
    entry("GlobalLock"),
    helpstring("Locks global memory block and returns pointer to it"),
    ]
    LONG GlobalLock(LONG hMem);

[
    usesgetlasterror,
    entry("GlobalUnlock"),
    helpstring("Unlocks global memory block"),
    ]
    BOOL    GlobalUnlock(LONG hMem);

[
    usesgetlasterror,
    entry("GlobalFree"),
    helpstring("Free global memory block"),
    ]
    LONG  GlobalFree(LONG hMem);

[
    usesgetlasterror,
    entry("lstrlenA"),
    helpstring("Returns length of string (from byte array)"),
    ]
    int    lstrlenByte(BYTE * lpsz);

[
    usesgetlasterror,
    entry("GetFullPathNameA"),
    helpstring("Returns full path of lpFileName in lpBuffer and lpFilePart"),
    ]
    LONG GetFullPathName(LPSTR lpFileName,
                                 LONG nBufferLength,
                                 LPSTR lpBuffer,
                                 LONG *lpFilePart);

[
    usesgetlasterror,
    entry("lstrlenA"),
    helpstring("Returns length of string (from string)"),
    ]
    int     lstrlen(LPSTR lpsz);

[
    usesgetlasterror,
    entry("FormatMessageA"),
    helpstring("Formats a message string from a message definition (usally located in a DLL)"),
    ]
    LONG  FormatMessage(
        EFORMAT_MESSAGE dwFlags,
        LONG /* LPVOID */ lpSource,
        LONG dwMessageId,
        LONG dwLanguageId,
        LPSTR lpBuffer,
        LONG nSize,
        LPVOID /* va_list * */ Arguments);



	[helpstring("kernel32 Declare "), entry("CreateEventA")]  LONG
	CreateEvent(
		[in] LONG  lpEventAttributes, 	
		[in] LONG  bManualReset, 
		[in] LONG  bInitialState, 	
		[in] LPSTR lpName);

	[helpstring("kernel32 Declare "), entry("ResetEvent")]  LONG
	ResetEvent(
		[in] LONG  hEvent);

	[helpstring("kernel32 Declare "), entry("SetEvent")]  LONG
	SetEvent(
		[in] LONG  hEvent);






////template/////       [helpstring("kernel32 Declare "), entry("SetWindowRgn")]  LONG
	};
   
///////////////////////////////////////////////////////////////////////
      [dllname("wsock32.dll")]

      module wsock32Declare

       {



	[entry("select")]
		LONG	vbselect(
					LONG nfds,
					LPVOID readfds,
					LPVOID writefds,
					LPVOID exceptfds,
					LONG timeout);



	[entry("recv")]
		LONG	recv(
					LONG s ,
					LPVOID buf, 
					LONG buflen,
					LONG flags);



	[entry("send")]
		LONG	send(
					LONG s,
					LPVOID buf,
					LONG buflen, 
					LONG flags);


	[entry("WSAStartup")]
		LONG	WSAStartup(
						LONG  wVR, 
						WSAData * lpWSAD);


	[entry("WSACancelBlockingCall")]
		LONG	WSACancelBlockingCall();


	[entry("WSAIsBlocking")]
		LONG	WSAIsBlocking();


	[entry("WSAAsyncSelect")]
		LONG	WSAAsyncSelect(
						LONG s, 
						LONG hWnd,
						LONG wMsg,
						LONG lEvent);


	[entry("closesocket")]
		LONG	CloseSocket(LONG  s);


	[entry("connect")]
		LONG	Connect(
						LONG s , 
						sockaddr * addr, 
						LONG namelen);


	[entry("htons")]
		short	htons(LONG hostshort);

	[entry("socket")]
		LONG	Socket(
						LONG af, 
						LONG s_type, 
						LONG protocol);


	[helpstring("wsock32 Declare "), entry("WSAGetLastError")]  
		LONG  	WSAGetLastError();

/*	[helpstring("wsock32 Declare "), entry("WSAStartup")]  
		LONG  	WSAStartup(
        				LONG wVersionRequired, 
						WSAData *lpWSADATA);
*/
	[helpstring("wsock32 Declare "), entry("WSACleanup")]  
		LONG	WSACleanup();

	[helpstring("wsock32 Declare "), entry("gethostname")]  
		LONG	gethostname(
        				LPSTR szHost, 
						LONG dwHostLen);

	[helpstring("wsock32 Declare "), entry("gethostbyname")]  
		LONG	gethostbyname(
						LPSTR szHost);

	[helpstring("wsock32 Declare "), entry("gethostbyaddr")]  
		LONG	gethostbyaddr(
						 LONG  dwHost, 
						 int  hLen, 
						 int aType);

	[helpstring("wsock32 Declare "), entry("inet_addr")]  
		LONG	inet_addr(
						LPSTR szHost);


////template/////       [helpstring("wsock32 Declare "), entry("SetWindowRgn")]  LONG
	};

///////////////////////////////////////////////////////////////////////
      [dllname("COMDLG32.dll")]

      module COMDLG32Declare

       {


[helpstring("ChooseColor Dialog box Declare "), entry("ChooseColorA")]
LONG  ChooseColor(TCHOOSECOLOR * Color);

[helpstring("ChooseFont Dialog box Declare "), entry("ChooseFontA")]
LONG  ChooseFont(TCHOOSEFONT * chfont);

	};



///////////////////////////////////////////////////////////////////////
      [dllname("SHELL32.DLL")]

      module SHELL32Declare

       {


   //-------------------------------------------------------------------------
    //
    // SHBrowseForFolder API
    //
    //-------------------------------------------------------------------------

    
	[
    usesgetlasterror,
    entry("SHGetPathFromIDListA"),
    helpstring("Converts an item ID list pointer to a file system path (cMaxPath buffer expected)"),
    ]
    BOOL  SHGetPathFromIDList(LONG pidl, LPSTR pszPath);



    [
    usesgetlasterror,
    entry("SHBrowseForFolder"),
    helpstring("Displays a dialog that allows selection of shell folders"),
    ]
    LONG  SHBrowseForFolder(BROWSEINFO * lpbi);

	};

///////////////////////////////////////////////////////////////////////
      [dllname("wininet.dll")]

      module wininetDeclare

       {

	[
    usesgetlasterror,
    entry("InternetGetConnectedState"),
    helpstring(""),
    ]
    LONG  InternetGetConnectedState(
								LONG * lpdwFlags,
								LONG dwReserved);



	};



}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -