view org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/ole/win32/COMTYPES.d @ 125:c43718956f21 default tip

Updated the snippets status.
author Jacob Carlborg <doob@me.com>
date Thu, 11 Aug 2011 19:55:14 +0200
parents 536e43f63c81
children
line wrap: on
line source

/*
 * extra COM types not define in any other modules
 * don't import this module directly, import std.internal.ole.win32.com instead
 *
 * author : Shawn Liu
 */

module org.eclipse.swt.internal.ole.win32.COMTYPES;

private import org.eclipse.swt.internal.win32.WINTYPES;
private import org.eclipse.swt.internal.ole.win32.extras;
import java.lang.util;
//private import std.c.windows.windows;
//private import std.c.windows.com;

// private import org.eclipse.swt.internal.ole.win32.extras;


alias WCHAR OLECHAR;
alias OLECHAR *LPOLESTR;
alias TryConst!(OLECHAR) *LPCOLESTR;

alias IID* LPIID;
alias HRESULT STDAPI;
alias DWORD OLE_COLOR;

// for temp use
// alias void* ComObj;

struct CAUUID {
    ULONG cElems;
    GUID* pElems;
}
struct CONNECTDATA
{
	LPUNKNOWN pUnk;
	DWORD dwCookie;
}

struct CONTROLINFO {
    ULONG  cb;
    HACCEL hAccel;
    USHORT cAccel;
    DWORD  dwFlags;
}

struct LICINFO {
    ULONG cbLicInfo;
    BOOL  fRuntimeKeyAvail;
    BOOL  fLicVerified;
}

struct POINTF
{
    FLOAT x;
    FLOAT y;
}