view org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/ole/win32/COMTYPES.d @ 38:2e09b0e6857a

work on phobosfication
author Frank Benoit <benoit@tionex.de>
date Wed, 25 Mar 2009 11:18:25 +0100
parents 6dd524f61e62
children 536e43f63c81
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;
//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;
version(D_Version2){
    mixin("alias const(OLECHAR) *LPCOLESTR;");
} else { // D1
    alias 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;
}