code stringlengths 3 10M | language stringclasses 31 values |
|---|---|
import std.stdio;
import std.process;
import raft;
import connections;
void main()
{
NodeProperties[int] ps;
int num = 10;
int i;
while(i<num){
ps[i] = new NodeProperties(i,"127.0.0.1",cast(ushort)(i+10010));
i++;
}
writeln(ps);
i = 0;
while(i<num){
Pid pid = spawnProcess("./");
scope(exit) wait(pid);
writeln(pid);
if(!pid) {
NodeList list = new NodeList();
foreach(k,v;ps){
if(k!=i)list.addNode(v);
}
Node n = new Node(ps[i],list);
n.NodeStart();
}
i++;
}
}
| D |
func void ZS_Unconscious()
{
var int random;
Npc_PercEnable(self,PERC_ASSESSMAGIC,B_AssessMagic);
random = Hlp_Random(3);
if(random == 1)
{
Mdl_ApplyRandomAni(self,"S_WOUNDED","T_WOUNDED_TRY");
Mdl_ApplyRandomAniFreq(self,"S_WOUNDED",8);
Mdl_ApplyRandomAni(self,"S_WOUNDEDB","T_WOUNDEDB_TRY");
Mdl_ApplyRandomAniFreq(self,"S_WOUNDEDB",4);
};
if(C_BodyStateContains(self,BS_SWIM) || C_BodyStateContains(self,BS_DIVE))
{
Npc_ClearAIQueue(self);
B_ClearPerceptions(self);
AI_StartState(self,ZS_Dead,0,"");
return;
};
self.aivar[AIV_Guardpassage_Status] = GP_NONE;
Npc_SetRefuseTalk(self,0);
Npc_SetTempAttitude(self,Npc_GetPermAttitude(self,hero));
B_StopLookAt(self);
AI_StopPointAt(self);
if((self.guild < GIL_SEPERATOR_HUM) && C_NpcIsHero(other))
{
if(self.aivar[AIV_DefeatedByPlayer] == FALSE)
{
if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(Bullco))
{
SLD_Bullco_Defeated = TRUE;
}
else if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(DJG_Bullco))
{
DJG_Bullco_Defeated = TRUE;
}
else if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(Valentino))
{
Valentino_Day = B_GetDayPlus();
};
};
self.aivar[AIV_DefeatedByPlayer] = TRUE;
self.aivar[AIV_LastFightAgainstPlayer] = FIGHT_LOST;
if((self.aivar[AIV_LastPlayerAR] == AR_NONE) && (self.aivar[AIV_DuelLost] == FALSE) && (self.guild == GIL_SLD))
{
Sld_Duelle_gewonnen += 1;
self.aivar[AIV_DuelLost] = TRUE;
};
if(self.aivar[AIV_ArenaFight] == AF_RUNNING)
{
self.aivar[AIV_ArenaFight] = AF_AFTER;
};
};
if(C_NpcIsHero(self))
{
other.aivar[AIV_LastFightAgainstPlayer] = FIGHT_WON;
if(other.aivar[AIV_ArenaFight] == AF_RUNNING)
{
other.aivar[AIV_ArenaFight] = AF_AFTER;
};
if(Hlp_GetInstanceID(other) == Hlp_GetInstanceID(Bullco))
{
SLD_Bullco_Defeated_SC = TRUE;
}
else if(Hlp_GetInstanceID(other) == Hlp_GetInstanceID(Sylvio))
{
SLD_Sylvio_Defeated_SC = TRUE;
};
}
else
{
B_GiveTradeInv(self);
B_ClearSmithInv(self);
B_ClearAlchemyInv(self);
B_ClearBonusFoodInv(self);
B_ClearInfiniteTools(self);
if(self.guild == GIL_STRF)
{
B_RemoveEveryInvItem(self,ItMw_2H_Axe_L_01);
}
else if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(Dar))
{
if(Hlp_GetInstanceID(other) == Hlp_GetInstanceID(Cipher))
{
other.aivar[AIV_FightDistCancel] = FIGHT_DIST_CANCEL;
Dar_LostAgainstCipher = TRUE;
};
};
};
B_GiveDeathXP(other,self);
AI_UnequipWeapons(self);
};
func int ZS_Unconscious_Loop()
{
if(Npc_GetStateTime(self) < NPC_TIME_UNCONSCIOUS)
{
return LOOP_CONTINUE;
};
return LOOP_END;
};
func void ZS_Unconscious_End()
{
self.aivar[AIV_RANSACKED] = FALSE;
AI_Standup(self);
if(Npc_IsPlayer(self))
{
return;
};
if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(Raven))
{
self.aivar[AIV_MagicUser] = MAGIC_ALWAYS;
B_Attack(self,hero,AR_GuildEnemy,0);
return;
};
if(Npc_CanSeeNpcFreeLOS(self,other) && (Npc_GetDistToNpc(self,other) < PERC_DIST_INTERMEDIAT))
{
B_TurnToNpc(self,other);
if(C_NpcIsToughGuy(self) && (Npc_GetPermAttitude(self,other) != ATT_HOSTILE) && (self.npcType != NPCTYPE_FRIEND))
{
B_Say(self,other,"$NEXTTIMEYOUREINFORIT");
}
else
{
B_Say(self,other,"$OHMYHEAD");
};
};
Npc_PerceiveAll(self);
if(Wld_DetectItem(self,ITEM_KAT_NF))
{
if(Hlp_IsValidItem(item) && (Npc_GetDistToItem(self,item) <= 500))
{
AI_TakeItem(self,item);
};
};
if(Wld_DetectItem(self,ITEM_KAT_FF))
{
if(Hlp_IsValidItem(item) && (Npc_GetDistToItem(self,item) <= 500))
{
AI_TakeItem(self,item);
};
};
AI_EquipBestMeleeWeapon(self);
AI_EquipBestRangedWeapon(self);
/* if(!Npc_HasEquippedWeapon(self))
{
B_RefreshMeleeWeapon(self);
AI_EquipBestMeleeWeapon(self);
}; */
AI_StartState(self,ZS_HealSelf,0,"");
};
| D |
/*
* Copyright (c) 2004-2009 Derelict Developers
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* * Neither the names 'Derelict', 'DerelictGL', nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
module derelict.opengl.extension.arb.vertex_program;
private
{
import derelict.opengl.gltypes;
import derelict.opengl.gl;
import derelict.opengl.extension.loader;
import derelict.util.wrapper;
}
private bool enabled = false;
struct ARBVertexProgram
{
static bool load(char[] extString)
{
if(extString.findStr("GL_ARB_vertex_program") == -1)
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib1dARB, "glVertexAttrib1dARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib1dvARB, "glVertexAttrib1dvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib1fARB, "glVertexAttrib1fARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib1fvARB, "glVertexAttrib1fvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib1sARB, "glVertexAttrib1sARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib1svARB, "glVertexAttrib1svARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib2dARB, "glVertexAttrib2dARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib2dvARB, "glVertexAttrib2dvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib2fARB, "glVertexAttrib2fARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib2fvARB, "glVertexAttrib2fvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib2sARB, "glVertexAttrib2sARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib2svARB, "glVertexAttrib2svARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib3dARB, "glVertexAttrib3dARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib3dvARB, "glVertexAttrib3dvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib3fARB, "glVertexAttrib3fARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib3fvARB, "glVertexAttrib3fvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib3sARB, "glVertexAttrib3sARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib3svARB, "glVertexAttrib3svARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4NbvARB, "glVertexAttrib4NbvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4NivARB, "glVertexAttrib4NivARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4NsvARB, "glVertexAttrib4NsvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4NubARB, "glVertexAttrib4NubARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4NubvARB, "glVertexAttrib4NubvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4NuivARB, "glVertexAttrib4NuivARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4NusvARB, "glVertexAttrib4NusvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4bvARB, "glVertexAttrib4bvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4dARB, "glVertexAttrib4dARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4dvARB, "glVertexAttrib4dvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4fARB, "glVertexAttrib4fARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4fvARB, "glVertexAttrib4fvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4ivARB, "glVertexAttrib4ivARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4sARB, "glVertexAttrib4sARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4svARB, "glVertexAttrib4svARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4ubvARB, "glVertexAttrib4ubvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4uivARB, "glVertexAttrib4uivARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttrib4usvARB, "glVertexAttrib4usvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glVertexAttribPointerARB, "glVertexAttribPointerARB"))
return false;
if(!glBindExtFunc(cast(void**)&glEnableVertexAttribArrayARB, "glEnableVertexAttribArrayARB"))
return false;
if(!glBindExtFunc(cast(void**)&glDisableVertexAttribArrayARB, "glDisableVertexAttribArrayARB"))
return false;
if(!glBindExtFunc(cast(void**)&glProgramStringARB, "glProgramStringARB"))
return false;
if(!glBindExtFunc(cast(void**)&glBindProgramARB, "glBindProgramARB"))
return false;
if(!glBindExtFunc(cast(void**)&glDeleteProgramsARB, "glDeleteProgramsARB"))
return false;
if(!glBindExtFunc(cast(void**)&glGenProgramsARB, "glGenProgramsARB"))
return false;
if(!glBindExtFunc(cast(void**)&glProgramEnvParameter4dARB, "glProgramEnvParameter4dARB"))
return false;
if(!glBindExtFunc(cast(void**)&glProgramEnvParameter4dvARB, "glProgramEnvParameter4dvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glProgramEnvParameter4fARB, "glProgramEnvParameter4fARB"))
return false;
if(!glBindExtFunc(cast(void**)&glProgramEnvParameter4fvARB, "glProgramEnvParameter4fvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glProgramLocalParameter4dARB, "glProgramLocalParameter4dARB"))
return false;
if(!glBindExtFunc(cast(void**)&glProgramLocalParameter4dvARB, "glProgramLocalParameter4dvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glProgramLocalParameter4fARB, "glProgramLocalParameter4fARB"))
return false;
if(!glBindExtFunc(cast(void**)&glProgramLocalParameter4fvARB, "glProgramLocalParameter4fvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glGetProgramEnvParameterdvARB, "glGetProgramEnvParameterdvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glGetProgramEnvParameterfvARB, "glGetProgramEnvParameterfvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glGetProgramLocalParameterdvARB, "glGetProgramLocalParameterdvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glGetProgramLocalParameterfvARB, "glGetProgramLocalParameterfvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glGetProgramivARB, "glGetProgramivARB"))
return false;
if(!glBindExtFunc(cast(void**)&glGetProgramStringARB, "glGetProgramStringARB"))
return false;
if(!glBindExtFunc(cast(void**)&glGetVertexAttribdvARB, "glGetVertexAttribdvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glGetVertexAttribfvARB, "glGetVertexAttribfvARB"))
return false;
if(!glBindExtFunc(cast(void**)&glGetVertexAttribivARB, "glGetVertexAttribivARB"))
return false;
if(!glBindExtFunc(cast(void**)&glGetVertexAttribPointervARB, "glGetVertexAttribPointervARB"))
return false;
if(!glBindExtFunc(cast(void**)&glIsProgramARB, "glIsProgramARB"))
return false;
enabled = true;
return true;
}
static bool isEnabled()
{
return enabled;
}
}
version(DerelictGL_NoExtensionLoaders)
{
}
else
{
static this()
{
DerelictGL.registerExtensionLoader(&ARBVertexProgram.load);
}
}
enum : GLenum
{
GL_COLOR_SUM_ARB = 0x8458,
GL_VERTEX_PROGRAM_ARB = 0x8620,
GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622,
GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623,
GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624,
GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625,
GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626,
GL_PROGRAM_LENGTH_ARB = 0x8627,
GL_PROGRAM_STRING_ARB = 0x8628,
GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = 0x862E,
GL_MAX_PROGRAM_MATRICES_ARB = 0x862F,
GL_CURRENT_MATRIX_STACK_DEPTH_ARB = 0x8640,
GL_CURRENT_MATRIX_ARB = 0x8641,
GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642,
GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643,
GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645,
GL_PROGRAM_ERROR_POSITION_ARB = 0x864B,
GL_PROGRAM_BINDING_ARB = 0x8677,
GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869,
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A,
GL_PROGRAM_ERROR_STRING_ARB = 0x8874,
GL_PROGRAM_FORMAT_ASCII_ARB = 0x8875,
GL_PROGRAM_FORMAT_ARB = 0x8876,
GL_PROGRAM_INSTRUCTIONS_ARB = 0x88A0,
GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 0x88A1,
GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A2,
GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A3,
GL_PROGRAM_TEMPORARIES_ARB = 0x88A4,
GL_MAX_PROGRAM_TEMPORARIES_ARB = 0x88A5,
GL_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A6,
GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A7,
GL_PROGRAM_PARAMETERS_ARB = 0x88A8,
GL_MAX_PROGRAM_PARAMETERS_ARB = 0x88A9,
GL_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AA,
GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AB,
GL_PROGRAM_ATTRIBS_ARB = 0x88AC,
GL_MAX_PROGRAM_ATTRIBS_ARB = 0x88AD,
GL_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AE,
GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AF,
GL_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B0,
GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1,
GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2,
GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3,
GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 0x88B4,
GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5,
GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88B6,
GL_TRANSPOSE_CURRENT_MATRIX_ARB = 0x88B7,
GL_MATRIX0_ARB = 0x88C0,
GL_MATRIX1_ARB = 0x88C1,
GL_MATRIX2_ARB = 0x88C2,
GL_MATRIX3_ARB = 0x88C3,
GL_MATRIX4_ARB = 0x88C4,
GL_MATRIX5_ARB = 0x88C5,
GL_MATRIX6_ARB = 0x88C6,
GL_MATRIX7_ARB = 0x88C7,
GL_MATRIX8_ARB = 0x88C8,
GL_MATRIX9_ARB = 0x88C9,
GL_MATRIX10_ARB = 0x88CA,
GL_MATRIX11_ARB = 0x88CB,
GL_MATRIX12_ARB = 0x88CC,
GL_MATRIX13_ARB = 0x88CD,
GL_MATRIX14_ARB = 0x88CE,
GL_MATRIX15_ARB = 0x88CF,
GL_MATRIX16_ARB = 0x88D0,
GL_MATRIX17_ARB = 0x88D1,
GL_MATRIX18_ARB = 0x88D2,
GL_MATRIX19_ARB = 0x88D3,
GL_MATRIX20_ARB = 0x88D4,
GL_MATRIX21_ARB = 0x88D5,
GL_MATRIX22_ARB = 0x88D6,
GL_MATRIX23_ARB = 0x88D7,
GL_MATRIX24_ARB = 0x88D8,
GL_MATRIX25_ARB = 0x88D9,
GL_MATRIX26_ARB = 0x88DA,
GL_MATRIX27_ARB = 0x88DB,
GL_MATRIX28_ARB = 0x88DC,
GL_MATRIX29_ARB = 0x88DD,
GL_MATRIX30_ARB = 0x88DE,
GL_MATRIX31_ARB = 0x88DF,
}
extern(System)
{
void function(GLuint, GLdouble) glVertexAttrib1dARB;
void function(GLuint, GLdouble*) glVertexAttrib1dvARB;
void function(GLuint, GLfloat) glVertexAttrib1fARB;
void function(GLuint, GLfloat*) glVertexAttrib1fvARB;
void function(GLuint, GLshort) glVertexAttrib1sARB;
void function(GLuint, GLshort*) glVertexAttrib1svARB;
void function(GLuint, GLdouble, GLdouble) glVertexAttrib2dARB;
void function(GLuint, GLdouble*) glVertexAttrib2dvARB;
void function(GLuint, GLfloat, GLfloat) glVertexAttrib2fARB;
void function(GLuint, GLfloat*) glVertexAttrib2fvARB;
void function(GLuint, GLshort, GLshort) glVertexAttrib2sARB;
void function(GLuint, GLshort*) glVertexAttrib2svARB;
void function(GLuint, GLdouble, GLdouble, GLdouble) glVertexAttrib3dARB;
void function(GLuint, GLdouble*) glVertexAttrib3dvARB;
void function(GLuint, GLfloat, GLfloat, GLfloat) glVertexAttrib3fARB;
void function(GLuint, GLfloat*) glVertexAttrib3fvARB;
void function(GLuint, GLshort, GLshort, GLshort) glVertexAttrib3sARB;
void function(GLuint, GLshort*) glVertexAttrib3svARB;
void function(GLuint, GLbyte*) glVertexAttrib4NbvARB;
void function(GLuint, GLint*) glVertexAttrib4NivARB;
void function(GLuint, GLshort*) glVertexAttrib4NsvARB;
void function(GLuint, GLubyte, GLubyte, GLubyte, GLubyte) glVertexAttrib4NubARB;
void function(GLuint, GLubyte*) glVertexAttrib4NubvARB;
void function(GLuint, GLuint*) glVertexAttrib4NuivARB;
void function(GLuint, GLushort*) glVertexAttrib4NusvARB;
void function(GLuint, GLbyte*) glVertexAttrib4bvARB;
void function(GLuint, GLdouble, GLdouble, GLdouble, GLdouble) glVertexAttrib4dARB;
void function(GLuint, GLdouble*) glVertexAttrib4dvARB;
void function(GLuint, GLfloat, GLfloat, GLfloat, GLfloat) glVertexAttrib4fARB;
void function(GLuint, GLfloat*) glVertexAttrib4fvARB;
void function(GLuint, GLint*) glVertexAttrib4ivARB;
void function(GLuint, GLshort, GLshort, GLshort, GLshort) glVertexAttrib4sARB;
void function(GLuint, GLshort*) glVertexAttrib4svARB;
void function(GLuint, GLubyte*) glVertexAttrib4ubvARB;
void function(GLuint, GLuint*) glVertexAttrib4uivARB;
void function(GLuint, GLushort*) glVertexAttrib4usvARB;
void function(GLuint, GLint, GLenum, GLboolean, GLsizei, GLvoid*) glVertexAttribPointerARB;
void function(GLuint) glEnableVertexAttribArrayARB;
void function(GLuint) glDisableVertexAttribArrayARB;
void function(GLenum, GLenum, GLsizei, GLvoid*) glProgramStringARB;
void function(GLenum, GLuint) glBindProgramARB;
void function(GLsizei, GLuint*) glDeleteProgramsARB;
void function(GLsizei, GLuint*) glGenProgramsARB;
void function(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble) glProgramEnvParameter4dARB;
void function(GLenum, GLuint, GLdouble*) glProgramEnvParameter4dvARB;
void function(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat) glProgramEnvParameter4fARB;
void function(GLenum, GLuint, GLfloat*) glProgramEnvParameter4fvARB;
void function(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble) glProgramLocalParameter4dARB;
void function(GLenum, GLuint, GLdouble*) glProgramLocalParameter4dvARB;
void function(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat) glProgramLocalParameter4fARB;
void function(GLenum, GLuint, GLfloat*) glProgramLocalParameter4fvARB;
void function(GLenum, GLuint, GLdouble*) glGetProgramEnvParameterdvARB;
void function(GLenum, GLuint, GLfloat*) glGetProgramEnvParameterfvARB;
void function(GLenum, GLuint, GLdouble*) glGetProgramLocalParameterdvARB;
void function(GLenum, GLuint, GLfloat*) glGetProgramLocalParameterfvARB;
void function(GLenum, GLenum, GLint*) glGetProgramivARB;
void function(GLenum, GLenum, GLvoid*) glGetProgramStringARB;
void function(GLuint, GLenum, GLdouble*) glGetVertexAttribdvARB;
void function(GLuint, GLenum, GLfloat*) glGetVertexAttribfvARB;
void function(GLuint, GLenum, GLint*) glGetVertexAttribivARB;
void function(GLuint, GLenum, GLvoid*) glGetVertexAttribPointervARB;
GLboolean function(GLuint) glIsProgramARB;
} | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
309 80 2 0 35 56 72 -112 1699 3.79999995 3.9000001 0.0952380952 intrusives, diabase
217 85 16 60 35 56 72 -112 1697 31 31 0.0952380952 extrusives, basalt
238 77 6 77 15 60 64.5999985 -127.900002 1745 11.6000004 11.8000002 0.0444444444 sediments, redbeds
219.300003 68.9000015 2.79999995 90.9000015 15 60 64.5 -128.5 343 5.5999999 5.5999999 0.0444444444 sediments, redbeds
142.300003 67.9000015 10.3000002 17 20 47 35.5 -106.099998 1004 11.1000004 11.1000004 0.0740740741 intrusives, extrusives
256.399994 77.0999985 13 0 2 56 46 -112 3368 21.7000008 21.7000008 0.037037037 extrusives, intrusives
185.300003 80 4.30000019 65.0999985 35 39 29.1000004 -103.199997 7660 5.4000001 5.4000001 0.5 intrusives, gabbro
211 81 13 27 29 39 37.4000015 -105 3151 16 20 0.2 intrusives
117.699997 85.5 2.4000001 0 34 42 55.9000015 -63.4000015 3235 3.4000001 4 0.25 metamorphics, impact melt rocks
164 83 5.80000019 32.2000008 15 65 58.5 -119.300003 7737 10 10 0.04 sediments, dolomite
240 82 34 55 2 65 45 -110 2808 49 58 0.0317460317 intrusives, porphyry
144.199997 83.9000015 7.69999981 40.4000015 38 50 43 -109.5 1138 8.80000019 11.6999998 0.0833333333 sediments
| D |
/******************************************************************//**
* \file src/core/events/mouseevent.d
* \brief Mouse event definition
*
* <i>Copyright (c) 2012</i> Danny Arends<br>
* Last modified Mar, 2012<br>
* First written Dec, 2011<br>
* Written in the D Programming Language (http://www.digitalmars.com/d)
**********************************************************************/
module core.events.mouseevent;
import std.array, std.stdio, std.conv;
import core.typedefs.types;
import core.events.engine;
class MouseEvent : Event{
alias double[3] function(int,int)LocToWorld;
this(MouseBtn btn, KeyEventType type, LocToWorld fun, int[2] xy, int xr = 0, int yr = 0, bool verbose = true){
this.btn=btn;
this.type=type;
coords[0]=xy[0];
coords[1]=xy[1];
coords[2]=xr;
coords[3]=yr;
unproject = fun;
}
double[3] getXYZ(){ return unproject(sx, sy); }
override EventType getEventType(){ return EventType.MOUSE; }
MouseBtn getBtn(){ return btn; }
KeyEventType getType(){ return type; }
@property int sx(){ return coords[0]; }
@property int sy(){ return coords[1]; }
@property int sxr(){ return coords[2]; }
@property int syr(){ return coords[3]; }
private:
MouseBtn btn;
KeyEventType type;
LocToWorld unproject;
int coords[4] = [0,0,0,0];
}
| D |
/Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Crypto.build/Essentials/Helpers.swift.o : /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC+Method.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash+Method.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher+Method.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/ByteStream.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Hash+Random.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Random.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/PseudoRandom.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/LibreSSLError.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Helpers.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/libc.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Core.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/CHTTP.build/module.modulemap /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/CSQLite.build/module.modulemap
/Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Crypto.build/Helpers~partial.swiftmodule : /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC+Method.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash+Method.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher+Method.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/ByteStream.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Hash+Random.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Random.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/PseudoRandom.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/LibreSSLError.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Helpers.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/libc.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Core.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/CHTTP.build/module.modulemap /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/CSQLite.build/module.modulemap
/Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Crypto.build/Helpers~partial.swiftdoc : /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC+Method.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash+Method.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher+Method.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/ByteStream.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Hash+Random.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Random.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/PseudoRandom.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/LibreSSLError.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Helpers.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/libc.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Core.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/CHTTP.build/module.modulemap /Users/abelfernandez/projects/vapor-server/Hello/.build/debug/CSQLite.build/module.modulemap
| D |
module tvm.compiler;
import tvm.parser, tvm.opcode, tvm.value;
import std.format, std.conv;
Opcode[] compileASTtoOpcode(AST ast) {
final switch (ast.type) with (ASTType) {
case tIdentifier:
auto ident = cast(Identifier)ast;
assert(ident !is null, "Compile Error on <%s>".format(ast.type));
return [new IValue(ident.value)];
case tSymbol:
auto symbol = cast(Symbol)ast;
assert(symbol !is null, "Compile Error on <%s>".format(ast.type));
return compileASTtoOpcode(symbol.ident);
case tParens:
auto parens = cast(Parens)ast;
assert(parens !is null, "Compile Error on <%s>".format(ast.type));
return compileASTtoOpcode(parens.expression);
case tVariable:
auto var = cast(Variable)ast;
assert(var !is null, "Compile Error on <%s>".format(ast.type));
return opGetVariable ~ compileASTtoOpcode(var.ident);
case tStringLiteral:
auto value = cast(StringLiteral)ast;
return [opPush, new IValue(value.value)];
case tInteger:
auto value = cast(Integer)ast;
return [opPush, new IValue(value.value)];
case tBooleanLiteral:
auto value = cast(BooleanLiteral)ast;
return [opPush, new IValue(value.value)];
case tArrayLiteral:
auto value = cast(ArrayLiteral)ast;
Opcode[] elements;
size_t array_size;
foreach (elem; value.value) {
elements ~= compileASTtoOpcode(elem);
array_size++;
}
return elements ~ opMakeArray ~ new IValue(array_size);
case tParameter:
auto param = cast(Parameter)ast;
assert(param !is null, "Compile Error on <%s>".format(ast.type));
return compileASTtoOpcode(param.expr);
case tParameterList:
Opcode[] ret;
auto params = cast(ParameterList)ast;
assert(params !is null, "Compile Error on <%s>".format(ast.type));
foreach (parameter; params.parameters) {
ret ~= compileASTtoOpcode(parameter);
}
return ret;
case tStatementList:
Opcode[] ret;
auto slist = cast(StatementList)ast;
assert(slist !is null, "Compile Error on <%s>".format(ast.type));
foreach (statement; slist.statements) {
ret ~= compileASTtoOpcode(statement);
}
return ret;
case tBlock:
auto block = cast(Block)ast;
assert(block !is null, "Compile Error on <%s>".format(ast.type));
auto statements = block.statements;
if (statements is null) {
return [opNop];
} else {
return compileASTtoOpcode(block.statements);
}
case tIFStatement:
auto ifStmt = cast(IFStatement)ast;
Expression cond = ifStmt.cond;
Block trueBlock = ifStmt.trueBlock, falseBlock = ifStmt.falseBlock;
Opcode[] op_trueBlock = compileASTtoOpcode(trueBlock), op_falseBlock;
if (falseBlock !is null) {
op_falseBlock = compileASTtoOpcode(falseBlock);
long falseBlockLength = op_falseBlock.length.to!long;
op_trueBlock ~= [opJumpRel, new IValue(falseBlockLength)];
}
long trueBlockLength = op_trueBlock.length.to!long;
return compileASTtoOpcode(cond) ~ opIFStatement ~ (
new IValue(trueBlockLength)) ~ op_trueBlock ~ op_falseBlock;
case tForStatement:
auto forStmt = cast(ForStatement)ast;
assert(forStmt !is null, "Compile Error on <%s>".format(ast.type));
VariableDeclare vassign = forStmt.vassign;
Expression cond = forStmt.cond, update = forStmt.update;
Block block = forStmt.block;
Opcode[] op_vassign = compileASTtoOpcode(vassign);
Opcode[] loop_body;
Opcode[] op_cond = compileASTtoOpcode(cond);
Opcode[] op_update = compileASTtoOpcode(update);
Opcode[] op_block = compileASTtoOpcode(block);
loop_body = op_block ~ op_update;
loop_body ~= [opJumpRel, new IValue(-(loop_body.length.to!long + op_cond.length.to!long + 4))];
return op_vassign ~ op_cond ~ opIFStatement ~ (new IValue(loop_body.length.to!long)) ~ loop_body;
case tWhileStatement:
auto whileStmt = cast(WhileStatement)ast;
assert(whileStmt !is null, "Compile Error on <%s>".format(ast.type));
Expression cond = whileStmt.cond;
Block block = whileStmt.block;
Opcode[] loop_body;
Opcode[] op_cond = compileASTtoOpcode(cond);
Opcode[] op_block = compileASTtoOpcode(block);
loop_body ~= op_block;
loop_body ~= [opJumpRel, new IValue(-(op_block.length.to!long + op_cond.length.to!long + 4))];
return op_cond ~ opIFStatement ~ (new IValue(loop_body.length.to!long)) ~ loop_body;
case tFunctionDeclare:
auto func = cast(FunctionDeclare)ast;
assert(func !is null, "Compile Error on <%s>".format(ast.type));
Symbol symbol = func.symbol;
ParameterList parameters = func.parameters;
Block block = func.block;
Opcode[] op_params;
foreach (elem; compileASTtoOpcode(parameters)) {
if (elem.type != OpcodeType.tOpGetVariable) {
op_params ~= elem;
}
}
long op_params_count = op_params.length.to!long;
Opcode[] op_blocks = compileASTtoOpcode(block);
Opcode[] prepends;
foreach_reverse (op_param; op_params) {
auto param = cast(IValue)op_param;
assert(param !is null, "Compile Error on <%s> [param]".format(ast.type));
prepends ~= [opSetVariablePop, param];
}
op_blocks = prepends ~ op_blocks;
long op_blocks_length = op_blocks.length.to!long;
auto ret = opFunctionDeclare ~ compileASTtoOpcode(symbol) ~ (
new IValue(op_blocks_length)) ~ op_blocks;
return ret;
case tVariableDeclareOnlySymbol:
auto var = cast(VariableDeclareOnlySymbol)ast;
assert(var !is null, "Compile Error on <%s>".format(ast.type));
auto l = compileASTtoOpcode(var.lvalue);
if (l.length == 2 && l[0].type == OpcodeType.tOpGetVariable) {
l = l[1 .. $];
}
return opVariableDeclareOnlySymbol ~ l;
case tVariableDeclareWithAssign:
auto var = cast(VariableDeclareWithAssign)ast;
assert(var !is null, "Compile Error on <%s>".format(ast.type));
auto l = compileASTtoOpcode(var.lvalue);
if (l.length == 2 && l[0].type == OpcodeType.tOpGetVariable) {
l = l[1 .. $];
}
auto e = compileASTtoOpcode(var.expr);
return e ~ opVariableDeclareWithAssign ~ l;
case tAssignExpression:
auto assign = cast(AssignExpression)ast;
auto l = compileASTtoOpcode(assign.lvalue);
if (l.length == 2 && l[0].type == OpcodeType.tOpGetVariable) {
l = l[1 .. $];
} else {
throw new Error("Compile Error on <%s>".format(ast.type));
}
auto e = compileASTtoOpcode(assign.expr);
return e ~ opAssignExpression ~ l;
case tAddExpression:
auto expr = cast(AddExpression)ast;
assert(expr !is null, "Compile Error on <%s>".format(ast.type));
Opcode[] r = compileASTtoOpcode(expr.rexpr), l = compileASTtoOpcode(expr.lexpr);
return r ~ l ~ opAdd;
case tSubExpression:
auto expr = cast(SubExpression)ast;
assert(expr !is null, "Compile Error on <%s>".format(ast.type));
Opcode[] r = compileASTtoOpcode(expr.rexpr), l = compileASTtoOpcode(expr.lexpr);
return r ~ l ~ opSub;
case tMulExpression:
auto expr = cast(MulExpression)ast;
assert(expr !is null, "Compile Error on <%s>".format(ast.type));
Opcode[] r = compileASTtoOpcode(expr.rexpr), l = compileASTtoOpcode(expr.lexpr);
return r ~ l ~ opMul;
case tDivExpression:
auto expr = cast(DivExpression)ast;
assert(expr !is null, "Compile Error on <%s>".format(ast.type));
Opcode[] r = compileASTtoOpcode(expr.rexpr), l = compileASTtoOpcode(expr.lexpr);
return r ~ l ~ opDiv;
case tModExpression:
auto expr = cast(ModExpression)ast;
assert(expr !is null, "Compile Error on <%s>".format(ast.type));
Opcode[] r = compileASTtoOpcode(expr.rexpr), l = compileASTtoOpcode(expr.lexpr);
return r ~ l ~ opMod;
case tCallExpression:
auto call = cast(CallExpression)ast;
assert(call !is null, "Compile Error on <%s>".format(ast.type));
Symbol symbol = call.symbol;
ParameterList parameters = call.parameters;
return compileASTtoOpcode(parameters) ~ opCall ~ compileASTtoOpcode(symbol);
case tReturnExpression:
auto ret = cast(ReturnExpression)ast;
assert(ret !is null, "Compile Error on <%s>".format(ast.type));
return compileASTtoOpcode(ret.expression) ~ [opReturn];
case tEqualExpression:
auto expr = cast(EqualExpression)ast;
assert(expr !is null, "Compile Error on <%s>".format(ast.type));
Opcode[] r = compileASTtoOpcode(expr.rexpr), l = compileASTtoOpcode(expr.lexpr);
return r ~ l ~ opEqualExpression;
case tNotEqualExpression:
auto expr = cast(NotEqualExpression)ast;
assert(expr !is null, "Compile Error on <%s>".format(ast.type));
Opcode[] r = compileASTtoOpcode(expr.rexpr), l = compileASTtoOpcode(expr.lexpr);
return r ~ l ~ opNotEqualExpression;
case tLtExpression:
auto expr = cast(LtExpression)ast;
assert(expr !is null, "Compile Error on <%s>".format(ast.type));
Opcode[] r = compileASTtoOpcode(expr.rexpr), l = compileASTtoOpcode(expr.lexpr);
return r ~ l ~ opLtExpression;
case tLteExpression:
auto expr = cast(LteExpression)ast;
assert(expr !is null, "Compile Error on <%s>".format(ast.type));
Opcode[] r = compileASTtoOpcode(expr.rexpr), l = compileASTtoOpcode(expr.lexpr);
return r ~ l ~ opLteExpression;
case tGtExpression:
auto expr = cast(GtExpression)ast;
assert(expr !is null, "Compile Error on <%s>".format(ast.type));
Opcode[] r = compileASTtoOpcode(expr.rexpr), l = compileASTtoOpcode(expr.lexpr);
return r ~ l ~ opGtExpression;
case tGteExpression:
auto expr = cast(GteExpression)ast;
assert(expr !is null, "Compile Error on <%s>".format(ast.type));
Opcode[] r = compileASTtoOpcode(expr.rexpr), l = compileASTtoOpcode(expr.lexpr);
return r ~ l ~ opGteExpression;
case tAndExpression:
auto expr = cast(AndExpression)ast;
assert(expr !is null, "Compile Error on <%s>".format(ast.type));
Opcode[] r = compileASTtoOpcode(expr.rexpr), l = compileASTtoOpcode(expr.lexpr);
return r ~ l ~ opAndExpression;
case tOrExpression:
auto expr = cast(OrExpression)ast;
assert(expr !is null, "Compile Error on <%s>".format(ast.type));
Opcode[] r = compileASTtoOpcode(expr.rexpr), l = compileASTtoOpcode(expr.lexpr);
return r ~ l ~ opOrExpression;
case tXorExpression:
auto expr = cast(XorExpression)ast;
assert(expr !is null, "Compile Error on <%s>".format(ast.type));
Opcode[] r = compileASTtoOpcode(expr.rexpr), l = compileASTtoOpcode(expr.lexpr);
return r ~ l ~ opXorExpression;
case tArrayElementSetExpression:
auto arrayElemSetExpr = cast(ArrayElementSetExpression)ast;
Opcode[] variable_op = compileASTtoOpcode(arrayElemSetExpr.variable);
if (variable_op.length == 2 && variable_op[0].type == OpcodeType.tOpGetVariable) {
variable_op = variable_op[1 .. $];
} else {
throw new Error("Compile Error on <%s>".format(ast.type));
}
Opcode[] idx_op = compileASTtoOpcode(arrayElemSetExpr.idx);
Opcode[] rexpr_op = compileASTtoOpcode(arrayElemSetExpr.rexpr);
return rexpr_op ~ idx_op ~ opSetArrayElement ~ variable_op;
case tArrayElementGetExpression:
auto arrayElemGetExpr = cast(ArrayElementGetExpression)ast;
Opcode[] variable_op = compileASTtoOpcode(arrayElemGetExpr.variable);
if (variable_op.length == 2 && variable_op[0].type == OpcodeType.tOpGetVariable) {
variable_op = variable_op[1 .. $];
} else {
throw new Error("Compile Error on <%s>".format(ast.type));
}
Opcode[] idx_op = compileASTtoOpcode(arrayElemGetExpr.idx);
return idx_op ~ opGetArrayElement ~ variable_op;
case tAssertExpression:
auto assertExpression = cast(AssertExpression)ast;
Opcode[] cond_ops = compileASTtoOpcode(assertExpression.cond);
Opcode[] msg_ops = compileASTtoOpcode(assertExpression.msg);
return cond_ops ~ msg_ops ~ opAssert;
}
}
| D |
/*******************************************************************************
* Copyright (c) 2000, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*
* Port to the D programming language:
* Jacob Carlborg <doob@me.com>
*******************************************************************************/
module dwt.internal.cocoa.NSColorPanel;
import dwt.dwthelper.utils;
import dwt.internal.c.Carbon;
import cocoa = dwt.internal.cocoa.id;
import dwt.internal.cocoa.NSColor;
import dwt.internal.cocoa.NSPanel;
import dwt.internal.cocoa.OS;
import dwt.internal.cocoa.NSString;
import dwt.internal.objc.cocoa.Cocoa;
import objc = dwt.internal.objc.runtime;
public class NSColorPanel : NSPanel {
public this() {
super();
}
public this(objc.id id) {
super(id);
}
public this(cocoa.id id) {
super(id);
}
public NSColor color() {
objc.id result = OS.objc_msgSend(this.id, OS.sel_color);
return result !is null ? new NSColor(result) : null;
}
public void setColor(NSColor color) {
OS.objc_msgSend(this.id, OS.sel_setColor_, color !is null ? color.id : null);
}
public static NSColorPanel sharedColorPanel() {
objc.id result = OS.objc_msgSend(OS.class_NSColorPanel, OS.sel_sharedColorPanel);
return result !is null ? new NSColorPanel(result) : null;
}
public static CGFloat minFrameWidthWithTitle(NSString aTitle, NSUInteger aStyle) {
return cast(CGFloat)OS.objc_msgSend_fpret(OS.class_NSColorPanel, OS.sel_minFrameWidthWithTitle_styleMask_, aTitle !is null ? aTitle.id : null, aStyle);
}
}
| D |
module lix.skill.exiter;
import game.tribe;
import graphic.gadget.goal;
import hardware.sound;
import lix;
class Exiter : Leaver {
private:
// Do this much sideways motion during exiting, because the goal was
// endered closer to the side than to the center of the trigger area
int xOffsetFromGoal;
public:
mixin JobChild;
void scoreForTribe(Tribe tribe)
{
tribe.addSaved(this.style, outsideWorld.state.update);
}
void determineSidewaysMotion(in Goal goal)
{
xOffsetFromGoal = env.distanceX(goal.loc.x + goal.tile.trigger.x
+ goal.tile.triggerXl / 2, lixxie.ex);
if (xOffsetFromGoal % 2 == 0)
// From C++ Lix: The +1 is necessary because this counts
// pixel-wise, but the physics skip ahead 2 pixels at a time,
// so the lixes enter the right part further to the left.
xOffsetFromGoal += 1;
}
void playSound(in Goal goal)
{
if (goal.hasTribe(style)) {
lixxie.playSound(Sound.GOAL);
}
else {
lixxie.playSound(Sound.GOAL_BAD);
foreach (tr; goal.tribes)
outsideWorld.effect.dispatch.addSound(
outsideWorld.state.update, tr,
outsideWorld.lixID, // arbitrary ID because not same tribe
Sound.GOAL);
}
}
override void perform()
{
int change = (xOffsetFromGoal < 0 ? 1 : xOffsetFromGoal > 0 ? -1 : 0);
spriteOffsetX = spriteOffsetX + change;
xOffsetFromGoal += change;
advanceFrameAndLeave();
}
}
| D |
; Copyright (C) 2008 The Android Open Source Project
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
.source T_invoke_static_15.java
.class public dot.junit.opcodes.invoke_static.d.T_invoke_static_15
.super java/lang/Object
.method public <init>()V
.limit regs 2
invoke-direct {v1}, java/lang/Object/<init>()V
return-void
.end method
.method public run()Z
.limit regs 6
const v1, 123
const v2, 345
const v3, 12
const v4, 6
invoke-static {v3, v4}, dot/junit/opcodes/invoke_static/TestClass/testArgsOrder(II)I
move-result v3
const v4, 2
if-ne v3, v4, Label0
const v4, 123
if-ne v1, v4, Label0
const v4, 345
if-ne v2, v4, Label0
const v0, 1
return v0
Label0:
const v0, 0
return v0
.end method
| D |
module emul.m68k.instructions.dbcc;
import emul.m68k.instructions.common;
package nothrow:
void addDbccInstructions(ref Instruction[ushort] ret) pure
{
//bcc
foreach(v; TupleRange!(0,conditionalTests.length))
{
enum cond = conditionalTests[v];
foreach(r;0..8)
{
const instr = 0x50c8 | (cond << 8) | r;
ret.addInstruction(Instruction("dbcc",cast(ushort)instr,0x4,&dbccImpl!cond));
}
}
}
private:
void dbccImpl(ubyte condition)(ref Cpu cpu)
{
if(!conditionalTest!condition(cpu))
{
const reg = cpu.getInstructionData!ubyte(cpu.state.PC - 0x3) & 0b111;
truncateReg!short(cpu.state.D[reg]) -= 1;
if(-1 != truncateReg!short(cpu.state.D[reg]))
{
const offset = cpu.getInstructionData!short(cpu.state.PC - 0x2);
cpu.state.PC += offset - 0x2;
}
}
} | D |
import std.stdio;
import evael.core.game;
import evael.core.game_state;
import evael.system.window_settings;
import evael.system.gl_context_settings;
import evael.utils;
void main()
{
auto windowSettings = WindowSettings();
windowSettings.title = "My D Game";
windowSettings.fullscreen = false;
windowSettings.resolution = Size!int(1024, 768);
auto game = new Game(windowSettings);
game.setGameState!(BaseGameState);
game.run();
game.dispose();
}
class BaseGameState : GameState
{
/**
* Processes game rendering.
*/
public override void update(in float interpolation)
{
this.m_graphicsDevice.beginScene(Color.Grey);
}
/**
* Processes game logic at fixed time rate.
*/
public override void fixedUpdate()
{
}
public override void onInit(Variant[] params = null)
{
}
public override void onExit()
{
}
} | D |
version(AArch64)
int x = 10;
| D |
func void zs_standaround()
{
printdebugnpc(PD_TA_FRAME,"ZS_StandAround");
b_setperception(self);
if(Npc_WasInState(self,zs_smalltalk))
{
Npc_PercEnable(self,PERC_NPCCOMMAND,b_smalltalk);
};
AI_SetWalkMode(self,NPC_WALK);
AI_RemoveWeapon(self);
b_clearitem(self);
if(!Npc_IsOnFP(self,"CAMPFIRE"))
{
printdebugnpc(PD_TA_CHECK,"...nicht auf FP!");
AI_GotoWP(self,self.wp);
};
};
func int zs_standaround_loop()
{
var int choice;
printdebugnpc(PD_TA_LOOP,"ZS_StandAround_Loop");
if(Npc_WasInState(self,zs_smalltalk))
{
b_gotofp(self,"SMALLTALK");
AI_AlignToFP(self);
}
else if(Wld_IsFPAvailable(self,"CAMPFIRE"))
{
b_gotofp(self,"CAMPFIRE");
AI_AlignToFP(self);
}
else
{
Npc_PerceiveAll(self);
if(Wld_DetectNpcEx(self,-1,NOFUNC,-1,0))
{
AI_TurnToNPC(self,other);
};
};
if(Npc_WasInState(self,zs_smalltalk))
{
Npc_SendPassivePerc(self,PERC_NPCCOMMAND,self,self);
};
choice = Hlp_Random(100);
printdebugint(PD_TA_DETAIL,"...Zufallsani-Wurf:",choice);
if(self.aivar[AIV_ITEMSTATUS] == TA_IT_NONE)
{
if(c_npcbelongstooldcamp(self))
{
if(choice < 10)
{
b_chooseapple(self);
}
else if(choice < 20)
{
b_chooseloaf(self);
}
else if(choice < 30)
{
b_choosecheese(self);
}
else if(choice < 40)
{
b_choosebeer(self);
}
else if(choice < 60)
{
b_choosemeat(self);
}
else if(choice < 80)
{
b_pee(self);
}
else if(choice < 100)
{
b_bored(self);
};
}
else if(c_npcbelongstonewcamp(self))
{
if(choice < 10)
{
b_chooserice(self);
}
else if(choice < 30)
{
b_choosewine(self);
}
else if(choice < 50)
{
b_choosebooze(self);
}
else if(choice < 60)
{
b_choosejoint(self);
}
else if(choice < 80)
{
b_pee(self);
}
else if(choice < 100)
{
b_bored(self);
};
}
else if(c_npcbelongstopsicamp(self))
{
if(choice < 20)
{
b_choosesoup(self);
}
else if(choice < 80)
{
b_choosejoint(self);
}
else if(choice < 90)
{
b_pee(self);
}
else if(choice < 100)
{
b_bored(self);
};
}
else
{
if(choice < 50)
{
b_bored(self);
};
};
}
else if(choice < 20)
{
b_clearitem(self);
};
b_playitemrandoms(self);
AI_Wait(self,1);
return LOOP_CONTINUE;
};
func void zs_standaround_end()
{
printdebugnpc(PD_TA_FRAME,"ZS_StandAround_End");
c_stoplookat(self);
b_clearitem(self);
};
func void b_smalltalk()
{
printdebugnpc(PD_TA_FRAME,"B_SmallTalk");
if(Npc_IsInState(other,zs_standaround) && Npc_IsOnFP(other,"SMALLTALK") && (Npc_GetDistToNpc(self,other) < HAI_DIST_SMALLTALK))
{
printdebugnpc(PD_TA_CHECK,"...'other' geeigneter SmallTalk-Partner!");
Npc_PercDisable(other,PERC_ASSESSPLAYER);
Npc_PercDisable(other,PERC_OBSERVEINTRUDER);
b_fullstop(other);
Npc_SetTarget(other,self);
Npc_GetTarget(self);
AI_StartState(other,zs_smalltalk,1,"");
Npc_PercDisable(self,PERC_ASSESSPLAYER);
Npc_PercDisable(self,PERC_OBSERVEINTRUDER);
b_fullstop(self);
Npc_SetTarget(self,other);
Npc_GetTarget(self);
AI_StartState(self,zs_smalltalk,1,"");
};
};
| D |
instance KDW_14040_Addon_Riordian_ADW(Npc_Default)
{
name[0] = "Riordian";
guild = GIL_KDW;
id = 14040;
voice = 10;
flags = NPC_FLAG_IMMORTAL;
npcType = npctype_main;
aivar[AIV_MagicUser] = MAGIC_ALWAYS;
aivar[AIV_IgnoresFakeGuild] = TRUE;
aivar[AIV_IgnoresArmor] = TRUE;
B_SetAttributesToChapter(self,5);
fight_tactic = FAI_HUMAN_STRONG;
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_Bald",Face_P_NormalBart_Riordian,BodyTex_P,itar_kdw_h);
Mdl_SetModelFatness(self,0);
Mdl_ApplyOverlayMds(self,"Humans_Mage.mds");
B_GiveNpcTalents(self);
B_SetFightSkills(self,80);
daily_routine = Rtn_Start_14040;
};
func void Rtn_Start_14040()
{
TA_Study_WP(7,5,7,20,"ADW_ENTRANCE_PLATEAU_06A");
TA_Study_WP(7,20,8,25,"ADW_ENTRANCE_PLATEAU_10A");
TA_Study_WP(8,25,9,5,"ADW_ENTRANCE_PLATEAU_14A");
TA_Study_WP(9,5,10,45,"ADW_ENTRANCE_PLATEAU_06A");
TA_Study_WP(10,45,11,55,"ADW_ENTRANCE_PLATEAU_14A");
TA_Study_WP(11,55,12,5,"ADW_ENTRANCE_PLATEAU_10A");
TA_Study_WP(12,5,13,20,"ADW_ENTRANCE_PLATEAU_06A");
TA_Study_WP(13,20,14,25,"ADW_ENTRANCE_PLATEAU_14A");
TA_Study_WP(14,25,15,5,"ADW_ENTRANCE_PLATEAU_10A");
TA_Study_WP(15,5,16,45,"ADW_ENTRANCE_PLATEAU_06A");
TA_Study_WP(16,45,17,55,"ADW_ENTRANCE_PLATEAU_14A");
TA_Study_WP(17,55,18,5,"ADW_ENTRANCE_PLATEAU_10A");
TA_Study_WP(18,5,19,20,"ADW_ENTRANCE_PLATEAU_06A");
TA_Study_WP(19,20,20,25,"ADW_ENTRANCE_PLATEAU_10A");
TA_Study_WP(20,25,21,5,"ADW_ENTRANCE_PLATEAU_06A");
TA_Study_WP(21,5,22,0,"ADW_ENTRANCE_PLATEAU_10A");
TA_Sleep(22,0,7,5,"ADW_ENTRANCE_BUILDING2_05");
};
| D |
prototype MST_DEFAULT_UNDEADORCSHAMAN(C_NPC)
{
name[0] = "Hohepriester";
guild = GIL_UNDEADORC;
aivar[AIV_IMPORTANT] = ID_UNDEADORCSHAMAN;
level = 30;
attribute[ATR_STRENGTH] = 190;
attribute[ATR_DEXTERITY] = 190;
attribute[ATR_HITPOINTS_MAX] = 350;
attribute[ATR_HITPOINTS] = 350;
attribute[ATR_MANA_MAX] = 75;
attribute[ATR_MANA] = 75;
protection[PROT_BLUNT] = 9999;
protection[PROT_EDGE] = 9999;
protection[PROT_POINT] = 9999;
protection[PROT_FIRE] = 9999;
protection[PROT_FLY] = 9999;
protection[PROT_MAGIC] = 150;
damagetype = DAM_EDGE;
fight_tactic = FAI_HUMAN_MAGE;
senses = SENSE_HEAR | SENSE_SEE | SENSE_SMELL;
senses_range = 3000;
aivar[AIV_FINDABLE] = PASSIVE;
aivar[AIV_PCISSTRONGER] = 1200;
aivar[AIV_BEENATTACKED] = 1000;
aivar[AIV_HIGHWAYMEN] = 700;
aivar[AIV_HAS_ERPRESSED] = 5;
aivar[AIV_BEGGAR] = 10;
aivar[AIV_OBSERVEINTRUDER] = FALSE;
start_aistate = zs_mm_allscheduler;
aivar[AIV_HASBEENDEFEATEDINPORTALROOM] = ONLYROUTINE;
};
func void set_undeadorcshaman_visuals()
{
Mdl_SetVisual(self,"Orc.mds");
Mdl_SetVisualBody(self,"UOS_Body",DEFAULT,DEFAULT,"",DEFAULT,DEFAULT,-1);
};
instance UNDEADORCSHAMAN(MST_DEFAULT_UNDEADORCSHAMAN)
{
set_undeadorcshaman_visuals();
EquipItem(self,itrwudorcstaff);
CreateInvItem(self,itarrune_6_3_breathofdeath);
CreateInvItems(self,itarscrollsummongolem,20);
};
| D |
/*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* Port to the D programming language:
* Frank Benoit <benoit@tionex.de>
*******************************************************************************/
module org.eclipse.swt.graphics.TextStyle;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.GlyphMetrics;
import java.lang.all;
/**
* <code>TextStyle</code> defines a set of styles that can be applied
* to a range of text.
* <p>
* The hashCode() method in this class uses the values of the public
* fields to compute the hash value. When storing instances of the
* class in hashed collections, do not modify these fields after the
* object has been inserted.
* </p>
* <p>
* Application code does <em>not</em> need to explicitly release the
* resources managed by each instance when those instances are no longer
* required, and thus no <code>dispose()</code> method is provided.
* </p>
*
* @see TextLayout
* @see Font
* @see Color
* @see <a href="http://www.eclipse.org/swt/snippets/#textlayout">TextLayout, TextStyle snippets</a>
* @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
*
* @since 3.0
*/
public class TextStyle {
/**
* the font of the style
*/
public Font font;
/**
* the foreground of the style
*/
public Color foreground;
/**
* the background of the style
*/
public Color background;
/**
* the underline flag of the style. The default underline
* style is <code>SWT.UNDERLINE_SINGLE</code>.
*
*
* @since 3.1
*/
public bool underline;
/**
* the underline color of the style
*
* @since 3.4
*/
public Color underlineColor;
/**
* the underline style. This style is ignored when
* <code>underline</code> is false.
* <p>
* This value should be one of <code>SWT.UNDERLINE_SINGLE</code>,
* <code>SWT.UNDERLINE_DOUBLE</code>, <code>SWT.UNDERLINE_ERROR</code>,
* or <code>SWT.UNDERLINE_SQUIGGLE</code>.
* </p>
*
* @see SWT#UNDERLINE_SINGLE
* @see SWT#UNDERLINE_DOUBLE
* @see SWT#UNDERLINE_ERROR
* @see SWT#UNDERLINE_SQUIGGLE
*
* @since 3.4
*/
public int underlineStyle;
/**
* the strikeout flag of the style
*
* @since 3.1
*/
public bool strikeout;
/**
* the strikeout color of the style
*
* @since 3.4
*/
public Color strikeoutColor;
/**
* the border style. The default border style is <code>SWT.NONE</code>.
* <p>
* This value should be one of <code>SWT.BORDER_SOLID</code>,
* <code>SWT.BORDER_DASH</code>,<code>SWT.BORDER_DOT</code> or
* <code>SWT.NONE</code>.
* </p>
*
* @see SWT#BORDER_SOLID
* @see SWT#BORDER_DASH
* @see SWT#BORDER_DOT
* @see SWT#NONE
*
* @since 3.4
*/
public int borderStyle;
/**
* the border color of the style
*
* @since 3.4
*/
public Color borderColor;
/**
* the GlyphMetrics of the style
*
* @since 3.2
*/
public GlyphMetrics metrics;
/**
* the baseline rise of the style.
*
* @since 3.2
*/
public int rise;
/**
* Create an empty text style.
*
* @since 3.4
*/
public this () {
}
/**
* Create a new text style with the specified font, foreground
* and background.
*
* @param font the font of the style, <code>null</code> if none
* @param foreground the foreground color of the style, <code>null</code> if none
* @param background the background color of the style, <code>null</code> if none
*/
public this (Font font, Color foreground, Color background) {
if (font !is null && font.isDisposed()) SWT.error (SWT.ERROR_INVALID_ARGUMENT);
if (foreground !is null && foreground.isDisposed()) SWT.error (SWT.ERROR_INVALID_ARGUMENT);
if (background !is null && background.isDisposed()) SWT.error (SWT.ERROR_INVALID_ARGUMENT);
this.font = font;
this.foreground = foreground;
this.background = background;
}
/**
* Create a new text style from an existing text style.
*
* @param style the style to copy
*
* @since 3.4
*/
public this (TextStyle style) {
if (style is null) SWT.error (SWT.ERROR_INVALID_ARGUMENT);
font = style.font;
foreground = style.foreground;
background = style.background;
underline = style.underline;
underlineColor = style.underlineColor;
underlineStyle = style.underlineStyle;
strikeout = style.strikeout;
strikeoutColor = style.strikeoutColor;
borderStyle = style.borderStyle;
borderColor = style.borderColor;
metrics = style.metrics;
rise = style.rise;
}
/**
* Compares the argument to the receiver, and returns true
* if they represent the <em>same</em> object using a class
* specific comparison.
*
* @param object the object to compare with this object
* @return <code>true</code> if the object is the same as this object and <code>false</code> otherwise
*
* @see #hashCode()
*/
public override equals_t opEquals(Object object) {
if (object is this) return true;
if (object is null) return false;
if (!(cast(TextStyle)object)) return false;
TextStyle style = cast(TextStyle)object;
if (foreground !is null) {
if ( foreground !is style.foreground ) return false;
} else if (style.foreground !is null) return false;
if (background !is null) {
if ( background !is style.background ) return false;
} else if (style.background !is null) return false;
if (font !is null) {
if (font !is style.font) return false;
} else if (style.font !is null) return false;
if (metrics !is null || style.metrics !is null) return false;
if (underline !is style.underline) return false;
if (underlineStyle !is style.underlineStyle) return false;
if (borderStyle !is style.borderStyle) return false;
if (strikeout !is style.strikeout) return false;
if (rise !is style.rise) return false;
if (underlineColor !is null) {
if (underlineColor != (style.underlineColor)) return false;
} else if (style.underlineColor !is null) return false;
if (strikeoutColor !is null) {
if (strikeoutColor != (style.strikeoutColor)) return false;
} else if (style.strikeoutColor !is null) return false;
if (underlineStyle !is style.underlineStyle) return false;
if (borderColor !is null) {
if (borderColor != (style.borderColor)) return false;
} else if (style.borderColor !is null) return false;
return true;
}
/**
* Returns an integer hash code for the receiver. Any two
* objects that return <code>true</code> when passed to
* <code>equals</code> must return the same value for this
* method.
*
* @return the receiver's hash
*
* @see #equals(Object)
*/
public override hash_t toHash() {
int hash = 0;
if (foreground !is null) hash ^= foreground.toHash();
if (background !is null) hash ^= background.toHash();
if (font !is null) hash ^= font.toHash();
if (metrics !is null) hash ^= metrics.toHash();
if (underline) hash ^= hash;
if (strikeout) hash ^= hash;
hash ^= rise;
if (underlineColor !is null) hash ^= underlineColor.toHash();
if (strikeoutColor !is null) hash ^= strikeoutColor.toHash();
if (borderColor !is null) hash ^= borderColor.toHash();
hash ^= underlineStyle;
return hash;
}
bool isAdherentBorder(TextStyle style) {
if (this is style) return true;
if (style is null) return false;
if (borderStyle !is style.borderStyle) return false;
if (borderColor !is null) {
if (borderColor != (style.borderColor)) return false;
} else if (style.borderColor !is null) return false;
return true;
}
bool isAdherentUnderline(TextStyle style) {
if (this is style) return true;
if (style is null) return false;
if (underline !is style.underline) return false;
if (underlineStyle !is style.underlineStyle) return false;
if (underlineColor !is null) {
if (underlineColor != (style.underlineColor)) return false;
} else if (style.underlineColor !is null) return false;
return true;
}
bool isAdherentStrikeout(TextStyle style) {
if (this is style) return true;
if (style is null) return false;
if (strikeout !is style.strikeout) return false;
if (strikeoutColor !is null) {
if (strikeoutColor != (style.strikeoutColor)) return false;
} else if (style.strikeoutColor !is null) return false;
return true;
}
/**
* Returns a string containing a concise, human-readable
* description of the receiver.
*
* @return a string representation of the <code>TextStyle</code>
*/
override public String toString () {
String buffer = "TextStyle {";
int startLength = cast(int)/*64bit*/buffer.length;
if (font !is null) {
if (buffer.length > startLength) buffer ~= ", ";
buffer ~= "font=";
buffer ~= font.toString;
}
if (foreground !is null) {
if (buffer.length > startLength) buffer ~= ", ";
buffer ~= "foreground=";
buffer ~= foreground.toString;
}
if (background !is null) {
if (buffer.length > startLength) buffer ~= ", ";
buffer ~= "background=";
buffer ~= background.toString;
}
if (underline) {
if (buffer.length > startLength) buffer ~= ", ";
buffer ~= "underlined";
}
if (strikeout) {
if (buffer.length > startLength) buffer ~= ", ";
buffer ~= "striked out";
}
if (rise !is 0) {
if (buffer.length > startLength) buffer ~= ", ";
buffer ~= "rise=";
buffer ~= String_valueOf(rise);
}
if (metrics !is null) {
if (buffer.length > startLength) buffer ~= ", ";
buffer ~= "metrics=";
buffer ~= metrics.toString;
}
buffer ~= "}";
return buffer;
}
}
| D |
import std.stdio, std.array, std.string, std.conv, std.algorithm;
import std.typecons, std.range, std.random, std.math, std.container;
import std.numeric, std.bigint, core.bitop;
void main() {
immutable long MOD = 10^^9 + 7;
auto s = readln.split.map!(to!int);
auto N = s[0];
auto K = s[1];
auto edges = new int[][](N);
foreach (i; 0..N-1) {
s = readln.split.map!(to!int);
edges[s[0]] ~= s[1];
edges[s[1]] ~= s[0];
}
if (K == 0) {
writeln(1);
return;
}
auto children = new int[](N);
auto dp = new long[][](N, N+2);
foreach (i; 0..N) fill(dp[i], 0);
auto tmp = new long[](N+1);
int dfs1(int n, int prev) {
children[n] = 1;
foreach (m; edges[n]) if (m != prev) children[n] += dfs1(m, n);
return children[n];
}
void dfs2(int n, int prev) {
foreach (m; edges[n]) if (m != prev) dfs2(m, n);
dp[n][children[n]] = 1;
if (children[n] == 1) return;
foreach (m; edges[n]) {
if (m == prev) continue;
fill(tmp, 0);
foreach (i; 0..children[n]) {
if (dp[n][i] == 0) continue;
foreach (j; 0..children[m]+1) {
if (i + j > children[n]) break;
tmp[i+j] += (dp[n][i] * dp[m][j]) % MOD;
tmp[i+j] %= MOD;
}
}
foreach (i; 0..children[n]+1) (dp[n][i] += tmp[i]) %= MOD;
foreach (i; 0..children[m]+1) (dp[n][i] += dp[m][i]) %= MOD;
}
}
dfs1(0, -1);
dfs2(0, -1);
//dp.each!writeln;
dp[0][K].writeln;
}
| D |
open rebellion against constituted authority (especially by seamen or soldiers against their officers)
engage in a mutiny against an authority
| D |
/Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintDescription.o : /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutSupportDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintViewDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutGuide.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerExtendable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerRelatable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerEditable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerFinalizable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerPriortizable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintConfig.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/Debugging.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintItem.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/LayoutConstraintItem.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintRelation.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDescription.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMaker.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/Typealiases.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintAttributes.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutGuide+Extensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/UILayoutSupport+Extensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintView+Extensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDirectionalInsets.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintInsets.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintRelatableTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMultiplierTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintOffsetTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDirectionalInsetTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintInsetTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintConstantTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintPriorityTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/Constraint.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/LayoutConstraint.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutSupport.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintView.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintPriority.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/Target\ Support\ Files/SnapKit/SnapKit-umbrella.h /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintDescription~partial.swiftmodule : /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutSupportDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintViewDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutGuide.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerExtendable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerRelatable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerEditable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerFinalizable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerPriortizable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintConfig.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/Debugging.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintItem.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/LayoutConstraintItem.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintRelation.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDescription.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMaker.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/Typealiases.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintAttributes.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutGuide+Extensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/UILayoutSupport+Extensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintView+Extensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDirectionalInsets.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintInsets.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintRelatableTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMultiplierTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintOffsetTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDirectionalInsetTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintInsetTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintConstantTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintPriorityTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/Constraint.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/LayoutConstraint.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutSupport.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintView.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintPriority.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/Target\ Support\ Files/SnapKit/SnapKit-umbrella.h /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintDescription~partial.swiftdoc : /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutSupportDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintViewDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutGuide.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerExtendable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerRelatable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerEditable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerFinalizable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerPriortizable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintConfig.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/Debugging.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintItem.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/LayoutConstraintItem.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintRelation.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDescription.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMaker.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/Typealiases.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintAttributes.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutGuide+Extensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/UILayoutSupport+Extensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintView+Extensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDirectionalInsets.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintInsets.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintRelatableTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMultiplierTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintOffsetTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDirectionalInsetTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintInsetTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintConstantTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintPriorityTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/Constraint.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/LayoutConstraint.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutSupport.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintView.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintPriority.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/Target\ Support\ Files/SnapKit/SnapKit-umbrella.h /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintDescription~partial.swiftsourceinfo : /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutSupportDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintViewDSL.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutGuide.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerExtendable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerRelatable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerEditable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerFinalizable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMakerPriortizable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintConfig.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/Debugging.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintItem.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/LayoutConstraintItem.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintRelation.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDescription.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMaker.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/Typealiases.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintAttributes.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutGuide+Extensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/UILayoutSupport+Extensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintView+Extensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDirectionalInsets.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintInsets.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintRelatableTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintMultiplierTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintOffsetTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintDirectionalInsetTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintInsetTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintConstantTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintPriorityTarget.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/Constraint.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/LayoutConstraint.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintLayoutSupport.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintView.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/SnapKit/Source/ConstraintPriority.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/Target\ Support\ Files/SnapKit/SnapKit-umbrella.h /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
a city in southern England to the northwest of London
a university town in northern Mississippi
a university in England
a low shoe laced over the instep
| D |
module p.submodule1;
int something;
| D |
; Copyright (C) 2008 The Android Open Source Project
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
.source T_invoke_super_range_22.java
.class public dot.junit.opcodes.invoke_super_range.d.T_invoke_super_range_22
.super dot/junit/opcodes/invoke_super_range/d/TSuper
.method public <init>()V
.limit regs 2
invoke-direct {v1}, dot/junit/opcodes/invoke_super_range/d/TSuper/<init>()V
return-void
.end method
.method public run()I
.limit regs 6
new-instance v2, dot/junit/opcodes/invoke_super_range/d/TPlain
invoke-direct {v2}, dot/junit/opcodes/invoke_super_range/d/TPlain/<init>()V
invoke-super/range {v2}, dot/junit/opcodes/invoke_super_range/d/TSuper/toIntP()I
move-result v0
return v0
.end method
| D |
# FIXED
ROM/common_rom_init.obj: D:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/rom/r2/common_rom_init.c
D:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/rom/r2/common_rom_init.c:
| D |
/**
* Windows API header module
*
* Translated from MinGW Windows headers
*
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC src/core/sys/windows/_mmsystem.d)
*/
module core.sys.windows.mmsystem;
version (Windows):
pragma(lib, "winmm");
/* The #defines MAKEFOURCC, mmioFOURCC, sndAlias are used to define
* compile-time constants, so they are implemented as templates.
*/
private import core.sys.windows.w32api, core.sys.windows.windef, core.sys.windows.winver;
align(1):
const MAXPNAMELEN = 32;
const MAXERRORLENGTH = 256;
const MAX_JOYSTICKOEMVXDNAME = 260;
const TIME_MS = 1;
const TIME_SAMPLES = 2;
const TIME_BYTES = 4;
const TIME_SMPTE = 8;
const TIME_MIDI = 16;
const TIME_TICKS = 32;
template MAKEFOURCC(char c0, char c1, char c2, char c3)
{
const DWORD MAKEFOURCC = c0 | (c1<<8) | (c2<<16) | (cast(DWORD)c3 <<24);
}
template mmioFOURCC(char c0, char c1, char c2, char c3)
{
const DWORD mmioFOURCC = c0 | (c1<<8) | (c2<<16) | (cast(DWORD)c3 <<24);
}
enum {
MM_JOY1MOVE = 0x3A0,
MM_JOY2MOVE,
MM_JOY1ZMOVE,
MM_JOY2ZMOVE, // = 0x3A3
MM_JOY1BUTTONDOWN = 0x3B5,
MM_JOY2BUTTONDOWN,
MM_JOY1BUTTONUP,
MM_JOY2BUTTONUP,
MM_MCINOTIFY, // = 0x3B9
MM_WOM_OPEN = 0x3BB,
MM_WOM_CLOSE,
MM_WOM_DONE,
MM_WIM_OPEN,
MM_WIM_CLOSE,
MM_WIM_DATA,
MM_MIM_OPEN,
MM_MIM_CLOSE,
MM_MIM_DATA,
MM_MIM_LONGDATA,
MM_MIM_ERROR,
MM_MIM_LONGERROR,
MM_MOM_OPEN,
MM_MOM_CLOSE,
MM_MOM_DONE, // = 0x3C9
MM_DRVM_OPEN = 0x3D0,
MM_DRVM_CLOSE,
MM_DRVM_DATA,
MM_DRVM_ERROR,
MM_STREAM_OPEN,
MM_STREAM_CLOSE,
MM_STREAM_DONE,
MM_STREAM_ERROR, // = 0x3D7
MM_MOM_POSITIONCB = 0x3CA,
MM_MCISIGNAL,
MM_MIM_MOREDATA, // = 0x3CC
MM_MIXM_LINE_CHANGE = 0x3D0,
MM_MIXM_CONTROL_CHANGE = 0x3D1
}
const MMSYSERR_BASE = 0;
const WAVERR_BASE = 32;
const MIDIERR_BASE = 64;
const TIMERR_BASE = 96;
const JOYERR_BASE = 160;
const MCIERR_BASE = 256;
const MIXERR_BASE = 1024;
const MCI_STRING_OFFSET = 512;
const MCI_VD_OFFSET = 1024;
const MCI_CD_OFFSET = 1088;
const MCI_WAVE_OFFSET = 1152;
const MCI_SEQ_OFFSET = 1216;
enum {
MMSYSERR_NOERROR = 0,
MMSYSERR_ERROR = MMSYSERR_BASE+1,
MMSYSERR_BADDEVICEID,
MMSYSERR_NOTENABLED,
MMSYSERR_ALLOCATED,
MMSYSERR_INVALHANDLE,
MMSYSERR_NODRIVER,
MMSYSERR_NOMEM,
MMSYSERR_NOTSUPPORTED,
MMSYSERR_BADERRNUM,
MMSYSERR_INVALFLAG,
MMSYSERR_INVALPARAM,
MMSYSERR_HANDLEBUSY,
MMSYSERR_INVALIDALIAS,
MMSYSERR_BADDB,
MMSYSERR_KEYNOTFOUND,
MMSYSERR_READERROR,
MMSYSERR_WRITEERROR,
MMSYSERR_DELETEERROR,
MMSYSERR_VALNOTFOUND,
MMSYSERR_NODRIVERCB, // = MMSYSERR_BASE+20
MMSYSERR_LASTERROR = MMSYSERR_NODRIVERCB
}
enum {
DRV_LOAD = 1,
DRV_ENABLE,
DRV_OPEN,
DRV_CLOSE,
DRV_DISABLE,
DRV_FREE,
DRV_CONFIGURE,
DRV_QUERYCONFIGURE,
DRV_INSTALL,
DRV_REMOVE,
DRV_EXITSESSION,
DRV_POWER
}
const DRV_RESERVED = 0x800;
const DRV_USER = 0x4000;
const DRVCNF_CANCEL = 0;
const DRVCNF_OK = 1;
const DRVCNF_RESTART = 2;
const DRV_CANCEL = DRVCNF_CANCEL;
const DRV_OK = DRVCNF_OK;
const DRV_RESTART = DRVCNF_RESTART;
const DRV_MCI_FIRST = DRV_RESERVED;
const DRV_MCI_LAST = DRV_RESERVED + 0xFFF;
const CALLBACK_TYPEMASK = 0x70000;
const CALLBACK_NULL = 0;
const CALLBACK_WINDOW = 0x10000;
const CALLBACK_TASK = 0x20000;
const CALLBACK_FUNCTION = 0x30000;
const CALLBACK_THREAD = CALLBACK_TASK;
const CALLBACK_EVENT = 0x50000;
const SND_SYNC=0;
const SND_ASYNC=1;
const SND_NODEFAULT=2;
const SND_MEMORY=4;
const SND_LOOP=8;
const SND_NOSTOP=16;
const SND_NOWAIT=0x2000;
const SND_ALIAS=0x10000;
const SND_ALIAS_ID=0x110000;
const SND_FILENAME=0x20000;
const SND_RESOURCE=0x40004;
const SND_PURGE=0x40;
const SND_APPLICATION=0x80;
const SND_ALIAS_START=0;
template sndAlias(char c0, char c1)
{
const DWORD sndAlias = SND_ALIAS_START + c0 | (c1<<8);
}
const SND_ALIAS_SYSTEMASTERISK = sndAlias!('S', '*');
const SND_ALIAS_SYSTEMQUESTION = sndAlias!('S', '?');
const SND_ALIAS_SYSTEMHAND = sndAlias!('S', 'H');
const SND_ALIAS_SYSTEMEXIT = sndAlias!('S', 'E');
const SND_ALIAS_SYSTEMSTART = sndAlias!('S', 'S');
const SND_ALIAS_SYSTEMWELCOME = sndAlias!('S', 'W');
const SND_ALIAS_SYSTEMEXCLAMATION = sndAlias!('S', '!');
const SND_ALIAS_SYSTEMDEFAULT = sndAlias!('S', 'D');
enum {
WAVERR_BADFORMAT = (WAVERR_BASE + 0),
WAVERR_STILLPLAYING,
WAVERR_UNPREPARED,
WAVERR_SYNC, // = WAVERR_BASE + 3;
WAVERR_LASTERROR = WAVERR_SYNC
}
const WOM_OPEN = MM_WOM_OPEN;
const WOM_CLOSE = MM_WOM_CLOSE;
const WOM_DONE = MM_WOM_DONE;
const WIM_OPEN = MM_WIM_OPEN;
const WIM_CLOSE = MM_WIM_CLOSE;
const WIM_DATA = MM_WIM_DATA;
const UINT WAVE_MAPPER= -1; // FIXME: This doesn't make sense!
const WAVE_FORMAT_QUERY=1;
const WAVE_ALLOWSYNC=2;
const WAVE_MAPPED=4;
const WAVE_FORMAT_DIRECT=8;
const WAVE_FORMAT_DIRECT_QUERY=(WAVE_FORMAT_QUERY|WAVE_FORMAT_DIRECT);
const WHDR_DONE=1;
const WHDR_PREPARED=2;
const WHDR_BEGINLOOP=4;
const WHDR_ENDLOOP=8;
const WHDR_INQUEUE=16;
const WAVECAPS_PITCH=1;
const WAVECAPS_PLAYBACKRATE=2;
const WAVECAPS_VOLUME=4;
const WAVECAPS_LRVOLUME=8;
const WAVECAPS_SYNC=16;
const WAVECAPS_SAMPLEACCURATE=32;
const WAVECAPS_DIRECTSOUND=64;
const WAVE_INVALIDFORMAT=0;
const WAVE_FORMAT_1M08=1;
const WAVE_FORMAT_1S08=2;
const WAVE_FORMAT_1M16=4;
const WAVE_FORMAT_1S16=8;
const WAVE_FORMAT_2M08=16;
const WAVE_FORMAT_2S08=32;
const WAVE_FORMAT_2M16=64;
const WAVE_FORMAT_2S16=128;
const WAVE_FORMAT_4M08=256;
const WAVE_FORMAT_4S08=512;
const WAVE_FORMAT_4M16=1024;
const WAVE_FORMAT_4S16=2048;
const WAVE_FORMAT_PCM=1;
enum {
MIDIERR_UNPREPARED = MIDIERR_BASE,
MIDIERR_STILLPLAYING,
MIDIERR_NOMAP,
MIDIERR_NOTREADY,
MIDIERR_NODEVICE,
MIDIERR_INVALIDSETUP,
MIDIERR_BADOPENMODE,
MIDIERR_DONT_CONTINUE, // = MIDIERR_BASE+7
MIDIERR_LASTERROR = MIDIERR_DONT_CONTINUE
}
const MIDIPATCHSIZE=128;
const MIM_OPEN=MM_MIM_OPEN;
const MIM_CLOSE=MM_MIM_CLOSE;
const MIM_DATA=MM_MIM_DATA;
const MIM_LONGDATA=MM_MIM_LONGDATA;
const MIM_ERROR=MM_MIM_ERROR;
const MIM_LONGERROR=MM_MIM_LONGERROR;
const MOM_OPEN=MM_MOM_OPEN;
const MOM_CLOSE=MM_MOM_CLOSE;
const MOM_DONE=MM_MOM_DONE;
const MIM_MOREDATA=MM_MIM_MOREDATA;
const MOM_POSITIONCB=MM_MOM_POSITIONCB;
const UINT MIDIMAPPER= -1; // FIXME: uint is nonsense for this!
const UINT MIDI_MAPPER= -1; // FIXME: uint is nonsense for this!
const MIDI_IO_STATUS=32;
const MIDI_CACHE_ALL=1;
const MIDI_CACHE_BESTFIT=2;
const MIDI_CACHE_QUERY=3;
const MIDI_UNCACHE=4;
const MOD_MIDIPORT=1;
const MOD_SYNTH=2;
const MOD_SQSYNTH=3;
const MOD_FMSYNTH=4;
const MOD_MAPPER=5;
const MIDICAPS_VOLUME=1;
const MIDICAPS_LRVOLUME=2;
const MIDICAPS_CACHE=4;
const MIDICAPS_STREAM=8;
const MHDR_DONE=1;
const MHDR_PREPARED=2;
const MHDR_INQUEUE=4;
const MHDR_ISSTRM=8;
const MEVT_F_SHORT=0;
const MEVT_F_LONG=0x80000000;
const MEVT_F_CALLBACK=0x40000000;
BYTE MEVT_EVENTTYPE(DWORD x) { return cast(BYTE)((x>>24) &0xFF); }
DWORD MEVT_EVENTPARM(DWORD x) { return x & 0xFFFFFF; }
const MEVT_SHORTMSG=0;
const MEVT_TEMPO=1;
const MEVT_NOP=2;
const BYTE MEVT_LONGMSG = 0x80;
const BYTE MEVT_COMMENT = 0x82;
const BYTE MEVT_VERSION = 0x84;
const MIDISTRM_ERROR = -2;
const MIDIPROP_SET = 0x80000000;
const MIDIPROP_GET = 0x40000000;
const MIDIPROP_TIMEDIV = 1;
const MIDIPROP_TEMPO = 2;
const UINT AUX_MAPPER = -1;
const AUXCAPS_CDAUDIO=1;
const AUXCAPS_AUXIN=2;
const AUXCAPS_VOLUME=1;
const AUXCAPS_LRVOLUME=2;
const MIXER_SHORT_NAME_CHARS=16;
const MIXER_LONG_NAME_CHARS=64;
const MIXERR_INVALLINE=MIXERR_BASE;
const MIXERR_INVALCONTROL=(MIXERR_BASE+1);
const MIXERR_INVALVALUE=(MIXERR_BASE+2);
const MIXERR_LASTERROR=(MIXERR_BASE+2);
const MIXER_OBJECTF_HANDLE=0x80000000;
const MIXER_OBJECTF_MIXER=0;
const MIXER_OBJECTF_HMIXER=(MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIXER);
const MIXER_OBJECTF_WAVEOUT=0x10000000;
const MIXER_OBJECTF_HWAVEOUT=(MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_WAVEOUT);
const MIXER_OBJECTF_WAVEIN=0x20000000;
const MIXER_OBJECTF_HWAVEIN=(MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_WAVEIN);
const MIXER_OBJECTF_MIDIOUT=0x30000000;
const MIXER_OBJECTF_HMIDIOUT=(MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIDIOUT);
const MIXER_OBJECTF_MIDIIN=0x40000000;
const MIXER_OBJECTF_HMIDIIN=(MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIDIIN);
const MIXER_OBJECTF_AUX=0x50000000;
const MIXERLINE_LINEF_ACTIVE=1;
const MIXERLINE_LINEF_DISCONNECTED=0x8000;
const MIXERLINE_LINEF_SOURCE=0x80000000;
const MIXERLINE_COMPONENTTYPE_DST_FIRST=0;
const MIXERLINE_COMPONENTTYPE_DST_UNDEFINED=MIXERLINE_COMPONENTTYPE_DST_FIRST;
const MIXERLINE_COMPONENTTYPE_DST_DIGITAL=(MIXERLINE_COMPONENTTYPE_DST_FIRST+1);
const MIXERLINE_COMPONENTTYPE_DST_LINE=(MIXERLINE_COMPONENTTYPE_DST_FIRST+2);
const MIXERLINE_COMPONENTTYPE_DST_MONITOR=(MIXERLINE_COMPONENTTYPE_DST_FIRST+3);
const MIXERLINE_COMPONENTTYPE_DST_SPEAKERS=(MIXERLINE_COMPONENTTYPE_DST_FIRST+4);
const MIXERLINE_COMPONENTTYPE_DST_HEADPHONES=(MIXERLINE_COMPONENTTYPE_DST_FIRST+5);
const MIXERLINE_COMPONENTTYPE_DST_TELEPHONE=(MIXERLINE_COMPONENTTYPE_DST_FIRST+6);
const MIXERLINE_COMPONENTTYPE_DST_WAVEIN=(MIXERLINE_COMPONENTTYPE_DST_FIRST+7);
const MIXERLINE_COMPONENTTYPE_DST_VOICEIN=(MIXERLINE_COMPONENTTYPE_DST_FIRST+8);
const MIXERLINE_COMPONENTTYPE_DST_LAST=(MIXERLINE_COMPONENTTYPE_DST_FIRST+8);
const MIXERLINE_COMPONENTTYPE_SRC_FIRST=0x1000;
const MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED=MIXERLINE_COMPONENTTYPE_SRC_FIRST;
const MIXERLINE_COMPONENTTYPE_SRC_DIGITAL=(MIXERLINE_COMPONENTTYPE_SRC_FIRST+1);
const MIXERLINE_COMPONENTTYPE_SRC_LINE=(MIXERLINE_COMPONENTTYPE_SRC_FIRST+2);
const MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE=(MIXERLINE_COMPONENTTYPE_SRC_FIRST+3);
const MIXERLINE_COMPONENTTYPE_SRC_SYNTHESIZER=(MIXERLINE_COMPONENTTYPE_SRC_FIRST+4);
const MIXERLINE_COMPONENTTYPE_SRC_COMPACTDISC=(MIXERLINE_COMPONENTTYPE_SRC_FIRST+5);
const MIXERLINE_COMPONENTTYPE_SRC_TELEPHONE=(MIXERLINE_COMPONENTTYPE_SRC_FIRST+6);
const MIXERLINE_COMPONENTTYPE_SRC_PCSPEAKER=(MIXERLINE_COMPONENTTYPE_SRC_FIRST+7);
const MIXERLINE_COMPONENTTYPE_SRC_WAVEOUT=(MIXERLINE_COMPONENTTYPE_SRC_FIRST+8);
const MIXERLINE_COMPONENTTYPE_SRC_AUXILIARY=(MIXERLINE_COMPONENTTYPE_SRC_FIRST+9);
const MIXERLINE_COMPONENTTYPE_SRC_ANALOG=(MIXERLINE_COMPONENTTYPE_SRC_FIRST+10);
const MIXERLINE_COMPONENTTYPE_SRC_LAST=(MIXERLINE_COMPONENTTYPE_SRC_FIRST+10);
enum {
MIXERLINE_TARGETTYPE_UNDEFINED = 0,
MIXERLINE_TARGETTYPE_WAVEOUT,
MIXERLINE_TARGETTYPE_WAVEIN,
MIXERLINE_TARGETTYPE_MIDIOUT,
MIXERLINE_TARGETTYPE_MIDIIN,
MIXERLINE_TARGETTYPE_AUX // =5
}
const MIXER_GETLINEINFOF_DESTINATION=0;
const MIXER_GETLINEINFOF_SOURCE=1;
const MIXER_GETLINEINFOF_LINEID=2;
const MIXER_GETLINEINFOF_COMPONENTTYPE=3;
const MIXER_GETLINEINFOF_TARGETTYPE=4;
const MIXER_GETLINEINFOF_QUERYMASK=15;
const MIXERCONTROL_CONTROLF_UNIFORM=1;
const MIXERCONTROL_CONTROLF_MULTIPLE=2;
const MIXERCONTROL_CONTROLF_DISABLED=0x80000000;
const MIXERCONTROL_CT_CLASS_MASK=0xF0000000;
const MIXERCONTROL_CT_CLASS_CUSTOM=0;
const MIXERCONTROL_CT_CLASS_METER=0x10000000;
const MIXERCONTROL_CT_CLASS_SWITCH=0x20000000;
const MIXERCONTROL_CT_CLASS_NUMBER=0x30000000;
const MIXERCONTROL_CT_CLASS_SLIDER=0x40000000;
const MIXERCONTROL_CT_CLASS_FADER=0x50000000;
const MIXERCONTROL_CT_CLASS_TIME=0x60000000;
const MIXERCONTROL_CT_CLASS_LIST=0x70000000;
const MIXERCONTROL_CT_SUBCLASS_MASK=0xF000000;
const MIXERCONTROL_CT_SC_SWITCH_BOOLEAN=0;
const MIXERCONTROL_CT_SC_SWITCH_BUTTON=0x1000000;
const MIXERCONTROL_CT_SC_METER_POLLED=0;
const MIXERCONTROL_CT_SC_TIME_MICROSECS=0;
const MIXERCONTROL_CT_SC_TIME_MILLISECS=0x1000000;
const MIXERCONTROL_CT_SC_LIST_SINGLE=0;
const MIXERCONTROL_CT_SC_LIST_MULTIPLE=0x1000000;
const MIXERCONTROL_CT_UNITS_MASK=0xFF0000;
const MIXERCONTROL_CT_UNITS_CUSTOM=0;
const MIXERCONTROL_CT_UNITS_BOOLEAN=0x10000;
const MIXERCONTROL_CT_UNITS_SIGNED=0x20000;
const MIXERCONTROL_CT_UNITS_UNSIGNED=0x30000;
const MIXERCONTROL_CT_UNITS_DECIBELS=0x40000;
const MIXERCONTROL_CT_UNITS_PERCENT=0x50000;
const MIXERCONTROL_CONTROLTYPE_CUSTOM=(MIXERCONTROL_CT_CLASS_CUSTOM|MIXERCONTROL_CT_UNITS_CUSTOM);
const MIXERCONTROL_CONTROLTYPE_BOOLEANMETER=(MIXERCONTROL_CT_CLASS_METER|MIXERCONTROL_CT_SC_METER_POLLED|MIXERCONTROL_CT_UNITS_BOOLEAN);
const MIXERCONTROL_CONTROLTYPE_SIGNEDMETER=(MIXERCONTROL_CT_CLASS_METER|MIXERCONTROL_CT_SC_METER_POLLED|MIXERCONTROL_CT_UNITS_SIGNED);
const MIXERCONTROL_CONTROLTYPE_PEAKMETER=(MIXERCONTROL_CONTROLTYPE_SIGNEDMETER+1);
const MIXERCONTROL_CONTROLTYPE_UNSIGNEDMETER=(MIXERCONTROL_CT_CLASS_METER|MIXERCONTROL_CT_SC_METER_POLLED|MIXERCONTROL_CT_UNITS_UNSIGNED);
const MIXERCONTROL_CONTROLTYPE_BOOLEAN=(MIXERCONTROL_CT_CLASS_SWITCH|MIXERCONTROL_CT_SC_SWITCH_BOOLEAN|MIXERCONTROL_CT_UNITS_BOOLEAN);
const MIXERCONTROL_CONTROLTYPE_ONOFF=(MIXERCONTROL_CONTROLTYPE_BOOLEAN+1);
const MIXERCONTROL_CONTROLTYPE_MUTE=(MIXERCONTROL_CONTROLTYPE_BOOLEAN+2);
const MIXERCONTROL_CONTROLTYPE_MONO=(MIXERCONTROL_CONTROLTYPE_BOOLEAN+3);
const MIXERCONTROL_CONTROLTYPE_LOUDNESS=(MIXERCONTROL_CONTROLTYPE_BOOLEAN+4);
const MIXERCONTROL_CONTROLTYPE_STEREOENH=(MIXERCONTROL_CONTROLTYPE_BOOLEAN+5);
const MIXERCONTROL_CONTROLTYPE_BUTTON=(MIXERCONTROL_CT_CLASS_SWITCH|MIXERCONTROL_CT_SC_SWITCH_BUTTON|MIXERCONTROL_CT_UNITS_BOOLEAN);
const MIXERCONTROL_CONTROLTYPE_DECIBELS=(MIXERCONTROL_CT_CLASS_NUMBER|MIXERCONTROL_CT_UNITS_DECIBELS);
const MIXERCONTROL_CONTROLTYPE_SIGNED=(MIXERCONTROL_CT_CLASS_NUMBER|MIXERCONTROL_CT_UNITS_SIGNED);
const MIXERCONTROL_CONTROLTYPE_UNSIGNED=(MIXERCONTROL_CT_CLASS_NUMBER|MIXERCONTROL_CT_UNITS_UNSIGNED);
const MIXERCONTROL_CONTROLTYPE_PERCENT=(MIXERCONTROL_CT_CLASS_NUMBER|MIXERCONTROL_CT_UNITS_PERCENT);
const MIXERCONTROL_CONTROLTYPE_SLIDER=(MIXERCONTROL_CT_CLASS_SLIDER|MIXERCONTROL_CT_UNITS_SIGNED);
const MIXERCONTROL_CONTROLTYPE_PAN=(MIXERCONTROL_CONTROLTYPE_SLIDER+1);
const MIXERCONTROL_CONTROLTYPE_QSOUNDPAN=(MIXERCONTROL_CONTROLTYPE_SLIDER+2);
const MIXERCONTROL_CONTROLTYPE_FADER=(MIXERCONTROL_CT_CLASS_FADER|MIXERCONTROL_CT_UNITS_UNSIGNED);
const MIXERCONTROL_CONTROLTYPE_VOLUME=(MIXERCONTROL_CONTROLTYPE_FADER+1);
const MIXERCONTROL_CONTROLTYPE_BASS=(MIXERCONTROL_CONTROLTYPE_FADER+2);
const MIXERCONTROL_CONTROLTYPE_TREBLE=(MIXERCONTROL_CONTROLTYPE_FADER+3);
const MIXERCONTROL_CONTROLTYPE_EQUALIZER=(MIXERCONTROL_CONTROLTYPE_FADER+4);
const MIXERCONTROL_CONTROLTYPE_SINGLESELECT=(MIXERCONTROL_CT_CLASS_LIST|MIXERCONTROL_CT_SC_LIST_SINGLE|MIXERCONTROL_CT_UNITS_BOOLEAN);
const MIXERCONTROL_CONTROLTYPE_MUX=(MIXERCONTROL_CONTROLTYPE_SINGLESELECT+1);
const MIXERCONTROL_CONTROLTYPE_MULTIPLESELECT=(MIXERCONTROL_CT_CLASS_LIST|MIXERCONTROL_CT_SC_LIST_MULTIPLE|MIXERCONTROL_CT_UNITS_BOOLEAN);
const MIXERCONTROL_CONTROLTYPE_MIXER=(MIXERCONTROL_CONTROLTYPE_MULTIPLESELECT+1);
const MIXERCONTROL_CONTROLTYPE_MICROTIME=(MIXERCONTROL_CT_CLASS_TIME|MIXERCONTROL_CT_SC_TIME_MICROSECS|MIXERCONTROL_CT_UNITS_UNSIGNED);
const MIXERCONTROL_CONTROLTYPE_MILLITIME=(MIXERCONTROL_CT_CLASS_TIME|MIXERCONTROL_CT_SC_TIME_MILLISECS|MIXERCONTROL_CT_UNITS_UNSIGNED);
const MIXER_GETLINECONTROLSF_ALL=0;
const MIXER_GETLINECONTROLSF_ONEBYID=1;
const MIXER_GETLINECONTROLSF_ONEBYTYPE=2;
const MIXER_GETLINECONTROLSF_QUERYMASK=15;
const MIXER_GETCONTROLDETAILSF_VALUE=0;
const MIXER_GETCONTROLDETAILSF_LISTTEXT=1;
const MIXER_GETCONTROLDETAILSF_QUERYMASK=15;
const MIXER_SETCONTROLDETAILSF_VALUE=0;
const MIXER_SETCONTROLDETAILSF_CUSTOM=1;
const MIXER_SETCONTROLDETAILSF_QUERYMASK=15;
const TIMERR_NOERROR=0;
const TIMERR_NOCANDO=(TIMERR_BASE+1);
const TIMERR_STRUCT=(TIMERR_BASE+33);
const TIME_ONESHOT=0;
const TIME_PERIODIC=1;
const TIME_CALLBACK_FUNCTION=0;
const TIME_CALLBACK_EVENT_SET=16;
const TIME_CALLBACK_EVENT_PULSE=32;
static if (_WIN32_WINNT >= 0x501) {
const TIME_KILL_SYNCHRONOUS=0x0100;
}
const JOYERR_NOERROR = 0;
const JOYERR_PARMS=(JOYERR_BASE+5);
const JOYERR_NOCANDO=(JOYERR_BASE+6);
const JOYERR_UNPLUGGED=(JOYERR_BASE+7);
const JOY_BUTTON1=1;
const JOY_BUTTON2=2;
const JOY_BUTTON3=4;
const JOY_BUTTON4=8;
const JOY_BUTTON1CHG=256;
const JOY_BUTTON2CHG=512;
const JOY_BUTTON3CHG=1024;
const JOY_BUTTON4CHG=2048;
const JOY_BUTTON5=257;
const JOY_BUTTON6=513;
const JOY_BUTTON7=1025;
const JOY_BUTTON8=2049;
const JOY_BUTTON9=256;
const JOY_BUTTON10=512;
const JOY_BUTTON11=1024;
const JOY_BUTTON12=2048;
const JOY_BUTTON13=4096;
const JOY_BUTTON14=8192;
const JOY_BUTTON15=16384;
const JOY_BUTTON16=32768;
const JOY_BUTTON17=65536;
const JOY_BUTTON18=0x20000;
const JOY_BUTTON19=0x40000;
const JOY_BUTTON20=0x80000;
const JOY_BUTTON21=0x100000;
const JOY_BUTTON22=0x200000;
const JOY_BUTTON23=0x400000;
const JOY_BUTTON24=0x800000;
const JOY_BUTTON25=0x1000000;
const JOY_BUTTON26=0x2000000;
const JOY_BUTTON27=0x4000000;
const JOY_BUTTON28=0x8000000;
const JOY_BUTTON29=0x10000000;
const JOY_BUTTON30=0x20000000;
const JOY_BUTTON31=0x40000000;
const JOY_BUTTON32=0x80000000;
enum : DWORD {
JOY_POVCENTERED = -1,
JOY_POVFORWARD = 0,
JOY_POVBACKWARD = 18000,
JOY_POVLEFT = 27000,
JOY_POVRIGHT = 9000
}
const DWORD
JOY_RETURNX = 0x00000001,
JOY_RETURNY = 0x00000002,
JOY_RETURNZ = 0x00000004,
JOY_RETURNR = 0x00000008,
JOY_RETURNU = 0x00000010,
JOY_RETURNV = 0x00000020,
JOY_RETURNPOV = 0x00000040,
JOY_RETURNBUTTONS = 0x00000080,
JOY_RETURNRAWDATA = 0x00000100,
JOY_RETURNPOVCTS = 0x00000200,
JOY_RETURNCENTERED = 0x00000400,
JOY_USEDEADZONE = 0x00000800,
JOY_RETURNALL = JOY_RETURNX | JOY_RETURNY | JOY_RETURNZ | JOY_RETURNR
| JOY_RETURNU | JOY_RETURNV | JOY_RETURNPOV
| JOY_RETURNBUTTONS,
JOY_CAL_READALWAYS = 0x00010000,
JOY_CAL_READXYONLY = 0x00020000,
JOY_CAL_READ3 = 0x00040000,
JOY_CAL_READ4 = 0x00080000,
JOY_CAL_READXONLY = 0x00100000,
JOY_CAL_READYONLY = 0x00200000,
JOY_CAL_READ5 = 0x00400000,
JOY_CAL_READ6 = 0x00800000,
JOY_CAL_READZONLY = 0x01000000,
JOY_CAL_READRONLY = 0x02000000,
JOY_CAL_READUONLY = 0x04000000,
JOY_CAL_READVONLY = 0x08000000;
const JOYSTICKID1=0;
const JOYSTICKID2=1;
const JOYCAPS_HASZ=1;
const JOYCAPS_HASR=2;
const JOYCAPS_HASU=4;
const JOYCAPS_HASV=8;
const JOYCAPS_HASPOV=16;
const JOYCAPS_POV4DIR=32;
const JOYCAPS_POVCTS=64;
const MMIOERR_BASE=256;
const MMIOERR_FILENOTFOUND=(MMIOERR_BASE+1);
const MMIOERR_OUTOFMEMORY=(MMIOERR_BASE+2);
const MMIOERR_CANNOTOPEN=(MMIOERR_BASE+3);
const MMIOERR_CANNOTCLOSE=(MMIOERR_BASE+4);
const MMIOERR_CANNOTREAD=(MMIOERR_BASE+5);
const MMIOERR_CANNOTWRITE=(MMIOERR_BASE+6);
const MMIOERR_CANNOTSEEK=(MMIOERR_BASE+7);
const MMIOERR_CANNOTEXPAND=(MMIOERR_BASE+8);
const MMIOERR_CHUNKNOTFOUND=(MMIOERR_BASE+9);
const MMIOERR_UNBUFFERED=(MMIOERR_BASE+10);
const MMIOERR_PATHNOTFOUND=(MMIOERR_BASE+11);
const MMIOERR_ACCESSDENIED=(MMIOERR_BASE+12);
const MMIOERR_SHARINGVIOLATION=(MMIOERR_BASE+13);
const MMIOERR_NETWORKERROR=(MMIOERR_BASE+14);
const MMIOERR_TOOMANYOPENFILES=(MMIOERR_BASE+15);
const MMIOERR_INVALIDFILE=(MMIOERR_BASE+16);
const CFSEPCHAR='+';
const MMIO_RWMODE=3;
const MMIO_SHAREMODE=0x70;
const MMIO_CREATE=0x1000;
const MMIO_PARSE=256;
const MMIO_DELETE=512;
const MMIO_EXIST=0x4000;
const MMIO_ALLOCBUF=0x10000;
const MMIO_GETTEMP=0x20000;
const MMIO_DIRTY=0x10000000;
const MMIO_READ=0;
const MMIO_WRITE=1;
const MMIO_READWRITE=2;
const MMIO_COMPAT=0;
const MMIO_EXCLUSIVE=16;
const MMIO_DENYWRITE=32;
const MMIO_DENYREAD=0x30;
const MMIO_DENYNONE=64;
const MMIO_FHOPEN=16;
const MMIO_EMPTYBUF=16;
const MMIO_TOUPPER=16;
const MMIO_INSTALLPROC=0x10000;
const MMIO_GLOBALPROC=0x10000000;
const MMIO_REMOVEPROC=0x20000;
const MMIO_UNICODEPROC=0x1000000;
const MMIO_FINDPROC=0x40000;
const MMIO_FINDCHUNK=16;
const MMIO_FINDRIFF=32;
const MMIO_FINDLIST=64;
const MMIO_CREATERIFF=32;
const MMIO_CREATELIST=64;
const MMIOM_READ=MMIO_READ;
const MMIOM_WRITE=MMIO_WRITE;
const MMIOM_SEEK=2;
const MMIOM_OPEN=3;
const MMIOM_CLOSE=4;
const MMIOM_WRITEFLUSH=5;
const MMIOM_RENAME=6;
const MMIOM_USER=0x8000;
const FOURCC_RIFF = mmioFOURCC!('R', 'I', 'F', 'F');
const FOURCC_LIST = mmioFOURCC!('L', 'I', 'S', 'T');
const FOURCC_DOS = mmioFOURCC!('D', 'O', 'S', ' ');
const FOURCC_MEM = mmioFOURCC!('M', 'E', 'M', ' ');
const MMIO_DEFAULTBUFFER=8192;
enum {
MCIERR_INVALID_DEVICE_ID = MCIERR_BASE + 1,
MCIERR_UNRECOGNIZED_KEYWORD = MCIERR_BASE + 3,
MCIERR_UNRECOGNIZED_COMMAND = MCIERR_BASE + 5,
MCIERR_HARDWARE,
MCIERR_INVALID_DEVICE_NAME,
MCIERR_OUT_OF_MEMORY,
MCIERR_DEVICE_OPEN,
MCIERR_CANNOT_LOAD_DRIVER,
MCIERR_MISSING_COMMAND_STRING,
MCIERR_PARAM_OVERFLOW,
MCIERR_MISSING_STRING_ARGUMENT,
MCIERR_BAD_INTEGER,
MCIERR_PARSER_INTERNAL,
MCIERR_DRIVER_INTERNAL,
MCIERR_MISSING_PARAMETER,
MCIERR_UNSUPPORTED_FUNCTION,
MCIERR_FILE_NOT_FOUND,
MCIERR_DEVICE_NOT_READY,
MCIERR_INTERNAL,
MCIERR_DRIVER,
MCIERR_CANNOT_USE_ALL,
MCIERR_MULTIPLE,
MCIERR_EXTENSION_NOT_FOUND,
MCIERR_OUTOFRANGE, // = MCIERR_BASE+26
MCIERR_FLAGS_NOT_COMPATIBLE = MCIERR_BASE + 28,
MCIERR_FILE_NOT_SAVED = MCIERR_BASE + 30,
MCIERR_DEVICE_TYPE_REQUIRED,
MCIERR_DEVICE_LOCKED,
MCIERR_DUPLICATE_ALIAS,
MCIERR_BAD_CONSTANT,
MCIERR_MUST_USE_SHAREABLE,
MCIERR_MISSING_DEVICE_NAME,
MCIERR_BAD_TIME_FORMAT,
MCIERR_NO_CLOSING_QUOTE,
MCIERR_DUPLICATE_FLAGS,
MCIERR_INVALID_FILE,
MCIERR_NULL_PARAMETER_BLOCK,
MCIERR_UNNAMED_RESOURCE,
MCIERR_NEW_REQUIRES_ALIAS,
MCIERR_NOTIFY_ON_AUTO_OPEN,
MCIERR_NO_ELEMENT_ALLOWED,
MCIERR_NONAPPLICABLE_FUNCTION,
MCIERR_ILLEGAL_FOR_AUTO_OPEN,
MCIERR_FILENAME_REQUIRED,
MCIERR_EXTRA_CHARACTERS,
MCIERR_DEVICE_NOT_INSTALLED,
MCIERR_GET_CD,
MCIERR_SET_CD,
MCIERR_SET_DRIVE,
MCIERR_DEVICE_LENGTH,
MCIERR_DEVICE_ORD_LENGTH,
MCIERR_NO_INTEGER, // = MCIERR_BASE + 56
MCIERR_WAVE_OUTPUTSINUSE = MCIERR_BASE + 64,
MCIERR_WAVE_SETOUTPUTINUSE,
MCIERR_WAVE_INPUTSINUSE,
MCIERR_WAVE_SETINPUTINUSE,
MCIERR_WAVE_OUTPUTUNSPECIFIED,
MCIERR_WAVE_INPUTUNSPECIFIED,
MCIERR_WAVE_OUTPUTSUNSUITABLE,
MCIERR_WAVE_SETOUTPUTUNSUITABLE,
MCIERR_WAVE_INPUTSUNSUITABLE,
MCIERR_WAVE_SETINPUTUNSUITABLE, // = MCIERR_BASE + 73
MCIERR_SEQ_DIV_INCOMPATIBLE = MCIERR_BASE + 80,
MCIERR_SEQ_PORT_INUSE,
MCIERR_SEQ_PORT_NONEXISTENT,
MCIERR_SEQ_PORT_MAPNODEVICE,
MCIERR_SEQ_PORT_MISCERROR,
MCIERR_SEQ_TIMER,
MCIERR_SEQ_PORTUNSPECIFIED,
MCIERR_SEQ_NOMIDIPRESENT, // = MCIERR_BASE + 87
MCIERR_NO_WINDOW = MCIERR_BASE + 90,
MCIERR_CREATEWINDOW,
MCIERR_FILE_READ,
MCIERR_FILE_WRITE,
MCIERR_NO_IDENTITY // = MCIERR_BASE + 94
}
const MCIERR_CUSTOM_DRIVER_BASE = MCIERR_BASE + 256;
const MCI_FIRST=DRV_MCI_FIRST;
const MCI_OPEN=0x803;
const MCI_CLOSE=0x804;
const MCI_ESCAPE=0x805;
const MCI_PLAY=0x806;
const MCI_SEEK=0x807;
const MCI_STOP=0x808;
const MCI_PAUSE=0x809;
const MCI_INFO=0x80A;
const MCI_GETDEVCAPS=0x80B;
const MCI_SPIN=0x80C;
const MCI_SET=0x80D;
const MCI_STEP=0x80E;
const MCI_RECORD=0x80F;
const MCI_SYSINFO=0x810;
const MCI_BREAK=0x811;
const MCI_SAVE=0x813;
const MCI_STATUS=0x814;
const MCI_CUE=0x830;
const MCI_REALIZE=0x840;
const MCI_WINDOW=0x841;
const MCI_PUT=0x842;
const MCI_WHERE=0x843;
const MCI_FREEZE=0x844;
const MCI_UNFREEZE=0x845;
const MCI_LOAD=0x850;
const MCI_CUT=0x851;
const MCI_COPY=0x852;
const MCI_PASTE=0x853;
const MCI_UPDATE=0x854;
const MCI_RESUME=0x855;
const MCI_DELETE=0x856;
const MCI_USER_MESSAGES=(DRV_MCI_FIRST+0x400);
const MCI_LAST=0xFFF;
const MCIDEVICEID MCI_ALL_DEVICE_ID = -1;
const MCI_DEVTYPE_VCR=513;
const MCI_DEVTYPE_VIDEODISC=514;
const MCI_DEVTYPE_OVERLAY=515;
const MCI_DEVTYPE_CD_AUDIO=516;
const MCI_DEVTYPE_DAT=517;
const MCI_DEVTYPE_SCANNER=518;
const MCI_DEVTYPE_ANIMATION=519;
const MCI_DEVTYPE_DIGITAL_VIDEO=520;
const MCI_DEVTYPE_OTHER=521;
const MCI_DEVTYPE_WAVEFORM_AUDIO=522;
const MCI_DEVTYPE_SEQUENCER=523;
const MCI_DEVTYPE_FIRST=MCI_DEVTYPE_VCR;
const MCI_DEVTYPE_LAST=MCI_DEVTYPE_SEQUENCER;
const MCI_DEVTYPE_FIRST_USER=0x1000;
const MCI_MODE_NOT_READY=(MCI_STRING_OFFSET+12);
const MCI_MODE_STOP=(MCI_STRING_OFFSET+13);
const MCI_MODE_PLAY=(MCI_STRING_OFFSET+14);
const MCI_MODE_RECORD=(MCI_STRING_OFFSET+15);
const MCI_MODE_SEEK=(MCI_STRING_OFFSET+16);
const MCI_MODE_PAUSE=(MCI_STRING_OFFSET+17);
const MCI_MODE_OPEN=(MCI_STRING_OFFSET+18);
const MCI_FORMAT_MILLISECONDS=0;
const MCI_FORMAT_HMS=1;
const MCI_FORMAT_MSF=2;
const MCI_FORMAT_FRAMES=3;
const MCI_FORMAT_SMPTE_24=4;
const MCI_FORMAT_SMPTE_25=5;
const MCI_FORMAT_SMPTE_30=6;
const MCI_FORMAT_SMPTE_30DROP=7;
const MCI_FORMAT_BYTES=8;
const MCI_FORMAT_SAMPLES=9;
const MCI_FORMAT_TMSF=10;
// Macros
BYTE MCI_HMS_HOUR(DWORD t) { return cast(BYTE)(t); }
BYTE MCI_HMS_MINUTE(DWORD t) { return cast(BYTE)(t>>>8); }
BYTE MCI_HMS_SECOND(DWORD t) { return cast(BYTE)( t>>>16); }
DWORD MCI_MAKE_HMS(BYTE h, BYTE m, BYTE s) { return h |(m<<8)|(cast(DWORD)(s)<<16); }
DWORD MCI_MAKE_MSF(BYTE m, BYTE s, BYTE f) { return m |(s<<8)|(cast(DWORD)(f)<<16); }
DWORD MCI_MAKE_TMSF(BYTE t, BYTE m, BYTE s, BYTE f) {
return t |(m<<8)|(s<<16)|(cast(DWORD)(f)<< 24); }
BYTE MCI_MSF_MINUTE(DWORD t) { return cast(BYTE)(t); }
BYTE MCI_MSF_SECOND(DWORD t) { return cast(BYTE)(t >>> 8); }
BYTE MCI_MSF_FRAME(DWORD t) { return cast(BYTE)(t >>> 16); }
BYTE MCI_TMSF_TRACK(DWORD t) { return cast(BYTE)(t); }
BYTE MCI_TMSF_MINUTE(DWORD t) { return cast(BYTE)(t>>8); }
BYTE MCI_TMSF_SECOND(DWORD t) { return cast(BYTE)(t>>16); }
BYTE MCI_TMSF_FRAME(DWORD t) { return cast(BYTE)(t>>24); }
const MCI_NOTIFY_SUCCESSFUL=1;
const MCI_NOTIFY_SUPERSEDED=2;
const MCI_NOTIFY_ABORTED=4;
const MCI_NOTIFY_FAILURE=8;
const MCI_NOTIFY=1;
const MCI_WAIT=2;
const MCI_FROM=4;
const MCI_TO=8;
const MCI_TRACK=16;
const MCI_OPEN_SHAREABLE=256;
const MCI_OPEN_ELEMENT=512;
const MCI_OPEN_ALIAS=1024;
const MCI_OPEN_ELEMENT_ID=2048;
const MCI_OPEN_TYPE_ID=0x1000;
const MCI_OPEN_TYPE=0x2000;
const MCI_SEEK_TO_START=256;
const MCI_SEEK_TO_END=512;
const MCI_STATUS_ITEM=256;
const MCI_STATUS_START=512;
const MCI_STATUS_LENGTH=1;
const MCI_STATUS_POSITION=2;
const MCI_STATUS_NUMBER_OF_TRACKS=3;
const MCI_STATUS_MODE=4;
const MCI_STATUS_MEDIA_PRESENT=5;
const MCI_STATUS_TIME_FORMAT=6;
const MCI_STATUS_READY=7;
const MCI_STATUS_CURRENT_TRACK=8;
const MCI_INFO_PRODUCT=256;
const MCI_INFO_FILE=512;
const MCI_INFO_MEDIA_UPC=1024;
const MCI_INFO_MEDIA_IDENTITY=2048;
const MCI_INFO_NAME=0x1000;
const MCI_INFO_COPYRIGHT=0x2000;
const MCI_GETDEVCAPS_ITEM=256;
const MCI_GETDEVCAPS_CAN_RECORD=1;
const MCI_GETDEVCAPS_HAS_AUDIO=2;
const MCI_GETDEVCAPS_HAS_VIDEO=3;
const MCI_GETDEVCAPS_DEVICE_TYPE=4;
const MCI_GETDEVCAPS_USES_FILES=5;
const MCI_GETDEVCAPS_COMPOUND_DEVICE=6;
const MCI_GETDEVCAPS_CAN_EJECT=7;
const MCI_GETDEVCAPS_CAN_PLAY=8;
const MCI_GETDEVCAPS_CAN_SAVE=9;
const MCI_SYSINFO_QUANTITY=256;
const MCI_SYSINFO_OPEN=512;
const MCI_SYSINFO_NAME=1024;
const MCI_SYSINFO_INSTALLNAME=2048;
const MCI_SET_DOOR_OPEN=256;
const MCI_SET_DOOR_CLOSED=512;
const MCI_SET_TIME_FORMAT=1024;
const MCI_SET_AUDIO=2048;
const MCI_SET_VIDEO=0x1000;
const MCI_SET_ON=0x2000;
const MCI_SET_OFF=0x4000;
const MCI_SET_AUDIO_ALL=0;
const MCI_SET_AUDIO_LEFT=1;
const MCI_SET_AUDIO_RIGHT=2;
const MCI_BREAK_KEY=256;
const MCI_BREAK_HWND=512;
const MCI_BREAK_OFF=1024;
const MCI_RECORD_INSERT=256;
const MCI_RECORD_OVERWRITE=512;
const MCI_SAVE_FILE=256;
const MCI_LOAD_FILE=256;
const MCI_VD_MODE_PARK=(MCI_VD_OFFSET+1);
const MCI_VD_MEDIA_CLV=(MCI_VD_OFFSET+2);
const MCI_VD_MEDIA_CAV=(MCI_VD_OFFSET+3);
const MCI_VD_MEDIA_OTHER=(MCI_VD_OFFSET+4);
const MCI_VD_FORMAT_TRACK=0x4001;
const MCI_VD_PLAY_REVERSE=0x10000;
const MCI_VD_PLAY_FAST=0x20000;
const MCI_VD_PLAY_SPEED=0x40000;
const MCI_VD_PLAY_SCAN=0x80000;
const MCI_VD_PLAY_SLOW=0x100000;
const MCI_VD_SEEK_REVERSE=0x10000;
const MCI_VD_STATUS_SPEED=0x4002;
const MCI_VD_STATUS_FORWARD=0x4003;
const MCI_VD_STATUS_MEDIA_TYPE=0x4004;
const MCI_VD_STATUS_SIDE=0x4005;
const MCI_VD_STATUS_DISC_SIZE=0x4006;
const MCI_VD_GETDEVCAPS_CLV=0x10000;
const MCI_VD_GETDEVCAPS_CAV=0x20000;
const MCI_VD_SPIN_UP=0x10000;
const MCI_VD_SPIN_DOWN=0x20000;
const MCI_VD_GETDEVCAPS_CAN_REVERSE=0x4002;
const MCI_VD_GETDEVCAPS_FAST_RATE=0x4003;
const MCI_VD_GETDEVCAPS_SLOW_RATE=0x4004;
const MCI_VD_GETDEVCAPS_NORMAL_RATE=0x4005;
const MCI_VD_STEP_FRAMES=0x10000;
const MCI_VD_STEP_REVERSE=0x20000;
const MCI_VD_ESCAPE_STRING=256;
const MCI_CDA_STATUS_TYPE_TRACK=0x4001;
const MCI_CDA_TRACK_AUDIO=MCI_CD_OFFSET;
const MCI_CDA_TRACK_OTHER=(MCI_CD_OFFSET+1);
const MCI_WAVE_PCM=MCI_WAVE_OFFSET;
const MCI_WAVE_MAPPER=(MCI_WAVE_OFFSET+1);
const MCI_WAVE_OPEN_BUFFER=0x10000;
const MCI_WAVE_SET_FORMATTAG=0x10000;
const MCI_WAVE_SET_CHANNELS=0x20000;
const MCI_WAVE_SET_SAMPLESPERSEC=0x40000;
const MCI_WAVE_SET_AVGBYTESPERSEC=0x80000;
const MCI_WAVE_SET_BLOCKALIGN=0x100000;
const MCI_WAVE_SET_BITSPERSAMPLE=0x200000;
const MCI_WAVE_INPUT=0x400000;
const MCI_WAVE_OUTPUT=0x800000;
const MCI_WAVE_STATUS_FORMATTAG=0x4001;
const MCI_WAVE_STATUS_CHANNELS=0x4002;
const MCI_WAVE_STATUS_SAMPLESPERSEC=0x4003;
const MCI_WAVE_STATUS_AVGBYTESPERSEC=0x4004;
const MCI_WAVE_STATUS_BLOCKALIGN=0x4005;
const MCI_WAVE_STATUS_BITSPERSAMPLE=0x4006;
const MCI_WAVE_STATUS_LEVEL=0x4007;
const MCI_WAVE_SET_ANYINPUT=0x4000000;
const MCI_WAVE_SET_ANYOUTPUT=0x8000000;
const MCI_WAVE_GETDEVCAPS_INPUTS=0x4001;
const MCI_WAVE_GETDEVCAPS_OUTPUTS=0x4002;
const MCI_SEQ_DIV_PPQN=MCI_SEQ_OFFSET;
const MCI_SEQ_DIV_SMPTE_24=(MCI_SEQ_OFFSET+1);
const MCI_SEQ_DIV_SMPTE_25=(MCI_SEQ_OFFSET+2);
const MCI_SEQ_DIV_SMPTE_30DROP=(MCI_SEQ_OFFSET+3);
const MCI_SEQ_DIV_SMPTE_30=(MCI_SEQ_OFFSET+4);
const MCI_SEQ_FORMAT_SONGPTR=0x4001;
const MCI_SEQ_FILE=0x4002;
const MCI_SEQ_MIDI=0x4003;
const MCI_SEQ_SMPTE=0x4004;
const MCI_SEQ_NONE=65533;
const MCI_SEQ_MAPPER=65535;
const MCI_SEQ_STATUS_TEMPO=0x4002;
const MCI_SEQ_STATUS_PORT=0x4003;
const MCI_SEQ_STATUS_SLAVE=0x4007;
const MCI_SEQ_STATUS_MASTER=0x4008;
const MCI_SEQ_STATUS_OFFSET=0x4009;
const MCI_SEQ_STATUS_DIVTYPE=0x400A;
const MCI_SEQ_STATUS_NAME=0x400B;
const MCI_SEQ_STATUS_COPYRIGHT=0x400C;
const MCI_SEQ_SET_TEMPO=0x10000;
const MCI_SEQ_SET_PORT=0x20000;
const MCI_SEQ_SET_SLAVE=0x40000;
const MCI_SEQ_SET_MASTER=0x80000;
const MCI_SEQ_SET_OFFSET=0x1000000;
const MCI_ANIM_OPEN_WS=0x10000;
const MCI_ANIM_OPEN_PARENT=0x20000;
const MCI_ANIM_OPEN_NOSTATIC=0x40000;
const MCI_ANIM_PLAY_SPEED=0x10000;
const MCI_ANIM_PLAY_REVERSE=0x20000;
const MCI_ANIM_PLAY_FAST=0x40000;
const MCI_ANIM_PLAY_SLOW=0x80000;
const MCI_ANIM_PLAY_SCAN=0x100000;
const MCI_ANIM_STEP_REVERSE=0x10000;
const MCI_ANIM_STEP_FRAMES=0x20000;
const MCI_ANIM_STATUS_SPEED=0x4001;
const MCI_ANIM_STATUS_FORWARD=0x4002;
const MCI_ANIM_STATUS_HWND=0x4003;
const MCI_ANIM_STATUS_HPAL=0x4004;
const MCI_ANIM_STATUS_STRETCH=0x4005;
const MCI_ANIM_INFO_TEXT=0x10000;
const MCI_ANIM_GETDEVCAPS_CAN_REVERSE=0x4001;
const MCI_ANIM_GETDEVCAPS_FAST_RATE=0x4002;
const MCI_ANIM_GETDEVCAPS_SLOW_RATE=0x4003;
const MCI_ANIM_GETDEVCAPS_NORMAL_RATE=0x4004;
const MCI_ANIM_GETDEVCAPS_PALETTES=0x4006;
const MCI_ANIM_GETDEVCAPS_CAN_STRETCH=0x4007;
const MCI_ANIM_GETDEVCAPS_MAX_WINDOWS=0x4008;
const MCI_ANIM_REALIZE_NORM=0x10000;
const MCI_ANIM_REALIZE_BKGD=0x20000;
const MCI_ANIM_WINDOW_HWND=0x10000;
const MCI_ANIM_WINDOW_STATE=0x40000;
const MCI_ANIM_WINDOW_TEXT=0x80000;
const MCI_ANIM_WINDOW_ENABLE_STRETCH=0x100000;
const MCI_ANIM_WINDOW_DISABLE_STRETCH=0x200000;
const MCI_ANIM_WINDOW_DEFAULT=0x0;
const MCI_ANIM_RECT=0x10000;
const MCI_ANIM_PUT_SOURCE=0x20000;
const MCI_ANIM_PUT_DESTINATION=0x40000;
const MCI_ANIM_WHERE_SOURCE=0x20000;
const MCI_ANIM_WHERE_DESTINATION=0x40000;
const MCI_ANIM_UPDATE_HDC=0x20000;
const MCI_OVLY_OPEN_WS=0x10000;
const MCI_OVLY_OPEN_PARENT=0x20000;
const MCI_OVLY_STATUS_HWND=0x4001;
const MCI_OVLY_STATUS_STRETCH=0x4002;
const MCI_OVLY_INFO_TEXT=0x10000;
const MCI_OVLY_GETDEVCAPS_CAN_STRETCH=0x4001;
const MCI_OVLY_GETDEVCAPS_CAN_FREEZE=0x4002;
const MCI_OVLY_GETDEVCAPS_MAX_WINDOWS=0x4003;
const MCI_OVLY_WINDOW_HWND=0x10000;
const MCI_OVLY_WINDOW_STATE=0x40000;
const MCI_OVLY_WINDOW_TEXT=0x80000;
const MCI_OVLY_WINDOW_ENABLE_STRETCH=0x100000;
const MCI_OVLY_WINDOW_DISABLE_STRETCH=0x200000;
const MCI_OVLY_WINDOW_DEFAULT=0x0;
const MCI_OVLY_RECT=0x10000;
const MCI_OVLY_PUT_SOURCE=0x20000;
const MCI_OVLY_PUT_DESTINATION=0x40000;
const MCI_OVLY_PUT_FRAME=0x80000;
const MCI_OVLY_PUT_VIDEO=0x100000;
const MCI_OVLY_WHERE_SOURCE=0x20000;
const MCI_OVLY_WHERE_DESTINATION=0x40000;
const MCI_OVLY_WHERE_FRAME=0x80000;
const MCI_OVLY_WHERE_VIDEO=0x100000;
const NEWTRANSPARENT=3;
const QUERYROPSUPPORT=40;
const SELECTDIB=41;
LONG DIBINDEX(WORD n) {
return MAKELONG(n, 0x10FF);
}
const CAPS1=94;
const C1_TRANSPARENT=1;
//const SEEK_SET=0;
//const SEEK_CUR=1;
//const SEEK_END=2;
public import core.stdc.stdio : SEEK_SET, SEEK_CUR, SEEK_END;
alias DWORD MCIERROR;
alias UINT MCIDEVICEID;
alias UINT function (MCIDEVICEID, DWORD) YIELDPROC;
alias UINT MMVERSION;
alias UINT MMRESULT;
struct MMTIME {
UINT wType;
union {
DWORD ms;
DWORD sample;
DWORD cb;
DWORD ticks;
struct smpte {
BYTE hour;
BYTE min;
BYTE sec;
BYTE frame;
BYTE fps;
BYTE dummy;
BYTE[2] pad;
};
struct midi {
DWORD songptrpos;
}
}
}
alias MMTIME* PMMTIME, LPMMTIME;
alias TypeDef!(HANDLE) HDRVR;
struct DRVCONFIGINFO {
DWORD dwDCISize;
LPCWSTR lpszDCISectionName;
LPCWSTR lpszDCIAliasName;
}
alias DRVCONFIGINFO * PDRVCONFIGINFO, LPDRVCONFIGINFO;
struct DRVCONFIGINFOEX {
DWORD dwDCISize;
LPCWSTR lpszDCISectionName;
LPCWSTR lpszDCIAliasName;
DWORD dnDevNode;
}
alias DRVCONFIGINFOEX* PDRVCONFIGINFOEX, LPDRVCONFIGINFOEX;
extern(Windows):
/+FIXME: I couldn't find these in MSDN.
alias void function (HDRVR, UINT, DWORD, DWORD, DWORD) DRVCALLBACK;
LRESULT DRIVERPROC (DWORD, HDRVR, UINT, LPARAM, LPARAM);
alias DRVCALLBACK* LPDRVCALLBACK, PDRVCALLBACK;
alias DRVCALLBACK WAVECALLBACK;
alias WAVECALLBACK* LPWAVECALLBACK;
alias DRVCALLBACK MIDICALLBACK;
alias MIDICALLBACK* LPMIDICALLBACK;
+/
alias TypeDef!(HANDLE) HWAVE;
alias TypeDef!(HANDLE) HWAVEIN;
alias TypeDef!(HANDLE) HWAVEOUT;
alias HWAVEIN* LPHWAVEIN;
alias HWAVEOUT* LPHWAVEOUT;
struct WAVEHDR {
LPSTR lpData;
DWORD dwBufferLength;
DWORD dwBytesRecorded;
DWORD dwUser;
DWORD dwFlags;
DWORD dwLoops;
WAVEHDR *lpNext;
DWORD reserved;
}
alias WAVEHDR* PWAVEHDR, LPWAVEHDR;
struct WAVEOUTCAPSA {
WORD wMid;
WORD wPid;
MMVERSION vDriverVersion;
CHAR[MAXPNAMELEN] szPname;
DWORD dwFormats;
WORD wChannels;
WORD wReserved1;
DWORD dwSupport;
}
alias WAVEOUTCAPSA* PWAVEOUTCAPSA, LPWAVEOUTCAPSA;
struct WAVEOUTCAPSW {
WORD wMid;
WORD wPid;
MMVERSION vDriverVersion;
WCHAR[MAXPNAMELEN] szPname;
DWORD dwFormats;
WORD wChannels;
WORD wReserved1;
DWORD dwSupport;
}
alias WAVEOUTCAPSW* PWAVEOUTCAPSW, LPWAVEOUTCAPSW;
struct WAVEINCAPSA {
WORD wMid;
WORD wPid;
MMVERSION vDriverVersion;
CHAR[MAXPNAMELEN] szPname;
DWORD dwFormats;
WORD wChannels;
WORD wReserved1;
}
alias WAVEINCAPSA* PWAVEINCAPSA, LPWAVEINCAPSA;
struct WAVEINCAPSW {
WORD wMid;
WORD wPid;
MMVERSION vDriverVersion;
WCHAR[MAXPNAMELEN] szPname;
DWORD dwFormats;
WORD wChannels;
WORD wReserved1;
}
alias WAVEINCAPSW* PWAVEINCAPSW, LPWAVEINCAPSW;
struct WAVEFORMAT {
WORD wFormatTag;
WORD nChannels;
DWORD nSamplesPerSec;
DWORD nAvgBytesPerSec;
WORD nBlockAlign;
}
alias WAVEFORMAT* PWAVEFORMAT, LPWAVEFORMAT;
struct PCMWAVEFORMAT {
WAVEFORMAT wf;
WORD wBitsPerSample;
}
alias PCMWAVEFORMAT* PPCMWAVEFORMAT, LPPCMWAVEFORMAT;
struct WAVEFORMATEX {
WORD wFormatTag;
WORD nChannels;
DWORD nSamplesPerSec;
DWORD nAvgBytesPerSec;
WORD nBlockAlign;
WORD wBitsPerSample;
WORD cbSize;
}
alias WAVEFORMATEX* PWAVEFORMATEX, LPWAVEFORMATEX;
alias const(WAVEFORMATEX)* LPCWAVEFORMATEX;
alias TypeDef!(HANDLE) HMIDI;
alias TypeDef!(HANDLE) HMIDIIN;
alias TypeDef!(HANDLE) HMIDIOUT;
alias TypeDef!(HANDLE) HMIDISTRM;
alias HMIDI* LPHMIDI;
alias HMIDIIN* LPHMIDIIN;
alias HMIDIOUT* LPHMIDIOUT;
alias HMIDISTRM* LPHMIDISTRM;
alias WORD[MIDIPATCHSIZE] PATCHARRAY;
alias WORD* LPPATCHARRAY;
alias WORD[MIDIPATCHSIZE] KEYARRAY;
alias WORD* LPKEYARRAY;
struct MIDIOUTCAPSA {
WORD wMid;
WORD wPid;
MMVERSION vDriverVersion;
CHAR[MAXPNAMELEN] szPname;
WORD wTechnology;
WORD wVoices;
WORD wNotes;
WORD wChannelMask;
DWORD dwSupport;
}
alias MIDIOUTCAPSA* PMIDIOUTCAPSA, LPMIDIOUTCAPSA;
struct MIDIOUTCAPSW {
WORD wMid;
WORD wPid;
MMVERSION vDriverVersion;
WCHAR[MAXPNAMELEN] szPname;
WORD wTechnology;
WORD wVoices;
WORD wNotes;
WORD wChannelMask;
DWORD dwSupport;
}
alias MIDIOUTCAPSW* PMIDIOUTCAPSW, LPMIDIOUTCAPSW;
struct MIDIINCAPSA {
WORD wMid;
WORD wPid;
MMVERSION vDriverVersion;
CHAR[MAXPNAMELEN] szPname;
DWORD dwSupport;
}
alias MIDIINCAPSA* PMIDIINCAPSA, LPMIDIINCAPSA;
struct MIDIINCAPSW {
WORD wMid;
WORD wPid;
MMVERSION vDriverVersion;
WCHAR[MAXPNAMELEN] szPname;
DWORD dwSupport;
}
alias MIDIINCAPSW* PMIDIINCAPSW, LPMIDIINCAPSW;
struct MIDIHDR {
LPSTR lpData;
DWORD dwBufferLength;
DWORD dwBytesRecorded;
DWORD dwUser;
DWORD dwFlags;
MIDIHDR *lpNext;
DWORD reserved;
DWORD dwOffset;
DWORD[8] dwReserved;
}
alias MIDIHDR* PMIDIHDR, LPMIDIHDR;
struct MIDIEVENT {
DWORD dwDeltaTime;
DWORD dwStreamID;
DWORD dwEvent;
DWORD[1] dwParms;
}
struct MIDISTRMBUFFVER {
DWORD dwVersion;
DWORD dwMid;
DWORD dwOEMVersion;
}
struct MIDIPROPTIMEDIV {
DWORD cbStruct;
DWORD dwTimeDiv;
}
alias MIDIPROPTIMEDIV* LPMIDIPROPTIMEDIV;
struct MIDIPROPTEMPO {
DWORD cbStruct;
DWORD dwTempo;
}
alias MIDIPROPTEMPO* LPMIDIPROPTEMPO;
struct AUXCAPSA {
WORD wMid;
WORD wPid;
MMVERSION vDriverVersion;
CHAR[MAXPNAMELEN] szPname;
WORD wTechnology;
WORD wReserved1;
DWORD dwSupport;
}
alias AUXCAPSA* PAUXCAPSA, LPAUXCAPSA;
struct AUXCAPSW {
WORD wMid;
WORD wPid;
MMVERSION vDriverVersion;
WCHAR[MAXPNAMELEN] szPname;
WORD wTechnology;
WORD wReserved1;
DWORD dwSupport;
}
alias AUXCAPSW* PAUXCAPSW, LPAUXCAPSW;
alias TypeDef!(HANDLE) HMIXEROBJ;
alias HMIXEROBJ* LPHMIXEROBJ;
alias TypeDef!(HANDLE) HMIXER;
alias HMIXER* LPHMIXER;
struct MIXERCAPSA {
WORD wMid;
WORD wPid;
MMVERSION vDriverVersion;
CHAR[MAXPNAMELEN] szPname;
DWORD fdwSupport;
DWORD cDestinations;
}
alias MIXERCAPSA* PMIXERCAPSA, LPMIXERCAPSA;
struct MIXERCAPSW {
WORD wMid;
WORD wPid;
MMVERSION vDriverVersion;
WCHAR[MAXPNAMELEN] szPname;
DWORD fdwSupport;
DWORD cDestinations;
}
alias MIXERCAPSW* PMIXERCAPSW, LPMIXERCAPSW;
struct MIXERLINEA {
DWORD cbStruct;
DWORD dwDestination;
DWORD dwSource;
DWORD dwLineID;
DWORD fdwLine;
DWORD dwUser;
DWORD dwComponentType;
DWORD cChannels;
DWORD cConnections;
DWORD cControls;
CHAR[MIXER_SHORT_NAME_CHARS] szShortName;
CHAR[MIXER_LONG_NAME_CHARS] szName;
struct Target {
DWORD dwType;
DWORD dwDeviceID;
WORD wMid;
WORD wPid;
MMVERSION vDriverVersion;
CHAR[MAXPNAMELEN] szPname;
}
}
alias MIXERLINEA* PMIXERLINEA, LPMIXERLINEA;
struct MIXERLINEW {
DWORD cbStruct;
DWORD dwDestination;
DWORD dwSource;
DWORD dwLineID;
DWORD fdwLine;
DWORD dwUser;
DWORD dwComponentType;
DWORD cChannels;
DWORD cConnections;
DWORD cControls;
WCHAR[MIXER_SHORT_NAME_CHARS] szShortName;
WCHAR[MIXER_LONG_NAME_CHARS] szName;
struct Target {
DWORD dwType;
DWORD dwDeviceID;
WORD wMid;
WORD wPid;
MMVERSION vDriverVersion;
WCHAR[MAXPNAMELEN] szPname;
}
}
alias MIXERLINEW* PMIXERLINEW, LPMIXERLINEW;
struct MIXERCONTROLA {
DWORD cbStruct;
DWORD dwControlID;
DWORD dwControlType;
DWORD fdwControl;
DWORD cMultipleItems;
CHAR[MIXER_SHORT_NAME_CHARS] szShortName;
CHAR[MIXER_LONG_NAME_CHARS] szName;
union _Bounds {
struct {
LONG lMinimum;
LONG lMaximum;
}
struct {
DWORD dwMinimum;
DWORD dwMaximum;
}
DWORD[6] dwReserved;
}
_Bounds Bounds;
union _Metrics {
DWORD cSteps;
DWORD cbCustomData;
DWORD[6] dwReserved;
}
_Metrics Metrics;
}
alias MIXERCONTROLA* PMIXERCONTROLA, LPMIXERCONTROLA;
struct MIXERCONTROLW {
DWORD cbStruct;
DWORD dwControlID;
DWORD dwControlType;
DWORD fdwControl;
DWORD cMultipleItems;
WCHAR[MIXER_SHORT_NAME_CHARS] szShortName;
WCHAR[MIXER_LONG_NAME_CHARS] szName;
union _Bounds {
struct {
LONG lMinimum;
LONG lMaximum;
}
struct {
DWORD dwMinimum;
DWORD dwMaximum;
}
DWORD[6] dwReserved;
}
_Bounds Bounds;
union _Metrics {
DWORD cSteps;
DWORD cbCustomData;
DWORD[6] dwReserved;
}
_Metrics Metrics;
}
alias MIXERCONTROLW* PMIXERCONTROLW, LPMIXERCONTROLW;
struct MIXERLINECONTROLSA {
DWORD cbStruct;
DWORD dwLineID;
union {
DWORD dwControlID;
DWORD dwControlType;
}
DWORD cControls;
DWORD cbmxctrl;
LPMIXERCONTROLA pamxctrl;
}
alias MIXERLINECONTROLSA* PMIXERLINECONTROLSA, LPMIXERLINECONTROLSA;
struct MIXERLINECONTROLSW {
DWORD cbStruct;
DWORD dwLineID;
union {
DWORD dwControlID;
DWORD dwControlType;
}
DWORD cControls;
DWORD cbmxctrl;
LPMIXERCONTROLW pamxctrl;
}
alias MIXERLINECONTROLSW* PMIXERLINECONTROLSW, LPMIXERLINECONTROLSW;
struct MIXERCONTROLDETAILS {
DWORD cbStruct;
DWORD dwControlID;
DWORD cChannels;
union {
HWND hwndOwner;
DWORD cMultipleItems;
}
DWORD cbDetails;
PVOID paDetails;
}
alias MIXERCONTROLDETAILS* PMIXERCONTROLDETAILS, LPMIXERCONTROLDETAILS;
struct MIXERCONTROLDETAILS_LISTTEXTA {
DWORD dwParam1;
DWORD dwParam2;
CHAR[MIXER_LONG_NAME_CHARS] szName;
}
alias MIXERCONTROLDETAILS_LISTTEXTA* PMIXERCONTROLDETAILS_LISTTEXTA, LPMIXERCONTROLDETAILS_LISTTEXTA;
struct MIXERCONTROLDETAILS_LISTTEXTW {
DWORD dwParam1;
DWORD dwParam2;
WCHAR[MIXER_LONG_NAME_CHARS] szName;
}
alias MIXERCONTROLDETAILS_LISTTEXTW* PMIXERCONTROLDETAILS_LISTTEXTW, LPMIXERCONTROLDETAILS_LISTTEXTW;
struct MIXERCONTROLDETAILS_BOOLEAN {
LONG fValue;
}
alias MIXERCONTROLDETAILS_BOOLEAN* PMIXERCONTROLDETAILS_BOOLEAN, LPMIXERCONTROLDETAILS_BOOLEAN;
struct MIXERCONTROLDETAILS_SIGNED {
LONG lValue;
}
alias MIXERCONTROLDETAILS_SIGNED* PMIXERCONTROLDETAILS_SIGNED, LPMIXERCONTROLDETAILS_SIGNED;
struct MIXERCONTROLDETAILS_UNSIGNED {
DWORD dwValue;
}
alias MIXERCONTROLDETAILS_UNSIGNED* PMIXERCONTROLDETAILS_UNSIGNED, LPMIXERCONTROLDETAILS_UNSIGNED;
alias void function (UINT, UINT, DWORD, DWORD, DWORD) LPTIMECALLBACK;
struct TIMECAPS {
UINT wPeriodMin;
UINT wPeriodMax;
}
alias TIMECAPS* PTIMECAPS, LPTIMECAPS;
struct JOYCAPSA {
WORD wMid;
WORD wPid;
CHAR[MAXPNAMELEN] szPname;
UINT wXmin;
UINT wXmax;
UINT wYmin;
UINT wYmax;
UINT wZmin;
UINT wZmax;
UINT wNumButtons;
UINT wPeriodMin;
UINT wPeriodMax;
UINT wRmin;
UINT wRmax;
UINT wUmin;
UINT wUmax;
UINT wVmin;
UINT wVmax;
UINT wCaps;
UINT wMaxAxes;
UINT wNumAxes;
UINT wMaxButtons;
CHAR[MAXPNAMELEN] szRegKey;
CHAR[MAX_JOYSTICKOEMVXDNAME] szOEMVxD;
}
alias JOYCAPSA* PJOYCAPSA, LPJOYCAPSA;
struct JOYCAPSW {
WORD wMid;
WORD wPid;
WCHAR[MAXPNAMELEN] szPname;
UINT wXmin;
UINT wXmax;
UINT wYmin;
UINT wYmax;
UINT wZmin;
UINT wZmax;
UINT wNumButtons;
UINT wPeriodMin;
UINT wPeriodMax;
UINT wRmin;
UINT wRmax;
UINT wUmin;
UINT wUmax;
UINT wVmin;
UINT wVmax;
UINT wCaps;
UINT wMaxAxes;
UINT wNumAxes;
UINT wMaxButtons;
WCHAR[MAXPNAMELEN] szRegKey;
WCHAR[MAX_JOYSTICKOEMVXDNAME] szOEMVxD;
}
alias JOYCAPSW* PJOYCAPSW, LPJOYCAPSW;
struct JOYINFO {
UINT wXpos;
UINT wYpos;
UINT wZpos;
UINT wButtons;
}
alias JOYINFO* PJOYINFO, LPJOYINFO;
struct JOYINFOEX {
DWORD dwSize;
DWORD dwFlags;
DWORD dwXpos;
DWORD dwYpos;
DWORD dwZpos;
DWORD dwRpos;
DWORD dwUpos;
DWORD dwVpos;
DWORD dwButtons;
DWORD dwButtonNumber;
DWORD dwPOV;
DWORD dwReserved1;
DWORD dwReserved2;
}
alias JOYINFOEX* PJOYINFOEX, LPJOYINFOEX;
alias DWORD FOURCC;
alias char* HPSTR;
alias TypeDef!(HANDLE) HMMIO;
alias LRESULT function (LPSTR, UINT, LPARAM, LPARAM) LPMMIOPROC;
struct MMIOINFO {
DWORD dwFlags;
FOURCC fccIOProc;
LPMMIOPROC pIOProc;
UINT wErrorRet;
HTASK htask;
LONG cchBuffer;
HPSTR pchBuffer;
HPSTR pchNext;
HPSTR pchEndRead;
HPSTR pchEndWrite;
LONG lBufOffset;
LONG lDiskOffset;
DWORD[3] adwInfo;
DWORD dwReserved1;
DWORD dwReserved2;
HMMIO hmmio;
}
alias MMIOINFO* PMMIOINFO, LPMMIOINFO;
alias const(MMIOINFO)* LPCMMIOINFO;
struct MMCKINFO {
FOURCC ckid;
DWORD cksize;
FOURCC fccType;
DWORD dwDataOffset;
DWORD dwFlags;
}
alias MMCKINFO* PMMCKINFO, LPMMCKINFO;
alias const(MMCKINFO)* LPCMMCKINFO;
struct MCI_GENERIC_PARMS {
DWORD dwCallback;
}
alias MCI_GENERIC_PARMS* PMCI_GENERIC_PARMS, LPMCI_GENERIC_PARMS;
struct MCI_OPEN_PARMSA {
DWORD dwCallback;
MCIDEVICEID wDeviceID;
LPCSTR lpstrDeviceType;
LPCSTR lpstrElementName;
LPCSTR lpstrAlias;
}
alias MCI_OPEN_PARMSA* PMCI_OPEN_PARMSA, LPMCI_OPEN_PARMSA;
struct MCI_OPEN_PARMSW {
DWORD dwCallback;
MCIDEVICEID wDeviceID;
LPCWSTR lpstrDeviceType;
LPCWSTR lpstrElementName;
LPCWSTR lpstrAlias;
}
alias MCI_OPEN_PARMSW* PMCI_OPEN_PARMSW, LPMCI_OPEN_PARMSW;
struct MCI_PLAY_PARMS {
DWORD dwCallback;
DWORD dwFrom;
DWORD dwTo;
}
alias MCI_PLAY_PARMS* PMCI_PLAY_PARMS, LPMCI_PLAY_PARMS;
struct MCI_SEEK_PARMS {
DWORD dwCallback;
DWORD dwTo;
}
alias MCI_SEEK_PARMS* PMCI_SEEK_PARMS, LPMCI_SEEK_PARMS;
struct MCI_STATUS_PARMS {
DWORD dwCallback;
DWORD dwReturn;
DWORD dwItem;
DWORD dwTrack;
}
alias MCI_STATUS_PARMS* PMCI_STATUS_PARMS, LPMCI_STATUS_PARMS;
struct MCI_INFO_PARMSA {
DWORD dwCallback;
LPSTR lpstrReturn;
DWORD dwRetSize;
}
alias MCI_INFO_PARMSA* LPMCI_INFO_PARMSA;
struct MCI_INFO_PARMSW {
DWORD dwCallback;
LPWSTR lpstrReturn;
DWORD dwRetSize;
}
alias MCI_INFO_PARMSW* LPMCI_INFO_PARMSW;
struct MCI_GETDEVCAPS_PARMS {
DWORD dwCallback;
DWORD dwReturn;
DWORD dwItem;
}
alias MCI_GETDEVCAPS_PARMS* PMCI_GETDEVCAPS_PARMS, LPMCI_GETDEVCAPS_PARMS;
struct MCI_SYSINFO_PARMSA {
DWORD dwCallback;
LPSTR lpstrReturn;
DWORD dwRetSize;
DWORD dwNumber;
UINT wDeviceType;
}
alias MCI_SYSINFO_PARMSA* PMCI_SYSINFO_PARMSA, LPMCI_SYSINFO_PARMSA;
struct MCI_SYSINFO_PARMSW {
DWORD dwCallback;
LPWSTR lpstrReturn;
DWORD dwRetSize;
DWORD dwNumber;
UINT wDeviceType;
}
alias MCI_SYSINFO_PARMSW* PMCI_SYSINFO_PARMSW, LPMCI_SYSINFO_PARMSW;
struct MCI_SET_PARMS {
DWORD dwCallback;
DWORD dwTimeFormat;
DWORD dwAudio;
}
alias MCI_SET_PARMS* PMCI_SET_PARMS, LPMCI_SET_PARMS;
struct MCI_BREAK_PARMS {
DWORD dwCallback;
int nVirtKey;
HWND hwndBreak;
}
alias MCI_BREAK_PARMS* PMCI_BREAK_PARMS, LPMCI_BREAK_PARMS;
struct MCI_SAVE_PARMSA {
DWORD dwCallback;
LPCSTR lpfilename;
}
alias MCI_SAVE_PARMSA* PMCI_SAVE_PARMSA, LPMCI_SAVE_PARMSA;
struct MCI_SAVE_PARMSW {
DWORD dwCallback;
LPCWSTR lpfilename;
}
alias MCI_SAVE_PARMSW* PMCI_SAVE_PARMSW, LPMCI_SAVE_PARMSW;
struct MCI_LOAD_PARMSA {
DWORD dwCallback;
LPCSTR lpfilename;
}
alias MCI_LOAD_PARMSA* PMCI_LOAD_PARMSA, LPMCI_LOAD_PARMSA;
struct MCI_LOAD_PARMSW {
DWORD dwCallback;
LPCWSTR lpfilename;
}
alias MCI_LOAD_PARMSW* PMCI_LOAD_PARMSW, LPMCI_LOAD_PARMSW;
struct MCI_RECORD_PARMS {
DWORD dwCallback;
DWORD dwFrom;
DWORD dwTo;
}
alias MCI_RECORD_PARMS* LPMCI_RECORD_PARMS;
struct MCI_VD_PLAY_PARMS {
DWORD dwCallback;
DWORD dwFrom;
DWORD dwTo;
DWORD dwSpeed;
}
alias MCI_VD_PLAY_PARMS* PMCI_VD_PLAY_PARMS, LPMCI_VD_PLAY_PARMS;
struct MCI_VD_STEP_PARMS {
DWORD dwCallback;
DWORD dwFrames;
}
alias MCI_VD_STEP_PARMS* PMCI_VD_STEP_PARMS, LPMCI_VD_STEP_PARMS;
struct MCI_VD_ESCAPE_PARMSA {
DWORD dwCallback;
LPCSTR lpstrCommand;
}
alias MCI_VD_ESCAPE_PARMSA* PMCI_VD_ESCAPE_PARMSA, LPMCI_VD_ESCAPE_PARMSA;
struct MCI_VD_ESCAPE_PARMSW {
DWORD dwCallback;
LPCWSTR lpstrCommand;
}
alias MCI_VD_ESCAPE_PARMSW* PMCI_VD_ESCAPE_PARMSW, LPMCI_VD_ESCAPE_PARMSW;
struct MCI_WAVE_OPEN_PARMSA {
DWORD dwCallback;
MCIDEVICEID wDeviceID;
LPCSTR lpstrDeviceType;
LPCSTR lpstrElementName;
LPCSTR lpstrAlias;
DWORD dwBufferSeconds;
}
alias MCI_WAVE_OPEN_PARMSA* PMCI_WAVE_OPEN_PARMSA, LPMCI_WAVE_OPEN_PARMSA;
struct MCI_WAVE_OPEN_PARMSW {
DWORD dwCallback;
MCIDEVICEID wDeviceID;
LPCWSTR lpstrDeviceType;
LPCWSTR lpstrElementName;
LPCWSTR lpstrAlias;
DWORD dwBufferSeconds;
}
alias MCI_WAVE_OPEN_PARMSW* PMCI_WAVE_OPEN_PARMSW, LPMCI_WAVE_OPEN_PARMSW;
struct MCI_WAVE_DELETE_PARMS {
DWORD dwCallback;
DWORD dwFrom;
DWORD dwTo;
}
alias MCI_WAVE_DELETE_PARMS* PMCI_WAVE_DELETE_PARMS, LPMCI_WAVE_DELETE_PARMS;
struct MCI_WAVE_SET_PARMS {
DWORD dwCallback;
DWORD dwTimeFormat;
DWORD dwAudio;
UINT wInput;
UINT wOutput;
WORD wFormatTag;
WORD wReserved2;
WORD nChannels;
WORD wReserved3;
DWORD nSamplesPerSec;
DWORD nAvgBytesPerSec;
WORD nBlockAlign;
WORD wReserved4;
WORD wBitsPerSample;
WORD wReserved5;
}
alias MCI_WAVE_SET_PARMS* PMCI_WAVE_SET_PARMS, LPMCI_WAVE_SET_PARMS;
extern (Windows) nothrow @nogc:
LRESULT CloseDriver(HDRVR, LONG, LONG);
HDRVR OpenDriver(LPCWSTR, LPCWSTR, LONG);
LRESULT SendDriverMessage(HDRVR, UINT, LONG, LONG);
HMODULE DrvGetModuleHandle(HDRVR);
HMODULE GetDriverModuleHandle(HDRVR);
LRESULT DefDriverProc(DWORD, HDRVR, UINT, LPARAM, LPARAM);
UINT mmsystemGetVersion();
// FIXME: I believe this next line is a mistake
//alias OutputDebugString OutputDebugStr;
BOOL sndPlaySoundA(LPCSTR, UINT);
BOOL sndPlaySoundW(LPCWSTR, UINT);
BOOL PlaySoundA(LPCSTR, HMODULE, DWORD);
BOOL PlaySoundW(LPCWSTR, HMODULE, DWORD);
UINT waveOutGetNumDevs();
MMRESULT waveOutGetDevCapsA(UINT, LPWAVEOUTCAPSA, UINT);
MMRESULT waveOutGetDevCapsW(UINT, LPWAVEOUTCAPSW, UINT);
MMRESULT waveOutGetVolume(HWAVEOUT, PDWORD);
MMRESULT waveOutSetVolume(HWAVEOUT, DWORD);
MMRESULT waveOutGetErrorTextA(MMRESULT, LPSTR, UINT);
MMRESULT waveOutGetErrorTextW(MMRESULT, LPWSTR, UINT);
MMRESULT waveOutOpen(LPHWAVEOUT, UINT, LPCWAVEFORMATEX, DWORD, DWORD, DWORD);
MMRESULT waveOutClose(HWAVEOUT);
MMRESULT waveOutPrepareHeader(HWAVEOUT, LPWAVEHDR, UINT);
MMRESULT waveOutUnprepareHeader(HWAVEOUT, LPWAVEHDR, UINT);
MMRESULT waveOutWrite(HWAVEOUT, LPWAVEHDR, UINT);
MMRESULT waveOutPause(HWAVEOUT);
MMRESULT waveOutRestart(HWAVEOUT);
MMRESULT waveOutReset(HWAVEOUT);
MMRESULT waveOutBreakLoop(HWAVEOUT);
MMRESULT waveOutGetPosition(HWAVEOUT, LPMMTIME, UINT);
MMRESULT waveOutGetPitch(HWAVEOUT, PDWORD);
MMRESULT waveOutSetPitch(HWAVEOUT, DWORD);
MMRESULT waveOutGetPlaybackRate(HWAVEOUT, PDWORD);
MMRESULT waveOutSetPlaybackRate(HWAVEOUT, DWORD);
MMRESULT waveOutGetID(HWAVEOUT, LPUINT);
MMRESULT waveOutMessage(HWAVEOUT, UINT, DWORD, DWORD);
UINT waveInGetNumDevs();
MMRESULT waveInGetDevCapsA(UINT, LPWAVEINCAPSA, UINT);
MMRESULT waveInGetDevCapsW(UINT, LPWAVEINCAPSW, UINT);
MMRESULT waveInGetErrorTextA(MMRESULT, LPSTR, UINT);
MMRESULT waveInGetErrorTextW(MMRESULT, LPWSTR, UINT);
MMRESULT waveInOpen(LPHWAVEIN, UINT, LPCWAVEFORMATEX, DWORD, DWORD, DWORD);
MMRESULT waveInClose(HWAVEIN);
MMRESULT waveInPrepareHeader(HWAVEIN, LPWAVEHDR, UINT);
MMRESULT waveInUnprepareHeader(HWAVEIN, LPWAVEHDR, UINT);
MMRESULT waveInAddBuffer(HWAVEIN, LPWAVEHDR, UINT);
MMRESULT waveInStart(HWAVEIN);
MMRESULT waveInStop(HWAVEIN);
MMRESULT waveInReset(HWAVEIN);
MMRESULT waveInGetPosition(HWAVEIN, LPMMTIME, UINT);
MMRESULT waveInGetID(HWAVEIN, LPUINT);
MMRESULT waveInMessage(HWAVEIN, UINT, DWORD, DWORD);
UINT midiOutGetNumDevs();
MMRESULT midiStreamOpen(LPHMIDISTRM, LPUINT, DWORD, DWORD, DWORD, DWORD);
MMRESULT midiStreamClose(HMIDISTRM);
MMRESULT midiStreamProperty(HMIDISTRM, LPBYTE, DWORD);
MMRESULT midiStreamPosition(HMIDISTRM, LPMMTIME, UINT);
MMRESULT midiStreamOut(HMIDISTRM, LPMIDIHDR, UINT);
MMRESULT midiStreamPause(HMIDISTRM);
MMRESULT midiStreamRestart(HMIDISTRM);
MMRESULT midiStreamStop(HMIDISTRM);
MMRESULT midiConnect(HMIDI, HMIDIOUT, PVOID);
MMRESULT midiDisconnect(HMIDI, HMIDIOUT, PVOID);
MMRESULT midiOutGetDevCapsA(UINT, LPMIDIOUTCAPSA, UINT);
MMRESULT midiOutGetDevCapsW(UINT, LPMIDIOUTCAPSW, UINT);
MMRESULT midiOutGetVolume(HMIDIOUT, PDWORD);
MMRESULT midiOutSetVolume(HMIDIOUT, DWORD);
MMRESULT midiOutGetErrorTextA(MMRESULT, LPSTR, UINT);
MMRESULT midiOutGetErrorTextW(MMRESULT, LPWSTR, UINT);
MMRESULT midiOutOpen(LPHMIDIOUT, UINT, DWORD, DWORD, DWORD);
MMRESULT midiOutClose(HMIDIOUT);
MMRESULT midiOutPrepareHeader(HMIDIOUT, LPMIDIHDR, UINT);
MMRESULT midiOutUnprepareHeader(HMIDIOUT, LPMIDIHDR, UINT);
MMRESULT midiOutShortMsg(HMIDIOUT, DWORD);
MMRESULT midiOutLongMsg(HMIDIOUT, LPMIDIHDR, UINT);
MMRESULT midiOutReset(HMIDIOUT);
MMRESULT midiOutCachePatches(HMIDIOUT, UINT, LPWORD, UINT);
MMRESULT midiOutCacheDrumPatches(HMIDIOUT, UINT, LPWORD, UINT);
MMRESULT midiOutGetID(HMIDIOUT, LPUINT);
MMRESULT midiOutMessage(HMIDIOUT, UINT, DWORD, DWORD);
UINT midiInGetNumDevs();
MMRESULT midiInGetDevCapsA(UINT, LPMIDIINCAPSA, UINT);
MMRESULT midiInGetDevCapsW(UINT, LPMIDIINCAPSW, UINT);
MMRESULT midiInGetErrorTextA(MMRESULT, LPSTR, UINT);
MMRESULT midiInGetErrorTextW(MMRESULT, LPWSTR, UINT);
MMRESULT midiInOpen(LPHMIDIIN, UINT, DWORD, DWORD, DWORD);
MMRESULT midiInClose(HMIDIIN);
MMRESULT midiInPrepareHeader(HMIDIIN, LPMIDIHDR, UINT);
MMRESULT midiInUnprepareHeader(HMIDIIN, LPMIDIHDR, UINT);
MMRESULT midiInAddBuffer(HMIDIIN, LPMIDIHDR, UINT);
MMRESULT midiInStart(HMIDIIN);
MMRESULT midiInStop(HMIDIIN);
MMRESULT midiInReset(HMIDIIN);
MMRESULT midiInGetID(HMIDIIN, LPUINT);
MMRESULT midiInMessage(HMIDIIN, UINT, DWORD, DWORD);
UINT auxGetNumDevs();
MMRESULT auxGetDevCapsA(UINT, LPAUXCAPSA, UINT);
MMRESULT auxGetDevCapsW(UINT, LPAUXCAPSW, UINT);
MMRESULT auxSetVolume(UINT, DWORD);
MMRESULT auxGetVolume(UINT, PDWORD);
MMRESULT auxOutMessage(UINT, UINT, DWORD, DWORD);
UINT mixerGetNumDevs();
MMRESULT mixerGetDevCapsA(UINT, LPMIXERCAPSA, UINT);
MMRESULT mixerGetDevCapsW(UINT, LPMIXERCAPSW, UINT);
MMRESULT mixerOpen(LPHMIXER, UINT, DWORD, DWORD, DWORD);
MMRESULT mixerClose(HMIXER);
DWORD mixerMessage(HMIXER, UINT, DWORD, DWORD);
MMRESULT mixerGetLineInfoA(HMIXEROBJ, LPMIXERLINEA, DWORD);
MMRESULT mixerGetLineInfoW(HMIXEROBJ, LPMIXERLINEW, DWORD);
MMRESULT mixerGetID(HMIXEROBJ, PUINT, DWORD);
MMRESULT mixerGetLineControlsA(HMIXEROBJ, LPMIXERLINECONTROLSA, DWORD);
MMRESULT mixerGetLineControlsW(HMIXEROBJ, LPMIXERLINECONTROLSW, DWORD);
MMRESULT mixerGetControlDetailsA(HMIXEROBJ, LPMIXERCONTROLDETAILS, DWORD);
MMRESULT mixerGetControlDetailsW(HMIXEROBJ, LPMIXERCONTROLDETAILS, DWORD);
MMRESULT mixerSetControlDetails(HMIXEROBJ, LPMIXERCONTROLDETAILS, DWORD);
MMRESULT timeGetSystemTime(LPMMTIME, UINT);
DWORD timeGetTime();
MMRESULT timeSetEvent(UINT, UINT, LPTIMECALLBACK, DWORD, UINT);
MMRESULT timeKillEvent(UINT);
MMRESULT timeGetDevCaps(LPTIMECAPS, UINT);
MMRESULT timeBeginPeriod(UINT);
MMRESULT timeEndPeriod(UINT);
UINT joyGetNumDevs();
MMRESULT joyGetDevCapsA(UINT, LPJOYCAPSA, UINT);
MMRESULT joyGetDevCapsW(UINT, LPJOYCAPSW, UINT);
MMRESULT joyGetPos(UINT, LPJOYINFO);
MMRESULT joyGetPosEx(UINT, LPJOYINFOEX);
MMRESULT joyGetThreshold(UINT, LPUINT);
MMRESULT joyReleaseCapture(UINT);
MMRESULT joySetCapture(HWND, UINT, UINT, BOOL);
MMRESULT joySetThreshold(UINT, UINT);
FOURCC mmioStringToFOURCCA(LPCSTR, UINT);
FOURCC mmioStringToFOURCCW(LPCWSTR, UINT);
LPMMIOPROC mmioInstallIOProcA(FOURCC, LPMMIOPROC, DWORD);
LPMMIOPROC mmioInstallIOProcW(FOURCC, LPMMIOPROC, DWORD);
HMMIO mmioOpenA(LPSTR, LPMMIOINFO, DWORD);
HMMIO mmioOpenW(LPWSTR, LPMMIOINFO, DWORD);
MMRESULT mmioRenameA(LPCSTR, LPCSTR, LPCMMIOINFO, DWORD);
MMRESULT mmioRenameW(LPCWSTR, LPCWSTR, LPCMMIOINFO, DWORD);
MMRESULT mmioClose(HMMIO, UINT);
LONG mmioRead(HMMIO, HPSTR, LONG);
LONG mmioWrite(HMMIO, LPCSTR, LONG);
LONG mmioSeek(HMMIO, LONG, int);
MMRESULT mmioGetInfo(HMMIO, LPMMIOINFO, UINT);
MMRESULT mmioSetInfo(HMMIO, LPCMMIOINFO, UINT);
MMRESULT mmioSetBuffer(HMMIO, LPSTR, LONG, UINT);
MMRESULT mmioFlush(HMMIO, UINT);
MMRESULT mmioAdvance(HMMIO, LPMMIOINFO, UINT);
LRESULT mmioSendMessage(HMMIO, UINT, LPARAM, LPARAM);
MMRESULT mmioDescend(HMMIO, LPMMCKINFO, const(MMCKINFO)*, UINT);
MMRESULT mmioAscend(HMMIO, LPMMCKINFO, UINT);
MMRESULT mmioCreateChunk(HMMIO, LPMMCKINFO, UINT);
MCIERROR mciSendCommandA(MCIDEVICEID, UINT, DWORD, DWORD);
MCIERROR mciSendCommandW(MCIDEVICEID, UINT, DWORD, DWORD);
MCIERROR mciSendStringA(LPCSTR, LPSTR, UINT, HWND);
MCIERROR mciSendStringW(LPCWSTR, LPWSTR, UINT, HWND);
MCIDEVICEID mciGetDeviceIDA(LPCSTR);
MCIDEVICEID mciGetDeviceIDW(LPCWSTR);
MCIDEVICEID mciGetDeviceIDFromElementIDA(DWORD, LPCSTR);
MCIDEVICEID mciGetDeviceIDFromElementIDW(DWORD, LPCWSTR);
BOOL mciGetErrorStringA(MCIERROR, LPSTR, UINT);
BOOL mciGetErrorStringW(MCIERROR, LPWSTR, UINT);
BOOL mciSetYieldProc(MCIDEVICEID, YIELDPROC, DWORD);
HTASK mciGetCreatorTask(MCIDEVICEID);
YIELDPROC mciGetYieldProc(MCIDEVICEID, PDWORD);
struct MCI_SEQ_SET_PARMS {
DWORD dwCallback;
DWORD dwTimeFormat;
DWORD dwAudio;
DWORD dwTempo;
DWORD dwPort;
DWORD dwSlave;
DWORD dwMaster;
DWORD dwOffset;
}
alias MCI_SEQ_SET_PARMS* PMCI_SEQ_SET_PARMS, LPMCI_SEQ_SET_PARMS;
struct MCI_ANIM_OPEN_PARMSA {
DWORD dwCallback;
MCIDEVICEID wDeviceID;
LPCSTR lpstrDeviceType;
LPCSTR lpstrElementName;
LPCSTR lpstrAlias;
DWORD dwStyle;
HWND hWndParent;
}
alias MCI_ANIM_OPEN_PARMSA* PMCI_ANIM_OPEN_PARMSA, LPMCI_ANIM_OPEN_PARMSA;
struct MCI_ANIM_OPEN_PARMSW {
DWORD dwCallback;
MCIDEVICEID wDeviceID;
LPCWSTR lpstrDeviceType;
LPCWSTR lpstrElementName;
LPCWSTR lpstrAlias;
DWORD dwStyle;
HWND hWndParent;
}
alias MCI_ANIM_OPEN_PARMSW* PMCI_ANIM_OPEN_PARMSW, LPMCI_ANIM_OPEN_PARMSW;
struct MCI_ANIM_PLAY_PARMS {
DWORD dwCallback;
DWORD dwFrom;
DWORD dwTo;
DWORD dwSpeed;
}
alias MCI_ANIM_PLAY_PARMS* PMCI_ANIM_PLAY_PARMS, LPMCI_ANIM_PLAY_PARMS;
struct MCI_ANIM_STEP_PARMS {
DWORD dwCallback;
DWORD dwFrames;
}
alias MCI_ANIM_STEP_PARMS* PMCI_ANIM_STEP_PARMS, LPMCI_ANIM_STEP_PARMS;
struct MCI_ANIM_WINDOW_PARMSA {
DWORD dwCallback;
HWND hWnd;
UINT nCmdShow;
LPCSTR lpstrText;
}
alias MCI_ANIM_WINDOW_PARMSA* PMCI_ANIM_WINDOW_PARMSA, LPMCI_ANIM_WINDOW_PARMSA;
struct MCI_ANIM_WINDOW_PARMSW {
DWORD dwCallback;
HWND hWnd;
UINT nCmdShow;
LPCWSTR lpstrText;
}
alias MCI_ANIM_WINDOW_PARMSW* PMCI_ANIM_WINDOW_PARMSW, LPMCI_ANIM_WINDOW_PARMSW;
struct MCI_ANIM_RECT_PARMS {
DWORD dwCallback;
//#ifdef MCI_USE_OFFEXT
// POINT ptOffset;
// POINT ptExtent;
//#else
RECT rc;
//#endif
}
alias MCI_ANIM_RECT_PARMS* PMCI_ANIM_RECT_PARMS, LPMCI_ANIM_RECT_PARMS;
struct MCI_ANIM_UPDATE_PARMS {
DWORD dwCallback;
RECT rc;
HDC hDC;
}
alias MCI_ANIM_UPDATE_PARMS* PMCI_ANIM_UPDATE_PARMS, LPMCI_ANIM_UPDATE_PARMS;
struct MCI_OVLY_OPEN_PARMSA {
DWORD dwCallback;
MCIDEVICEID wDeviceID;
LPCSTR lpstrDeviceType;
LPCSTR lpstrElementName;
LPCSTR lpstrAlias;
DWORD dwStyle;
HWND hWndParent;
}
alias MCI_OVLY_OPEN_PARMSA* PMCI_OVLY_OPEN_PARMSA, LPMCI_OVLY_OPEN_PARMSA;
struct MCI_OVLY_OPEN_PARMSW {
DWORD dwCallback;
MCIDEVICEID wDeviceID;
LPCWSTR lpstrDeviceType;
LPCWSTR lpstrElementName;
LPCWSTR lpstrAlias;
DWORD dwStyle;
HWND hWndParent;
}
alias MCI_OVLY_OPEN_PARMSW* PMCI_OVLY_OPEN_PARMSW, LPMCI_OVLY_OPEN_PARMSW;
struct MCI_OVLY_WINDOW_PARMSA {
DWORD dwCallback;
HWND hWnd;
UINT nCmdShow;
LPCSTR lpstrText;
}
alias MCI_OVLY_WINDOW_PARMSA* PMCI_OVLY_WINDOW_PARMSA, LPMCI_OVLY_WINDOW_PARMSA;
struct MCI_OVLY_WINDOW_PARMSW {
DWORD dwCallback;
HWND hWnd;
UINT nCmdShow;
LPCWSTR lpstrText;
}
alias MCI_OVLY_WINDOW_PARMSW* PMCI_OVLY_WINDOW_PARMSW, LPMCI_OVLY_WINDOW_PARMSW;
struct MCI_OVLY_RECT_PARMS {
DWORD dwCallback;
//#ifdef MCI_USE_OFFEXT
// POINT ptOffset;
// POINT ptExtent;
//#else
RECT rc;
//#endif
}
alias MCI_OVLY_RECT_PARMS* PMCI_OVLY_RECT_PARMS, LPMCI_OVLY_RECT_PARMS;
struct MCI_OVLY_SAVE_PARMSA {
DWORD dwCallback;
LPCSTR lpfilename;
RECT rc;
}
alias MCI_OVLY_SAVE_PARMSA* PMCI_OVLY_SAVE_PARMSA, LPMCI_OVLY_SAVE_PARMSA;
struct MCI_OVLY_SAVE_PARMSW {
DWORD dwCallback;
LPCWSTR lpfilename;
RECT rc;
}
alias MCI_OVLY_SAVE_PARMSW* PMCI_OVLY_SAVE_PARMSW, LPMCI_OVLY_SAVE_PARMSW;
struct MCI_OVLY_LOAD_PARMSA {
DWORD dwCallback;
LPCSTR lpfilename;
RECT rc;
}
alias MCI_OVLY_LOAD_PARMSA* PMCI_OVLY_LOAD_PARMSA, LPMCI_OVLY_LOAD_PARMSA;
struct MCI_OVLY_LOAD_PARMSW {
DWORD dwCallback;
LPCWSTR lpfilename;
RECT rc;
}
alias MCI_OVLY_LOAD_PARMSW* PMCI_OVLY_LOAD_PARMSW, LPMCI_OVLY_LOAD_PARMSW;
version(Unicode) {
alias WAVEOUTCAPSW WAVEOUTCAPS;
alias WAVEINCAPSW WAVEINCAPS;
alias MIDIOUTCAPSW MIDIOUTCAPS;
alias MIDIINCAPSW MIDIINCAPS;
alias AUXCAPSW AUXCAPS;
alias MIXERCAPSW MIXERCAPS;
alias MIXERLINEW MIXERLINE;
alias MIXERCONTROLA MIXERCONTROL;
alias MIXERLINECONTROLSW MIXERLINECONTROLS;
alias MIXERCONTROLDETAILS_LISTTEXTW MIXERCONTROLDETAILS_LISTTEXT;
alias JOYCAPSW JOYCAPS;
alias MCI_OPEN_PARMSW MCI_OPEN_PARMS;
alias MCI_INFO_PARMSW MCI_INFO_PARMS;
alias MCI_SYSINFO_PARMSW MCI_SYSINFO_PARMS;
alias MCI_SAVE_PARMSW MCI_SAVE_PARMS;
alias MCI_LOAD_PARMSW MCI_LOAD_PARMS;
alias MCI_VD_ESCAPE_PARMSW MCI_VD_ESCAPE_PARMS;
alias MCI_WAVE_OPEN_PARMSW MCI_WAVE_OPEN_PARMS;
alias MCI_ANIM_OPEN_PARMSW MCI_ANIM_OPEN_PARMS;
alias MCI_ANIM_WINDOW_PARMSW MCI_ANIM_WINDOW_PARMS;
alias MCI_OVLY_OPEN_PARMSW MCI_OVLY_OPEN_PARMS;
alias MCI_OVLY_WINDOW_PARMSW MCI_OVLY_WINDOW_PARMS;
alias MCI_OVLY_SAVE_PARMSW MCI_OVLY_SAVE_PARMS;
alias sndPlaySoundW sndPlaySound;
alias PlaySoundW PlaySound;
alias waveOutGetDevCapsW waveOutGetDevCaps;
alias waveOutGetErrorTextW waveOutGetErrorText;
alias waveInGetDevCapsW waveInGetDevCaps;
alias waveInGetErrorTextW waveInGetErrorText;
alias midiOutGetDevCapsW midiOutGetDevCaps;
alias midiOutGetErrorTextW midiOutGetErrorText;
alias midiInGetDevCapsW midiInGetDevCaps;
alias midiInGetErrorTextW midiInGetErrorText;
alias auxGetDevCapsW auxGetDevCaps;
alias mixerGetDevCapsW mixerGetDevCaps;
alias mixerGetLineInfoW mixerGetLineInfo;
alias mixerGetLineControlsW mixerGetLineControls;
alias mixerGetControlDetailsW mixerGetControlDetails;
alias joyGetDevCapsW joyGetDevCaps;
alias mmioInstallIOProcW mmioInstallIOProc;
alias mmioStringToFOURCCW mmioStringToFOURCC;
alias mmioOpenW mmioOpen;
alias mmioRenameW mmioRename;
alias mciSendCommandW mciSendCommand;
alias mciSendStringW mciSendString;
alias mciGetDeviceIDW mciGetDeviceID;
alias mciGetDeviceIDFromElementIDW mciGetDeviceIDFromElementID;
alias mciGetErrorStringW mciGetErrorString;
} else {
alias WAVEOUTCAPSA WAVEOUTCAPS;
alias WAVEINCAPSA WAVEINCAPS;
alias MIDIOUTCAPSA MIDIOUTCAPS;
alias MIDIINCAPSA MIDIINCAPS;
alias AUXCAPSA AUXCAPS;
alias MIXERCAPSA MIXERCAPS;
alias MIXERLINEA MIXERLINE;
alias MIXERCONTROLA MIXERCONTROL;
alias MIXERLINECONTROLSA MIXERLINECONTROLS;
alias MIXERCONTROLDETAILS_LISTTEXTA MIXERCONTROLDETAILS_LISTTEXT;
alias JOYCAPSA JOYCAPS;
alias MCI_OPEN_PARMSA MCI_OPEN_PARMS;
alias MCI_INFO_PARMSA MCI_INFO_PARMS;
alias MCI_SYSINFO_PARMSA MCI_SYSINFO_PARMS;
alias MCI_SAVE_PARMSA MCI_SAVE_PARMS;
alias MCI_LOAD_PARMSA MCI_LOAD_PARMS;
alias MCI_VD_ESCAPE_PARMSA MCI_VD_ESCAPE_PARMS;
alias MCI_WAVE_OPEN_PARMSA MCI_WAVE_OPEN_PARMS;
alias MCI_ANIM_OPEN_PARMSA MCI_ANIM_OPEN_PARMS;
alias MCI_ANIM_WINDOW_PARMSA MCI_ANIM_WINDOW_PARMS;
alias MCI_OVLY_OPEN_PARMSA MCI_OVLY_OPEN_PARMS;
alias MCI_OVLY_WINDOW_PARMSA MCI_OVLY_WINDOW_PARMS;
alias MCI_OVLY_SAVE_PARMSA MCI_OVLY_SAVE_PARMS;
alias sndPlaySoundA sndPlaySound;
alias PlaySoundA PlaySound;
alias waveOutGetDevCapsA waveOutGetDevCaps;
alias waveOutGetErrorTextA waveOutGetErrorText;
alias waveInGetDevCapsA waveInGetDevCaps;
alias waveInGetErrorTextA waveInGetErrorText;
alias midiOutGetDevCapsA midiOutGetDevCaps;
alias midiOutGetErrorTextA midiOutGetErrorText;
alias midiInGetDevCapsA midiInGetDevCaps;
alias midiInGetErrorTextA midiInGetErrorText;
alias auxGetDevCapsA auxGetDevCaps;
alias mixerGetDevCapsA mixerGetDevCaps;
alias mixerGetLineInfoA mixerGetLineInfo;
alias mixerGetLineControlsA mixerGetLineControls;
alias mixerGetControlDetailsA mixerGetControlDetails;
alias joyGetDevCapsA joyGetDevCaps;
alias mmioInstallIOProcA mmioInstallIOProc;
alias mmioStringToFOURCCA mmioStringToFOURCC;
alias mmioOpenA mmioOpen;
alias mmioRenameA mmioRename;
alias mciSendCommandA mciSendCommand;
alias mciSendStringA mciSendString;
alias mciGetDeviceIDA mciGetDeviceID;
alias mciGetDeviceIDFromElementIDA mciGetDeviceIDFromElementID;
alias mciGetErrorStringA mciGetErrorString;
}
alias WAVEOUTCAPS* PWAVEOUTCAPS, LPWAVEOUTCAPS;
alias WAVEINCAPS* PWAVEINCAPS, LPWAVEINCAPS;
alias MIDIOUTCAPS* PMIDIOUTCAPS, LPMIDIOUTCAPS;
alias MIDIINCAPS* PMIDIINCAPS, LPMIDIINCAPS;
alias AUXCAPS* PAUXCAPS, LPAUXCAPS;
alias MIXERCAPS* PMIXERCAPS, LPMIXERCAPS;
alias MIXERLINE* PMIXERLINE, LPMIXERLINE;
alias MIXERCONTROL* PMIXERCONTROL, LPMIXERCONTROL;
alias MIXERLINECONTROLS* PMIXERLINECONTROLS, LPMIXERLINECONTROLS;
alias MIXERCONTROLDETAILS_LISTTEXT* PMIXERCONTROLDETAILS_LISTTEXT, LPMIXERCONTROLDETAILS_LISTTEXT;
alias JOYCAPS* PJOYCAPS, LPJOYCAPS;
alias MCI_OPEN_PARMS* PMCI_OPEN_PARMS, LPMCI_OPEN_PARMS;
alias MCI_INFO_PARMS* LPMCI_INFO_PARMS;
alias MCI_SYSINFO_PARMS* PMCI_SYSINFO_PARMS, LPMCI_SYSINFO_PARMS;
alias MCI_SAVE_PARMS* PMCI_SAVE_PARMS, LPMCI_SAVE_PARMS;
alias MCI_LOAD_PARMS* PMCI_LOAD_PARMS, LPMCI_LOAD_PARMS;
alias MCI_VD_ESCAPE_PARMS* PMCI_VD_ESCAPE_PARMS, LPMCI_VD_ESCAPE_PARMS;
alias MCI_WAVE_OPEN_PARMS* PMCI_WAVE_OPEN_PARMS, LPMCI_WAVE_OPEN_PARMS;
alias MCI_ANIM_OPEN_PARMS* PMCI_ANIM_OPEN_PARMS, LPMCI_ANIM_OPEN_PARMS;
alias MCI_ANIM_WINDOW_PARMS* PMCI_ANIM_WINDOW_PARMS, LPMCI_ANIM_WINDOW_PARMS;
alias MCI_OVLY_OPEN_PARMS* PMCI_OVLY_OPEN_PARMS, LPMCI_OVLY_OPEN_PARMS;
alias MCI_OVLY_WINDOW_PARMS* PMCI_OVLY_WINDOW_PARMS, LPMCI_OVLY_WINDOW_PARMS;
alias MCI_OVLY_SAVE_PARMS* PMCI_OVLY_SAVE_PARMS, LPMCI_OVLY_SAVE_PARMS;
| D |
module about_mixins;
import dunit;
import helpers;
int helper(int a, int b) {
return a*2+b*2;
}
class AboutMixins {
mixin UnitTest;
/* from the DLang tour:
The mixin expression takes an arbitrary string and compiles it and generates instructions accordingly.
It is purely a compile-time mechanism and can only work on strings available during compilation -
a comparison with the evil JavaScript eval would be highly unfair.
*/
@Test
void first_very_simple_mixin() {
auto n= mixin("3+2");
assertEquals(n,FILL_IN_THIS_NUMBER);
}
@Test
void another_simple_mixin() {
const part1="int n=he";
const part2="lper(3,2);";
mixin(part1~part2);
assertEquals(n,FILL_IN_THIS_NUMBER); // where n came from ?
}
@Test
void a_more_interesting_mixin() {
auto calc(string op, T)(T lhs, T rhs)
{
return mixin("lhs " ~ op ~ " rhs");
}
auto n=calc!"+"(2,2);
assertEquals(n,FILL_IN_THIS_NUMBER); // templatized mixin, why not ?
}
}
| D |
/home/ubuntu/Documents/cargo-book/build_scripts/target/debug/deps/build_scripts-38fca6b3b824d39e.rmeta: src/main.rs /home/ubuntu/Documents/cargo-book/build_scripts/target/debug/build/build_scripts-b8bbafc3c9beaa4e/out/hello.rs
/home/ubuntu/Documents/cargo-book/build_scripts/target/debug/deps/build_scripts-38fca6b3b824d39e.d: src/main.rs /home/ubuntu/Documents/cargo-book/build_scripts/target/debug/build/build_scripts-b8bbafc3c9beaa4e/out/hello.rs
src/main.rs:
/home/ubuntu/Documents/cargo-book/build_scripts/target/debug/build/build_scripts-b8bbafc3c9beaa4e/out/hello.rs:
# env-dep:OUT_DIR=/home/ubuntu/Documents/cargo-book/build_scripts/target/debug/build/build_scripts-b8bbafc3c9beaa4e/out
| D |
module Windows.UI.WebUI;
import dwinrt;
@uuid("50f1e730-c5d1-4b6b-9adb-8a11756be29c")
interface ActivatedEventHandler : IUnknown
{
extern(Windows):
HRESULT abi_Invoke(IInspectable sender, Windows.ApplicationModel.Activation.IActivatedEventArgs eventArgs);
}
@uuid("2b09a173-b68e-4def-88c1-8de84e5aab2f")
interface EnteredBackgroundEventHandler : IUnknown
{
extern(Windows):
HRESULT abi_Invoke(IInspectable sender, Windows.ApplicationModel.IEnteredBackgroundEventArgs e);
}
@uuid("00b4ccd9-7a9c-4b6b-9ac4-13474f268bc4")
interface LeavingBackgroundEventHandler : IUnknown
{
extern(Windows):
HRESULT abi_Invoke(IInspectable sender, Windows.ApplicationModel.ILeavingBackgroundEventArgs e);
}
@uuid("7af46fe6-40ca-4e49-a7d6-dbdb330cd1a3")
interface NavigatedEventHandler : IUnknown
{
extern(Windows):
HRESULT abi_Invoke(IInspectable sender, Windows.UI.WebUI.IWebUINavigatedEventArgs e);
}
@uuid("26599ba9-a22d-4806-a728-acadc1d075fa")
interface ResumingEventHandler : IUnknown
{
extern(Windows):
HRESULT abi_Invoke(IInspectable sender);
}
@uuid("509c429c-78e2-4883-abc8-8960dcde1b5c")
interface SuspendingEventHandler : IUnknown
{
extern(Windows):
HRESULT abi_Invoke(IInspectable sender, Windows.ApplicationModel.ISuspendingEventArgs e);
}
@uuid("c3bd1978-a431-49d8-a76a-395a4e03dcf3")
@WinrtFactory("Windows.UI.WebUI.ActivatedDeferral")
interface IActivatedDeferral : IInspectable
{
extern(Windows):
HRESULT abi_Complete();
}
@uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b")
interface IActivatedEventArgsDeferral : IInspectable
{
extern(Windows):
HRESULT get_ActivatedOperation(Windows.UI.WebUI.ActivatedOperation* return_value);
}
@uuid("b6a0b4bc-c6ca-42fd-9818-71904e45fed7")
@WinrtFactory("Windows.UI.WebUI.ActivatedOperation")
interface IActivatedOperation : IInspectable
{
extern(Windows):
HRESULT abi_GetDeferral(Windows.UI.WebUI.ActivatedDeferral* return_deferral);
}
@uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6")
@WinrtFactory("Windows.UI.WebUI.HtmlPrintDocumentSource")
interface IHtmlPrintDocumentSource_Base : IInspectable
{
extern(Windows):
HRESULT get_Content(Windows.UI.WebUI.PrintContent* return_value);
HRESULT set_Content(Windows.UI.WebUI.PrintContent value);
HRESULT get_LeftMargin(float* return_value);
HRESULT set_LeftMargin(float value);
HRESULT get_TopMargin(float* return_value);
HRESULT set_TopMargin(float value);
HRESULT get_RightMargin(float* return_value);
HRESULT set_RightMargin(float value);
HRESULT get_BottomMargin(float* return_value);
HRESULT set_BottomMargin(float value);
HRESULT get_EnableHeaderFooter(bool* return_value);
HRESULT set_EnableHeaderFooter(bool value);
HRESULT get_ShrinkToFit(bool* return_value);
HRESULT set_ShrinkToFit(bool value);
HRESULT get_PercentScale(float* return_pScalePercent);
HRESULT set_PercentScale(float scalePercent);
HRESULT get_PageRange(HSTRING* return_pstrPageRange);
HRESULT abi_TrySetPageRange(HSTRING strPageRange, bool* return_pfSuccess);
}
@uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6")
@WinrtFactory("Windows.UI.WebUI.HtmlPrintDocumentSource")
interface IHtmlPrintDocumentSource : IHtmlPrintDocumentSource_Base, Windows.Graphics.Printing.IPrintDocumentSource {}
@uuid("351b86bd-43b3-482b-85db-35d87b517ad9")
@WinrtFactory("Windows.UI.WebUI.WebUIApplication")
interface IWebUIActivationStatics : IInspectable
{
extern(Windows):
HRESULT add_Activated(Windows.UI.WebUI.ActivatedEventHandler handler, EventRegistrationToken* return_token);
HRESULT remove_Activated(EventRegistrationToken token);
HRESULT add_Suspending(Windows.UI.WebUI.SuspendingEventHandler handler, EventRegistrationToken* return_token);
HRESULT remove_Suspending(EventRegistrationToken token);
HRESULT add_Resuming(Windows.UI.WebUI.ResumingEventHandler handler, EventRegistrationToken* return_token);
HRESULT remove_Resuming(EventRegistrationToken token);
HRESULT add_Navigated(Windows.UI.WebUI.NavigatedEventHandler handler, EventRegistrationToken* return_token);
HRESULT remove_Navigated(EventRegistrationToken token);
}
@uuid("c8e88696-4d78-4aa4-8f06-2a9eadc6c40a")
@WinrtFactory("Windows.UI.WebUI.WebUIApplication")
interface IWebUIActivationStatics2 : IInspectable
{
extern(Windows):
HRESULT add_LeavingBackground(Windows.UI.WebUI.LeavingBackgroundEventHandler handler, EventRegistrationToken* return_token);
HRESULT remove_LeavingBackground(EventRegistrationToken token);
HRESULT add_EnteredBackground(Windows.UI.WebUI.EnteredBackgroundEventHandler handler, EventRegistrationToken* return_token);
HRESULT remove_EnteredBackground(EventRegistrationToken token);
HRESULT abi_EnablePrelaunch(bool value);
}
@uuid("23f12c25-e2f7-4741-bc9c-394595de24dc")
interface IWebUIBackgroundTaskInstance : IInspectable
{
extern(Windows):
HRESULT get_Succeeded(bool* return_succeeded);
HRESULT set_Succeeded(bool succeeded);
}
@uuid("9c7a5291-19ae-4ca3-b94b-fe4ec744a740")
@WinrtFactory("Windows.UI.WebUI.WebUIBackgroundTaskInstance")
interface IWebUIBackgroundTaskInstanceStatics : IInspectable
{
extern(Windows):
HRESULT get_Current(Windows.UI.WebUI.IWebUIBackgroundTaskInstance* return_backgroundTaskInstance);
}
@uuid("d804204d-831f-46e2-b432-3afce211f962")
@WinrtFactory("Windows.UI.WebUI.WebUINavigatedDeferral")
interface IWebUINavigatedDeferral : IInspectable
{
extern(Windows):
HRESULT abi_Complete();
}
@uuid("a75841b8-2499-4030-a69d-15d2d9cfe524")
interface IWebUINavigatedEventArgs : IInspectable
{
extern(Windows):
HRESULT get_NavigatedOperation(Windows.UI.WebUI.WebUINavigatedOperation* return_value);
}
@uuid("7a965f08-8182-4a89-ab67-8492e8750d4b")
@WinrtFactory("Windows.UI.WebUI.WebUINavigatedOperation")
interface IWebUINavigatedOperation : IInspectable
{
extern(Windows):
HRESULT abi_GetDeferral(Windows.UI.WebUI.WebUINavigatedDeferral* return_deferral);
}
interface ActivatedDeferral : Windows.UI.WebUI.IActivatedDeferral
{
extern(Windows):
final void Complete()
{
Debug.OK((cast(Windows.UI.WebUI.IActivatedDeferral)this.asInterface(uuid("c3bd1978-a431-49d8-a76a-395a4e03dcf3"))).abi_Complete());
}
}
interface ActivatedOperation : Windows.UI.WebUI.IActivatedOperation
{
extern(Windows):
final Windows.UI.WebUI.ActivatedDeferral GetDeferral()
{
Windows.UI.WebUI.ActivatedDeferral _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedOperation)this.asInterface(uuid("b6a0b4bc-c6ca-42fd-9818-71904e45fed7"))).abi_GetDeferral(&_ret));
return _ret;
}
}
interface EnteredBackgroundEventArgs : Windows.ApplicationModel.IEnteredBackgroundEventArgs
{
extern(Windows):
final Windows.Foundation.Deferral GetDeferral()
{
Windows.Foundation.Deferral _ret;
Debug.OK((cast(Windows.ApplicationModel.IEnteredBackgroundEventArgs)this.asInterface(uuid("f722dcc2-9827-403d-aaed-ecca9ac17398"))).abi_GetDeferral(&_ret));
return _ret;
}
}
interface HtmlPrintDocumentSource : Windows.UI.WebUI.IHtmlPrintDocumentSource, Windows.Graphics.Printing.IPrintDocumentSource, Windows.Foundation.IClosable
{
extern(Windows):
final Windows.UI.WebUI.PrintContent Content()
{
Windows.UI.WebUI.PrintContent _ret;
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).get_Content(&_ret));
return _ret;
}
final void Content(Windows.UI.WebUI.PrintContent value)
{
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).set_Content(value));
}
final float LeftMargin()
{
float _ret;
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).get_LeftMargin(&_ret));
return _ret;
}
final void LeftMargin(float value)
{
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).set_LeftMargin(value));
}
final float TopMargin()
{
float _ret;
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).get_TopMargin(&_ret));
return _ret;
}
final void TopMargin(float value)
{
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).set_TopMargin(value));
}
final float RightMargin()
{
float _ret;
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).get_RightMargin(&_ret));
return _ret;
}
final void RightMargin(float value)
{
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).set_RightMargin(value));
}
final float BottomMargin()
{
float _ret;
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).get_BottomMargin(&_ret));
return _ret;
}
final void BottomMargin(float value)
{
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).set_BottomMargin(value));
}
final bool EnableHeaderFooter()
{
bool _ret;
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).get_EnableHeaderFooter(&_ret));
return _ret;
}
final void EnableHeaderFooter(bool value)
{
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).set_EnableHeaderFooter(value));
}
final bool ShrinkToFit()
{
bool _ret;
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).get_ShrinkToFit(&_ret));
return _ret;
}
final void ShrinkToFit(bool value)
{
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).set_ShrinkToFit(value));
}
final float PercentScale()
{
float _ret;
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).get_PercentScale(&_ret));
return _ret;
}
final void PercentScale(float scalePercent)
{
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).set_PercentScale(scalePercent));
}
final HSTRING PageRange()
{
HSTRING _ret;
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).get_PageRange(&_ret));
return _ret;
}
final bool TrySetPageRange(HSTRING strPageRange)
{
bool _ret;
Debug.OK((cast(Windows.UI.WebUI.IHtmlPrintDocumentSource)this.asInterface(uuid("cea6469a-0e05-467a-abc9-36ec1d4cdcb6"))).abi_TrySetPageRange(strPageRange, &_ret));
return _ret;
}
final void Close()
{
Debug.OK((cast(Windows.Foundation.IClosable)this.asInterface(uuid("30d5a829-7fa4-4026-83bb-d75bae4ea99e"))).abi_Close());
}
}
interface LeavingBackgroundEventArgs : Windows.ApplicationModel.ILeavingBackgroundEventArgs
{
extern(Windows):
final Windows.Foundation.Deferral GetDeferral()
{
Windows.Foundation.Deferral _ret;
Debug.OK((cast(Windows.ApplicationModel.ILeavingBackgroundEventArgs)this.asInterface(uuid("39c6ec9a-ae6e-46f9-a07a-cfc23f88733e"))).abi_GetDeferral(&_ret));
return _ret;
}
}
interface SuspendingDeferral : Windows.ApplicationModel.ISuspendingDeferral
{
extern(Windows):
final void Complete()
{
Debug.OK((cast(Windows.ApplicationModel.ISuspendingDeferral)this.asInterface(uuid("59140509-8bc9-4eb4-b636-dabdc4f46f66"))).abi_Complete());
}
}
interface SuspendingEventArgs : Windows.ApplicationModel.ISuspendingEventArgs
{
extern(Windows):
final Windows.ApplicationModel.SuspendingOperation SuspendingOperation()
{
Windows.ApplicationModel.SuspendingOperation _ret;
Debug.OK((cast(Windows.ApplicationModel.ISuspendingEventArgs)this.asInterface(uuid("96061c05-2dba-4d08-b0bd-2b30a131c6aa"))).get_SuspendingOperation(&_ret));
return _ret;
}
}
interface SuspendingOperation : Windows.ApplicationModel.ISuspendingOperation
{
extern(Windows):
final Windows.ApplicationModel.SuspendingDeferral GetDeferral()
{
Windows.ApplicationModel.SuspendingDeferral _ret;
Debug.OK((cast(Windows.ApplicationModel.ISuspendingOperation)this.asInterface(uuid("9da4ca41-20e1-4e9b-9f65-a9f435340c3a"))).abi_GetDeferral(&_ret));
return _ret;
}
final Windows.Foundation.DateTime Deadline()
{
Windows.Foundation.DateTime _ret;
Debug.OK((cast(Windows.ApplicationModel.ISuspendingOperation)this.asInterface(uuid("9da4ca41-20e1-4e9b-9f65-a9f435340c3a"))).get_Deadline(&_ret));
return _ret;
}
}
interface WebUIApplication
{
private static Windows.UI.WebUI.IWebUIActivationStatics _staticInstance;
public static Windows.UI.WebUI.IWebUIActivationStatics staticInstance()
{
if (_staticInstance is null) _staticInstance = factory!(Windows.UI.WebUI.IWebUIActivationStatics);
return _staticInstance;
}
static EventRegistrationToken OnActivated(void delegate(IInspectable, Windows.ApplicationModel.Activation.IActivatedEventArgs) fn)
{
EventRegistrationToken tok;
Debug.OK(staticInstance.add_Activated(event!(Windows.UI.WebUI.ActivatedEventHandler, IInspectable, Windows.ApplicationModel.Activation.IActivatedEventArgs)(fn), &tok));
return tok;
}
static void removeActivated(EventRegistrationToken token)
{
Debug.OK(staticInstance.remove_Activated(token));
}
static EventRegistrationToken OnSuspending(void delegate(IInspectable, Windows.ApplicationModel.ISuspendingEventArgs) fn)
{
EventRegistrationToken tok;
Debug.OK(staticInstance.add_Suspending(event!(Windows.UI.WebUI.SuspendingEventHandler, IInspectable, Windows.ApplicationModel.ISuspendingEventArgs)(fn), &tok));
return tok;
}
static void removeSuspending(EventRegistrationToken token)
{
Debug.OK(staticInstance.remove_Suspending(token));
}
static EventRegistrationToken OnResuming(void delegate(IInspectable) fn)
{
EventRegistrationToken tok;
Debug.OK(staticInstance.add_Resuming(event!(Windows.UI.WebUI.ResumingEventHandler, IInspectable)(fn), &tok));
return tok;
}
static void removeResuming(EventRegistrationToken token)
{
Debug.OK(staticInstance.remove_Resuming(token));
}
static EventRegistrationToken OnNavigated(void delegate(IInspectable, Windows.UI.WebUI.IWebUINavigatedEventArgs) fn)
{
EventRegistrationToken tok;
Debug.OK(staticInstance.add_Navigated(event!(Windows.UI.WebUI.NavigatedEventHandler, IInspectable, Windows.UI.WebUI.IWebUINavigatedEventArgs)(fn), &tok));
return tok;
}
static void removeNavigated(EventRegistrationToken token)
{
Debug.OK(staticInstance.remove_Navigated(token));
}
}
interface WebUIAppointmentsProviderAddAppointmentActivatedEventArgs : Windows.ApplicationModel.Activation.IAppointmentsProviderAddAppointmentActivatedEventArgs, Windows.ApplicationModel.Activation.IAppointmentsProviderActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation AddAppointmentOperation()
{
Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IAppointmentsProviderAddAppointmentActivatedEventArgs)this.asInterface(uuid("a2861367-cee5-4e4d-9ed7-41c34ec18b02"))).get_AddAppointmentOperation(&_ret));
return _ret;
}
final HSTRING Verb()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IAppointmentsProviderActivatedEventArgs)this.asInterface(uuid("3364c405-933c-4e7d-a034-500fb8dcd9f3"))).get_Verb(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs : Windows.ApplicationModel.Activation.IAppointmentsProviderRemoveAppointmentActivatedEventArgs, Windows.ApplicationModel.Activation.IAppointmentsProviderActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation RemoveAppointmentOperation()
{
Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IAppointmentsProviderRemoveAppointmentActivatedEventArgs)this.asInterface(uuid("751f3ab8-0b8e-451c-9f15-966e699bac25"))).get_RemoveAppointmentOperation(&_ret));
return _ret;
}
final HSTRING Verb()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IAppointmentsProviderActivatedEventArgs)this.asInterface(uuid("3364c405-933c-4e7d-a034-500fb8dcd9f3"))).get_Verb(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs : Windows.ApplicationModel.Activation.IAppointmentsProviderReplaceAppointmentActivatedEventArgs, Windows.ApplicationModel.Activation.IAppointmentsProviderActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation ReplaceAppointmentOperation()
{
Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IAppointmentsProviderReplaceAppointmentActivatedEventArgs)this.asInterface(uuid("1551b7d4-a981-4067-8a62-0524e4ade121"))).get_ReplaceAppointmentOperation(&_ret));
return _ret;
}
final HSTRING Verb()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IAppointmentsProviderActivatedEventArgs)this.asInterface(uuid("3364c405-933c-4e7d-a034-500fb8dcd9f3"))).get_Verb(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs : Windows.ApplicationModel.Activation.IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, Windows.ApplicationModel.Activation.IAppointmentsProviderActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.Foundation.IReference!(Windows.Foundation.DateTime) InstanceStartDate()
{
Windows.Foundation.IReference!(Windows.Foundation.DateTime) _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs)this.asInterface(uuid("3958f065-9841-4ca5-999b-885198b9ef2a"))).get_InstanceStartDate(&_ret));
return _ret;
}
final HSTRING LocalId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs)this.asInterface(uuid("3958f065-9841-4ca5-999b-885198b9ef2a"))).get_LocalId(&_ret));
return _ret;
}
final HSTRING RoamingId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs)this.asInterface(uuid("3958f065-9841-4ca5-999b-885198b9ef2a"))).get_RoamingId(&_ret));
return _ret;
}
final HSTRING Verb()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IAppointmentsProviderActivatedEventArgs)this.asInterface(uuid("3364c405-933c-4e7d-a034-500fb8dcd9f3"))).get_Verb(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs : Windows.ApplicationModel.Activation.IAppointmentsProviderShowTimeFrameActivatedEventArgs, Windows.ApplicationModel.Activation.IAppointmentsProviderActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.Foundation.DateTime TimeToShow()
{
Windows.Foundation.DateTime _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IAppointmentsProviderShowTimeFrameActivatedEventArgs)this.asInterface(uuid("9baeaba6-0e0b-49aa-babc-12b1dc774986"))).get_TimeToShow(&_ret));
return _ret;
}
final Windows.Foundation.TimeSpan Duration()
{
Windows.Foundation.TimeSpan _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IAppointmentsProviderShowTimeFrameActivatedEventArgs)this.asInterface(uuid("9baeaba6-0e0b-49aa-babc-12b1dc774986"))).get_Duration(&_ret));
return _ret;
}
final HSTRING Verb()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IAppointmentsProviderActivatedEventArgs)this.asInterface(uuid("3364c405-933c-4e7d-a034-500fb8dcd9f3"))).get_Verb(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIBackgroundTaskInstance
{
private static Windows.UI.WebUI.IWebUIBackgroundTaskInstanceStatics _staticInstance;
public static Windows.UI.WebUI.IWebUIBackgroundTaskInstanceStatics staticInstance()
{
if (_staticInstance is null) _staticInstance = factory!(Windows.UI.WebUI.IWebUIBackgroundTaskInstanceStatics);
return _staticInstance;
}
static Windows.UI.WebUI.IWebUIBackgroundTaskInstance Current()
{
Windows.UI.WebUI.IWebUIBackgroundTaskInstance _ret;
Debug.OK(staticInstance.get_Current(&_ret));
return _ret;
}
}
interface WebUIBackgroundTaskInstanceRuntimeClass : Windows.UI.WebUI.IWebUIBackgroundTaskInstance, Windows.ApplicationModel.Background.IBackgroundTaskInstance
{
extern(Windows):
final bool Succeeded()
{
bool _ret;
Debug.OK((cast(Windows.UI.WebUI.IWebUIBackgroundTaskInstance)this.asInterface(uuid("23f12c25-e2f7-4741-bc9c-394595de24dc"))).get_Succeeded(&_ret));
return _ret;
}
final void Succeeded(bool succeeded)
{
Debug.OK((cast(Windows.UI.WebUI.IWebUIBackgroundTaskInstance)this.asInterface(uuid("23f12c25-e2f7-4741-bc9c-394595de24dc"))).set_Succeeded(succeeded));
}
final GUID InstanceId()
{
GUID _ret;
Debug.OK((cast(Windows.ApplicationModel.Background.IBackgroundTaskInstance)this.asInterface(uuid("865bda7a-21d8-4573-8f32-928a1b0641f6"))).get_InstanceId(&_ret));
return _ret;
}
final Windows.ApplicationModel.Background.BackgroundTaskRegistration Task()
{
Windows.ApplicationModel.Background.BackgroundTaskRegistration _ret;
Debug.OK((cast(Windows.ApplicationModel.Background.IBackgroundTaskInstance)this.asInterface(uuid("865bda7a-21d8-4573-8f32-928a1b0641f6"))).get_Task(&_ret));
return _ret;
}
final UINT32 Progress()
{
UINT32 _ret;
Debug.OK((cast(Windows.ApplicationModel.Background.IBackgroundTaskInstance)this.asInterface(uuid("865bda7a-21d8-4573-8f32-928a1b0641f6"))).get_Progress(&_ret));
return _ret;
}
final void Progress(UINT32 value)
{
Debug.OK((cast(Windows.ApplicationModel.Background.IBackgroundTaskInstance)this.asInterface(uuid("865bda7a-21d8-4573-8f32-928a1b0641f6"))).set_Progress(value));
}
final IInspectable TriggerDetails()
{
IInspectable _ret;
Debug.OK((cast(Windows.ApplicationModel.Background.IBackgroundTaskInstance)this.asInterface(uuid("865bda7a-21d8-4573-8f32-928a1b0641f6"))).get_TriggerDetails(&_ret));
return _ret;
}
final EventRegistrationToken OnCanceled(void delegate(Windows.ApplicationModel.Background.IBackgroundTaskInstance, Windows.ApplicationModel.Background.BackgroundTaskCancellationReason) fn)
{
EventRegistrationToken tok;
Debug.OK((cast(Windows.ApplicationModel.Background.IBackgroundTaskInstance)this.asInterface(uuid("865bda7a-21d8-4573-8f32-928a1b0641f6"))).add_Canceled(event!(Windows.ApplicationModel.Background.BackgroundTaskCanceledEventHandler, Windows.ApplicationModel.Background.IBackgroundTaskInstance, Windows.ApplicationModel.Background.BackgroundTaskCancellationReason)(fn), &tok));
return tok;
}
final void removeCanceled(EventRegistrationToken cookie)
{
Debug.OK((cast(Windows.ApplicationModel.Background.IBackgroundTaskInstance)this.asInterface(uuid("865bda7a-21d8-4573-8f32-928a1b0641f6"))).remove_Canceled(cookie));
}
final UINT32 SuspendedCount()
{
UINT32 _ret;
Debug.OK((cast(Windows.ApplicationModel.Background.IBackgroundTaskInstance)this.asInterface(uuid("865bda7a-21d8-4573-8f32-928a1b0641f6"))).get_SuspendedCount(&_ret));
return _ret;
}
final Windows.ApplicationModel.Background.BackgroundTaskDeferral GetDeferral()
{
Windows.ApplicationModel.Background.BackgroundTaskDeferral _ret;
Debug.OK((cast(Windows.ApplicationModel.Background.IBackgroundTaskInstance)this.asInterface(uuid("865bda7a-21d8-4573-8f32-928a1b0641f6"))).abi_GetDeferral(&_ret));
return _ret;
}
}
interface WebUICachedFileUpdaterActivatedEventArgs : Windows.ApplicationModel.Activation.ICachedFileUpdaterActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.Storage.Provider.CachedFileUpdaterUI CachedFileUpdaterUI()
{
Windows.Storage.Provider.CachedFileUpdaterUI _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.ICachedFileUpdaterActivatedEventArgs)this.asInterface(uuid("d06eb1c7-3805-4ecb-b757-6cf15e26fef3"))).get_CachedFileUpdaterUI(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUICameraSettingsActivatedEventArgs : Windows.ApplicationModel.Activation.ICameraSettingsActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final IInspectable VideoDeviceController()
{
IInspectable _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.ICameraSettingsActivatedEventArgs)this.asInterface(uuid("fb67a508-2dad-490a-9170-dca036eb114b"))).get_VideoDeviceController(&_ret));
return _ret;
}
final IInspectable VideoDeviceExtension()
{
IInspectable _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.ICameraSettingsActivatedEventArgs)this.asInterface(uuid("fb67a508-2dad-490a-9170-dca036eb114b"))).get_VideoDeviceExtension(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
interface WebUIContactCallActivatedEventArgs : Windows.ApplicationModel.Activation.IContactCallActivatedEventArgs, Windows.ApplicationModel.Activation.IContactActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final HSTRING ServiceId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactCallActivatedEventArgs)this.asInterface(uuid("c2df14c7-30eb-41c6-b3bc-5b1694f9dab3"))).get_ServiceId(&_ret));
return _ret;
}
final HSTRING ServiceUserId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactCallActivatedEventArgs)this.asInterface(uuid("c2df14c7-30eb-41c6-b3bc-5b1694f9dab3"))).get_ServiceUserId(&_ret));
return _ret;
}
final Windows.ApplicationModel.Contacts.Contact Contact()
{
Windows.ApplicationModel.Contacts.Contact _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactCallActivatedEventArgs)this.asInterface(uuid("c2df14c7-30eb-41c6-b3bc-5b1694f9dab3"))).get_Contact(&_ret));
return _ret;
}
final HSTRING Verb()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactActivatedEventArgs)this.asInterface(uuid("d627a1c4-c025-4c41-9def-f1eafad075e7"))).get_Verb(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
interface WebUIContactMapActivatedEventArgs : Windows.ApplicationModel.Activation.IContactMapActivatedEventArgs, Windows.ApplicationModel.Activation.IContactActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final Windows.ApplicationModel.Contacts.ContactAddress Address()
{
Windows.ApplicationModel.Contacts.ContactAddress _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactMapActivatedEventArgs)this.asInterface(uuid("b32bf870-eee7-4ad2-aaf1-a87effcf00a4"))).get_Address(&_ret));
return _ret;
}
final Windows.ApplicationModel.Contacts.Contact Contact()
{
Windows.ApplicationModel.Contacts.Contact _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactMapActivatedEventArgs)this.asInterface(uuid("b32bf870-eee7-4ad2-aaf1-a87effcf00a4"))).get_Contact(&_ret));
return _ret;
}
final HSTRING Verb()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactActivatedEventArgs)this.asInterface(uuid("d627a1c4-c025-4c41-9def-f1eafad075e7"))).get_Verb(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
interface WebUIContactMessageActivatedEventArgs : Windows.ApplicationModel.Activation.IContactMessageActivatedEventArgs, Windows.ApplicationModel.Activation.IContactActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final HSTRING ServiceId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactMessageActivatedEventArgs)this.asInterface(uuid("de598db2-0e03-43b0-bf56-bcc40b3162df"))).get_ServiceId(&_ret));
return _ret;
}
final HSTRING ServiceUserId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactMessageActivatedEventArgs)this.asInterface(uuid("de598db2-0e03-43b0-bf56-bcc40b3162df"))).get_ServiceUserId(&_ret));
return _ret;
}
final Windows.ApplicationModel.Contacts.Contact Contact()
{
Windows.ApplicationModel.Contacts.Contact _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactMessageActivatedEventArgs)this.asInterface(uuid("de598db2-0e03-43b0-bf56-bcc40b3162df"))).get_Contact(&_ret));
return _ret;
}
final HSTRING Verb()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactActivatedEventArgs)this.asInterface(uuid("d627a1c4-c025-4c41-9def-f1eafad075e7"))).get_Verb(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
interface WebUIContactPanelActivatedEventArgs : Windows.ApplicationModel.Activation.IContactPanelActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.ApplicationModel.Contacts.ContactPanel ContactPanel()
{
Windows.ApplicationModel.Contacts.ContactPanel _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactPanelActivatedEventArgs)this.asInterface(uuid("52bb63e4-d3d4-4b63-8051-4af2082cab80"))).get_ContactPanel(&_ret));
return _ret;
}
final Windows.ApplicationModel.Contacts.Contact Contact()
{
Windows.ApplicationModel.Contacts.Contact _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactPanelActivatedEventArgs)this.asInterface(uuid("52bb63e4-d3d4-4b63-8051-4af2082cab80"))).get_Contact(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIContactPickerActivatedEventArgs : Windows.ApplicationModel.Activation.IContactPickerActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final Windows.ApplicationModel.Contacts.Provider.ContactPickerUI ContactPickerUI()
{
Windows.ApplicationModel.Contacts.Provider.ContactPickerUI _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactPickerActivatedEventArgs)this.asInterface(uuid("ce57aae7-6449-45a7-971f-d113be7a8936"))).get_ContactPickerUI(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
interface WebUIContactPostActivatedEventArgs : Windows.ApplicationModel.Activation.IContactPostActivatedEventArgs, Windows.ApplicationModel.Activation.IContactActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final HSTRING ServiceId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactPostActivatedEventArgs)this.asInterface(uuid("b35a3c67-f1e7-4655-ad6e-4857588f552f"))).get_ServiceId(&_ret));
return _ret;
}
final HSTRING ServiceUserId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactPostActivatedEventArgs)this.asInterface(uuid("b35a3c67-f1e7-4655-ad6e-4857588f552f"))).get_ServiceUserId(&_ret));
return _ret;
}
final Windows.ApplicationModel.Contacts.Contact Contact()
{
Windows.ApplicationModel.Contacts.Contact _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactPostActivatedEventArgs)this.asInterface(uuid("b35a3c67-f1e7-4655-ad6e-4857588f552f"))).get_Contact(&_ret));
return _ret;
}
final HSTRING Verb()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactActivatedEventArgs)this.asInterface(uuid("d627a1c4-c025-4c41-9def-f1eafad075e7"))).get_Verb(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
interface WebUIContactVideoCallActivatedEventArgs : Windows.ApplicationModel.Activation.IContactVideoCallActivatedEventArgs, Windows.ApplicationModel.Activation.IContactActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final HSTRING ServiceId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactVideoCallActivatedEventArgs)this.asInterface(uuid("61079db8-e3e7-4b4f-858d-5c63a96ef684"))).get_ServiceId(&_ret));
return _ret;
}
final HSTRING ServiceUserId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactVideoCallActivatedEventArgs)this.asInterface(uuid("61079db8-e3e7-4b4f-858d-5c63a96ef684"))).get_ServiceUserId(&_ret));
return _ret;
}
final Windows.ApplicationModel.Contacts.Contact Contact()
{
Windows.ApplicationModel.Contacts.Contact _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactVideoCallActivatedEventArgs)this.asInterface(uuid("61079db8-e3e7-4b4f-858d-5c63a96ef684"))).get_Contact(&_ret));
return _ret;
}
final HSTRING Verb()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContactActivatedEventArgs)this.asInterface(uuid("d627a1c4-c025-4c41-9def-f1eafad075e7"))).get_Verb(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
interface WebUIDeviceActivatedEventArgs : Windows.ApplicationModel.Activation.IDeviceActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final HSTRING DeviceInformationId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IDeviceActivatedEventArgs)this.asInterface(uuid("cd50b9a9-ce10-44d2-8234-c355a073ef33"))).get_DeviceInformationId(&_ret));
return _ret;
}
final HSTRING Verb()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IDeviceActivatedEventArgs)this.asInterface(uuid("cd50b9a9-ce10-44d2-8234-c355a073ef33"))).get_Verb(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final INT32 CurrentlyShownApplicationViewId()
{
INT32 _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs)this.asInterface(uuid("930cef4b-b829-40fc-88f4-8513e8a64738"))).get_CurrentlyShownApplicationViewId(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIDevicePairingActivatedEventArgs : Windows.ApplicationModel.Activation.IDevicePairingActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.Devices.Enumeration.DeviceInformation DeviceInformation()
{
Windows.Devices.Enumeration.DeviceInformation _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IDevicePairingActivatedEventArgs)this.asInterface(uuid("eba0d1e4-ecc6-4148-94ed-f4b37ec05b3e"))).get_DeviceInformation(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIDialReceiverActivatedEventArgs : Windows.ApplicationModel.Activation.IDialReceiverActivatedEventArgs, Windows.ApplicationModel.Activation.ILaunchActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final HSTRING AppName()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IDialReceiverActivatedEventArgs)this.asInterface(uuid("fb777ed7-85ee-456e-a44d-85d730e70aed"))).get_AppName(&_ret));
return _ret;
}
final HSTRING Arguments()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.ILaunchActivatedEventArgs)this.asInterface(uuid("fbc93e26-a14a-4b4f-82b0-33bed920af52"))).get_Arguments(&_ret));
return _ret;
}
final HSTRING TileId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.ILaunchActivatedEventArgs)this.asInterface(uuid("fbc93e26-a14a-4b4f-82b0-33bed920af52"))).get_TileId(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final INT32 CurrentlyShownApplicationViewId()
{
INT32 _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs)this.asInterface(uuid("930cef4b-b829-40fc-88f4-8513e8a64738"))).get_CurrentlyShownApplicationViewId(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIFileActivatedEventArgs : Windows.ApplicationModel.Activation.IFileActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IFileActivatedEventArgsWithNeighboringFiles, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.Foundation.Collections.IVectorView!(Windows.Storage.IStorageItem) Files()
{
Windows.Foundation.Collections.IVectorView!(Windows.Storage.IStorageItem) _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IFileActivatedEventArgs)this.asInterface(uuid("bb2afc33-93b1-42ed-8b26-236dd9c78496"))).get_Files(&_ret));
return _ret;
}
final HSTRING Verb()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IFileActivatedEventArgs)this.asInterface(uuid("bb2afc33-93b1-42ed-8b26-236dd9c78496"))).get_Verb(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final INT32 CurrentlyShownApplicationViewId()
{
INT32 _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs)this.asInterface(uuid("930cef4b-b829-40fc-88f4-8513e8a64738"))).get_CurrentlyShownApplicationViewId(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.Storage.Search.StorageFileQueryResult NeighboringFilesQuery()
{
Windows.Storage.Search.StorageFileQueryResult _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IFileActivatedEventArgsWithNeighboringFiles)this.asInterface(uuid("433ba1a4-e1e2-48fd-b7fc-b5d6eee65033"))).get_NeighboringFilesQuery(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIFileOpenPickerActivatedEventArgs : Windows.ApplicationModel.Activation.IFileOpenPickerActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.ApplicationModel.Activation.IFileOpenPickerActivatedEventArgs2, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.Storage.Pickers.Provider.FileOpenPickerUI FileOpenPickerUI()
{
Windows.Storage.Pickers.Provider.FileOpenPickerUI _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IFileOpenPickerActivatedEventArgs)this.asInterface(uuid("72827082-5525-4bf2-bc09-1f5095d4964d"))).get_FileOpenPickerUI(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final HSTRING CallerPackageFamilyName()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IFileOpenPickerActivatedEventArgs2)this.asInterface(uuid("5e731f66-8d1f-45fb-af1d-73205c8fc7a1"))).get_CallerPackageFamilyName(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIFileOpenPickerContinuationEventArgs : Windows.ApplicationModel.Activation.IFileOpenPickerContinuationEventArgs, Windows.ApplicationModel.Activation.IContinuationActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.Foundation.Collections.IVectorView!(Windows.Storage.StorageFile) Files()
{
Windows.Foundation.Collections.IVectorView!(Windows.Storage.StorageFile) _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IFileOpenPickerContinuationEventArgs)this.asInterface(uuid("f0fa3f3a-d4e8-4ad3-9c34-2308f32fcec9"))).get_Files(&_ret));
return _ret;
}
final Windows.Foundation.Collections.ValueSet ContinuationData()
{
Windows.Foundation.Collections.ValueSet _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContinuationActivatedEventArgs)this.asInterface(uuid("e58106b5-155f-4a94-a742-c7e08f4e188c"))).get_ContinuationData(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIFileSavePickerActivatedEventArgs : Windows.ApplicationModel.Activation.IFileSavePickerActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.ApplicationModel.Activation.IFileSavePickerActivatedEventArgs2, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.Storage.Pickers.Provider.FileSavePickerUI FileSavePickerUI()
{
Windows.Storage.Pickers.Provider.FileSavePickerUI _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IFileSavePickerActivatedEventArgs)this.asInterface(uuid("81c19cf1-74e6-4387-82eb-bb8fd64b4346"))).get_FileSavePickerUI(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final HSTRING CallerPackageFamilyName()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IFileSavePickerActivatedEventArgs2)this.asInterface(uuid("6b73fe13-2cf2-4d48-8cbc-af67d23f1ce7"))).get_CallerPackageFamilyName(&_ret));
return _ret;
}
final HSTRING EnterpriseId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IFileSavePickerActivatedEventArgs2)this.asInterface(uuid("6b73fe13-2cf2-4d48-8cbc-af67d23f1ce7"))).get_EnterpriseId(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIFileSavePickerContinuationEventArgs : Windows.ApplicationModel.Activation.IFileSavePickerContinuationEventArgs, Windows.ApplicationModel.Activation.IContinuationActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.Storage.StorageFile File()
{
Windows.Storage.StorageFile _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IFileSavePickerContinuationEventArgs)this.asInterface(uuid("2c846fe1-3bad-4f33-8c8b-e46fae824b4b"))).get_File(&_ret));
return _ret;
}
final Windows.Foundation.Collections.ValueSet ContinuationData()
{
Windows.Foundation.Collections.ValueSet _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContinuationActivatedEventArgs)this.asInterface(uuid("e58106b5-155f-4a94-a742-c7e08f4e188c"))).get_ContinuationData(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIFolderPickerContinuationEventArgs : Windows.ApplicationModel.Activation.IFolderPickerContinuationEventArgs, Windows.ApplicationModel.Activation.IContinuationActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.Storage.StorageFolder Folder()
{
Windows.Storage.StorageFolder _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IFolderPickerContinuationEventArgs)this.asInterface(uuid("51882366-9f4b-498f-beb0-42684f6e1c29"))).get_Folder(&_ret));
return _ret;
}
final Windows.Foundation.Collections.ValueSet ContinuationData()
{
Windows.Foundation.Collections.ValueSet _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContinuationActivatedEventArgs)this.asInterface(uuid("e58106b5-155f-4a94-a742-c7e08f4e188c"))).get_ContinuationData(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUILaunchActivatedEventArgs : Windows.ApplicationModel.Activation.ILaunchActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.ApplicationModel.Activation.IPrelaunchActivatedEventArgs, Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final HSTRING Arguments()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.ILaunchActivatedEventArgs)this.asInterface(uuid("fbc93e26-a14a-4b4f-82b0-33bed920af52"))).get_Arguments(&_ret));
return _ret;
}
final HSTRING TileId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.ILaunchActivatedEventArgs)this.asInterface(uuid("fbc93e26-a14a-4b4f-82b0-33bed920af52"))).get_TileId(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final bool PrelaunchActivated()
{
bool _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IPrelaunchActivatedEventArgs)this.asInterface(uuid("0c44717b-19f7-48d6-b046-cf22826eaa74"))).get_PrelaunchActivated(&_ret));
return _ret;
}
final INT32 CurrentlyShownApplicationViewId()
{
INT32 _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs)this.asInterface(uuid("930cef4b-b829-40fc-88f4-8513e8a64738"))).get_CurrentlyShownApplicationViewId(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUILockScreenActivatedEventArgs : Windows.ApplicationModel.Activation.ILockScreenActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final IInspectable Info()
{
IInspectable _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.ILockScreenActivatedEventArgs)this.asInterface(uuid("3ca77966-6108-4a41-8220-ee7d133c8532"))).get_Info(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final INT32 CurrentlyShownApplicationViewId()
{
INT32 _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs)this.asInterface(uuid("930cef4b-b829-40fc-88f4-8513e8a64738"))).get_CurrentlyShownApplicationViewId(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUILockScreenCallActivatedEventArgs : Windows.ApplicationModel.Activation.ILockScreenCallActivatedEventArgs, Windows.ApplicationModel.Activation.ILaunchActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final Windows.ApplicationModel.Calls.LockScreenCallUI CallUI()
{
Windows.ApplicationModel.Calls.LockScreenCallUI _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.ILockScreenCallActivatedEventArgs)this.asInterface(uuid("06f37fbe-b5f2-448b-b13e-e328ac1c516a"))).get_CallUI(&_ret));
return _ret;
}
final HSTRING Arguments()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.ILaunchActivatedEventArgs)this.asInterface(uuid("fbc93e26-a14a-4b4f-82b0-33bed920af52"))).get_Arguments(&_ret));
return _ret;
}
final HSTRING TileId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.ILaunchActivatedEventArgs)this.asInterface(uuid("fbc93e26-a14a-4b4f-82b0-33bed920af52"))).get_TileId(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final INT32 CurrentlyShownApplicationViewId()
{
INT32 _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs)this.asInterface(uuid("930cef4b-b829-40fc-88f4-8513e8a64738"))).get_CurrentlyShownApplicationViewId(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
interface WebUILockScreenComponentActivatedEventArgs : Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
interface WebUINavigatedDeferral : Windows.UI.WebUI.IWebUINavigatedDeferral
{
extern(Windows):
final void Complete()
{
Debug.OK((cast(Windows.UI.WebUI.IWebUINavigatedDeferral)this.asInterface(uuid("d804204d-831f-46e2-b432-3afce211f962"))).abi_Complete());
}
}
interface WebUINavigatedEventArgs : Windows.UI.WebUI.IWebUINavigatedEventArgs
{
extern(Windows):
final Windows.UI.WebUI.WebUINavigatedOperation NavigatedOperation()
{
Windows.UI.WebUI.WebUINavigatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IWebUINavigatedEventArgs)this.asInterface(uuid("a75841b8-2499-4030-a69d-15d2d9cfe524"))).get_NavigatedOperation(&_ret));
return _ret;
}
}
interface WebUINavigatedOperation : Windows.UI.WebUI.IWebUINavigatedOperation
{
extern(Windows):
final Windows.UI.WebUI.WebUINavigatedDeferral GetDeferral()
{
Windows.UI.WebUI.WebUINavigatedDeferral _ret;
Debug.OK((cast(Windows.UI.WebUI.IWebUINavigatedOperation)this.asInterface(uuid("7a965f08-8182-4a89-ab67-8492e8750d4b"))).abi_GetDeferral(&_ret));
return _ret;
}
}
interface WebUIPrint3DWorkflowActivatedEventArgs : Windows.ApplicationModel.Activation.IPrint3DWorkflowActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final Windows.Devices.Printers.Extensions.Print3DWorkflow Workflow()
{
Windows.Devices.Printers.Extensions.Print3DWorkflow _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IPrint3DWorkflowActivatedEventArgs)this.asInterface(uuid("3f57e78b-f2ac-4619-8302-ef855e1c9b90"))).get_Workflow(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
interface WebUIPrintTaskSettingsActivatedEventArgs : Windows.ApplicationModel.Activation.IPrintTaskSettingsActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final Windows.Devices.Printers.Extensions.PrintTaskConfiguration Configuration()
{
Windows.Devices.Printers.Extensions.PrintTaskConfiguration _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IPrintTaskSettingsActivatedEventArgs)this.asInterface(uuid("ee30a0c9-ce56-4865-ba8e-8954ac271107"))).get_Configuration(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
interface WebUIPrintWorkflowForegroundTaskActivatedEventArgs : Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
interface WebUIProtocolActivatedEventArgs : Windows.ApplicationModel.Activation.IProtocolActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.ApplicationModel.Activation.IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.Foundation.Uri Uri()
{
Windows.Foundation.Uri _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IProtocolActivatedEventArgs)this.asInterface(uuid("6095f4dd-b7c0-46ab-81fe-d90f36d00d24"))).get_Uri(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final HSTRING CallerPackageFamilyName()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData)this.asInterface(uuid("d84a0c12-5c8f-438c-83cb-c28fcc0b2fdb"))).get_CallerPackageFamilyName(&_ret));
return _ret;
}
final Windows.Foundation.Collections.ValueSet Data()
{
Windows.Foundation.Collections.ValueSet _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData)this.asInterface(uuid("d84a0c12-5c8f-438c-83cb-c28fcc0b2fdb"))).get_Data(&_ret));
return _ret;
}
final INT32 CurrentlyShownApplicationViewId()
{
INT32 _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs)this.asInterface(uuid("930cef4b-b829-40fc-88f4-8513e8a64738"))).get_CurrentlyShownApplicationViewId(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIProtocolForResultsActivatedEventArgs : Windows.ApplicationModel.Activation.IProtocolForResultsActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.ApplicationModel.Activation.IProtocolActivatedEventArgs, Windows.ApplicationModel.Activation.IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.System.ProtocolForResultsOperation ProtocolForResultsOperation()
{
Windows.System.ProtocolForResultsOperation _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IProtocolForResultsActivatedEventArgs)this.asInterface(uuid("e75132c2-7ae7-4517-80ac-dbe8d7cc5b9c"))).get_ProtocolForResultsOperation(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.Foundation.Uri Uri()
{
Windows.Foundation.Uri _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IProtocolActivatedEventArgs)this.asInterface(uuid("6095f4dd-b7c0-46ab-81fe-d90f36d00d24"))).get_Uri(&_ret));
return _ret;
}
final HSTRING CallerPackageFamilyName()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData)this.asInterface(uuid("d84a0c12-5c8f-438c-83cb-c28fcc0b2fdb"))).get_CallerPackageFamilyName(&_ret));
return _ret;
}
final Windows.Foundation.Collections.ValueSet Data()
{
Windows.Foundation.Collections.ValueSet _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData)this.asInterface(uuid("d84a0c12-5c8f-438c-83cb-c28fcc0b2fdb"))).get_Data(&_ret));
return _ret;
}
final INT32 CurrentlyShownApplicationViewId()
{
INT32 _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs)this.asInterface(uuid("930cef4b-b829-40fc-88f4-8513e8a64738"))).get_CurrentlyShownApplicationViewId(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIRestrictedLaunchActivatedEventArgs : Windows.ApplicationModel.Activation.IRestrictedLaunchActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final IInspectable SharedContext()
{
IInspectable _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IRestrictedLaunchActivatedEventArgs)this.asInterface(uuid("e0b7ac81-bfc3-4344-a5da-19fd5a27baae"))).get_SharedContext(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUISearchActivatedEventArgs : Windows.ApplicationModel.Activation.ISearchActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.ApplicationModel.Activation.ISearchActivatedEventArgsWithLinguisticDetails, Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final HSTRING QueryText()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.ISearchActivatedEventArgs)this.asInterface(uuid("8cb36951-58c8-43e3-94bc-41d33f8b630e"))).get_QueryText(&_ret));
return _ret;
}
final HSTRING Language()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.ISearchActivatedEventArgs)this.asInterface(uuid("8cb36951-58c8-43e3-94bc-41d33f8b630e"))).get_Language(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.ApplicationModel.Search.SearchPaneQueryLinguisticDetails LinguisticDetails()
{
Windows.ApplicationModel.Search.SearchPaneQueryLinguisticDetails _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.ISearchActivatedEventArgsWithLinguisticDetails)this.asInterface(uuid("c09f33da-08ab-4931-9b7c-451025f21f81"))).get_LinguisticDetails(&_ret));
return _ret;
}
final INT32 CurrentlyShownApplicationViewId()
{
INT32 _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IApplicationViewActivatedEventArgs)this.asInterface(uuid("930cef4b-b829-40fc-88f4-8513e8a64738"))).get_CurrentlyShownApplicationViewId(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
interface WebUIShareTargetActivatedEventArgs : Windows.ApplicationModel.Activation.IShareTargetActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation ShareOperation()
{
Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IShareTargetActivatedEventArgs)this.asInterface(uuid("4bdaf9c8-cdb2-4acb-bfc3-6648563378ec"))).get_ShareOperation(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIToastNotificationActivatedEventArgs : Windows.ApplicationModel.Activation.IToastNotificationActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final HSTRING Argument()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IToastNotificationActivatedEventArgs)this.asInterface(uuid("92a86f82-5290-431d-be85-c4aaeeb8685f"))).get_Argument(&_ret));
return _ret;
}
final Windows.Foundation.Collections.ValueSet UserInput()
{
Windows.Foundation.Collections.ValueSet _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IToastNotificationActivatedEventArgs)this.asInterface(uuid("92a86f82-5290-431d-be85-c4aaeeb8685f"))).get_UserInput(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIUserDataAccountProviderActivatedEventArgs : Windows.ApplicationModel.Activation.IUserDataAccountProviderActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final Windows.ApplicationModel.UserDataAccounts.Provider.IUserDataAccountProviderOperation Operation()
{
Windows.ApplicationModel.UserDataAccounts.Provider.IUserDataAccountProviderOperation _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IUserDataAccountProviderActivatedEventArgs)this.asInterface(uuid("1bc9f723-8ef1-4a51-a63a-fe711eeab607"))).get_Operation(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
interface WebUIVoiceCommandActivatedEventArgs : Windows.ApplicationModel.Activation.IVoiceCommandActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.Media.SpeechRecognition.SpeechRecognitionResult Result()
{
Windows.Media.SpeechRecognition.SpeechRecognitionResult _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IVoiceCommandActivatedEventArgs)this.asInterface(uuid("ab92dcfd-8d43-4de6-9775-20704b581b00"))).get_Result(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIWalletActionActivatedEventArgs : Windows.ApplicationModel.Activation.IWalletActionActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final HSTRING ItemId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IWalletActionActivatedEventArgs)this.asInterface(uuid("fcfc027b-1a1a-4d22-923f-ae6f45fa52d9"))).get_ItemId(&_ret));
return _ret;
}
final Windows.ApplicationModel.Wallet.WalletActionKind ActionKind()
{
Windows.ApplicationModel.Wallet.WalletActionKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IWalletActionActivatedEventArgs)this.asInterface(uuid("fcfc027b-1a1a-4d22-923f-ae6f45fa52d9"))).get_ActionKind(&_ret));
return _ret;
}
final HSTRING ActionId()
{
HSTRING _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IWalletActionActivatedEventArgs)this.asInterface(uuid("fcfc027b-1a1a-4d22-923f-ae6f45fa52d9"))).get_ActionId(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
interface WebUIWebAccountProviderActivatedEventArgs : Windows.ApplicationModel.Activation.IWebAccountProviderActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser
{
extern(Windows):
final Windows.Security.Authentication.Web.Provider.IWebAccountProviderOperation Operation()
{
Windows.Security.Authentication.Web.Provider.IWebAccountProviderOperation _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IWebAccountProviderActivatedEventArgs)this.asInterface(uuid("72b71774-98ea-4ccf-9752-46d9051004f1"))).get_Operation(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
final Windows.System.User User()
{
Windows.System.User _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser)this.asInterface(uuid("1cf09b9e-9962-4936-80ff-afc8e8ae5c8c"))).get_User(&_ret));
return _ret;
}
}
interface WebUIWebAuthenticationBrokerContinuationEventArgs : Windows.ApplicationModel.Activation.IWebAuthenticationBrokerContinuationEventArgs, Windows.ApplicationModel.Activation.IContinuationActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.UI.WebUI.IActivatedEventArgsDeferral
{
extern(Windows):
final Windows.Security.Authentication.Web.WebAuthenticationResult WebAuthenticationResult()
{
Windows.Security.Authentication.Web.WebAuthenticationResult _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IWebAuthenticationBrokerContinuationEventArgs)this.asInterface(uuid("75dda3d4-7714-453d-b7ff-b95e3a1709da"))).get_WebAuthenticationResult(&_ret));
return _ret;
}
final Windows.Foundation.Collections.ValueSet ContinuationData()
{
Windows.Foundation.Collections.ValueSet _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IContinuationActivatedEventArgs)this.asInterface(uuid("e58106b5-155f-4a94-a742-c7e08f4e188c"))).get_ContinuationData(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ActivationKind Kind()
{
Windows.ApplicationModel.Activation.ActivationKind _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_Kind(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState()
{
Windows.ApplicationModel.Activation.ApplicationExecutionState _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_PreviousExecutionState(&_ret));
return _ret;
}
final Windows.ApplicationModel.Activation.SplashScreen SplashScreen()
{
Windows.ApplicationModel.Activation.SplashScreen _ret;
Debug.OK((cast(Windows.ApplicationModel.Activation.IActivatedEventArgs)this.asInterface(uuid("cf651713-cd08-4fd8-b697-a281b6544e2e"))).get_SplashScreen(&_ret));
return _ret;
}
final Windows.UI.WebUI.ActivatedOperation ActivatedOperation()
{
Windows.UI.WebUI.ActivatedOperation _ret;
Debug.OK((cast(Windows.UI.WebUI.IActivatedEventArgsDeferral)this.asInterface(uuid("ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b"))).get_ActivatedOperation(&_ret));
return _ret;
}
}
enum PrintContent
{
AllPages = 0,
CurrentPage = 1,
CustomPageRange = 2,
CurrentSelection = 3
} | D |
module hunt.net.secure.conscrypt.SSLUtils;
// dfmt off
version(WITH_HUNT_SECURITY):
// dfmt on
import hunt.net.secure.conscrypt.NativeCrypto;
// import hunt.net.secure.conscrypt.OpenSSLX509Certificate;
import hunt.net.Exceptions;
// import hunt.security.cert.CertificateFactory;
// import hunt.security.cert.X509Certificate;
import hunt.collection;
import hunt.stream.ByteArrayInputStream;
import hunt.logging;
import hunt.Exceptions;
import hunt.text.Common;
import deimos.openssl.ssl3;
import std.algorithm;
import std.conv;
/**
* Utility methods for SSL packet processing. Copied from the Netty project.
* <p>
* This is a public class to allow testing to occur on Android via CTS.
*/
final class SSLUtils {
enum bool USE_ENGINE_SOCKET_BY_DEFAULT = true;
// Boolean.parseBoolean(
// System.getProperty("org.conscrypt.useEngineSocketByDefault", "false"));
private enum int MAX_PROTOCOL_LENGTH = 255;
private enum string US_ASCII = ("US-ASCII");
// TODO(nathanmittler): Should these be in NativeConstants?
enum SessionType {
/**
* Identifies OpenSSL sessions.
*/
OPEN_SSL = 1,
/**
* Identifies OpenSSL sessions with OCSP stapled data.
*/
OPEN_SSL_WITH_OCSP = 2,
/**
* Identifies OpenSSL sessions with TLS SCT data.
*/
OPEN_SSL_WITH_TLS_SCT = 3
// SessionType(int value) {
// this.value = value;
// }
// static bool isSupportedType(int type) {
// return type == OPEN_SSL.value || type == OPEN_SSL_WITH_OCSP.value
// || type == OPEN_SSL_WITH_TLS_SCT.value;
// }
// int value;
}
static bool isSupportedType(int type) {
return type == cast(int)SessionType.OPEN_SSL ||
type == cast(int)SessionType.OPEN_SSL_WITH_OCSP ||
type == cast(int)SessionType.OPEN_SSL_WITH_TLS_SCT;
}
/**
* This is the maximum overhead when encrypting plaintext as defined by
* <a href="https://www.ietf.org/rfc/rfc5246.txt">rfc5264</a>,
* <a href="https://www.ietf.org/rfc/rfc5289.txt">rfc5289</a> and openssl implementation itself.
*
* Please note that we use a padding of 16 here as openssl uses PKC#5 which uses 16 bytes
* whilethe spec itself allow up to 255 bytes. 16 bytes is the max for PKC#5 (which handles it
* the same way as PKC#7) as we use a block size of 16. See <a
* href="https://tools.ietf.org/html/rfc5652#section-6.3">rfc5652#section-6.3</a>.
*
* 16 (IV) + 48 (MAC) + 1 (Padding_length field) + 15 (Padding) + 1 (ContentType) + 2
* (ProtocolVersion) + 2 (Length)
*
* TODO: We may need to review this calculation once TLS 1.3 becomes available.
*/
private enum int MAX_ENCRYPTION_OVERHEAD_LENGTH = 15 + 48 + 1 + 16 + 1 + 2 + 2;
private enum int MAX_ENCRYPTION_OVERHEAD_DIFF = int.max - MAX_ENCRYPTION_OVERHEAD_LENGTH;
/** Key type: RSA certificate. */
private enum string KEY_TYPE_RSA = "RSA";
/** Key type: Elliptic Curve certificate. */
private enum string KEY_TYPE_EC = "EC";
/**
* If the given session is a {@link SessionDecorator}, unwraps the session and returns the
* underlying (non-decorated) session. Otherwise, returns the provided session.
*/
// static SSLSession unwrapSession(SSLSession session) {
// while (typeid(session) == typeid(SessionDecorator)) {
// session = (cast(SessionDecorator) session).getDelegate();
// }
// return session;
// }
// static X509Certificate[] decodeX509CertificateChain(ubyte[][] certChain) {
// int numCerts = cast(int)certChain.length;
// if(numCerts == 0)
// return null;
// tracef("Certificates: %d", numCerts);
// CertificateFactory certificateFactory = getCertificateFactory();
// X509Certificate[] decodedCerts = new X509Certificate[numCerts];
// for (int i = 0; i < numCerts; i++) {
// decodedCerts[i] = decodeX509Certificate(certificateFactory, certChain[i]);
// }
// return decodedCerts;
// }
// private static CertificateFactory getCertificateFactory() {
// try {
// return CertificateFactory.getInstance("X.509");
// } catch (CertificateException e) {
// return null;
// }
// }
// private static X509Certificate decodeX509Certificate(CertificateFactory certificateFactory,
// ubyte[] bytes) {
// //tracef("X509Certificate: %(%02X %)", bytes);
// // TODO: Tasks pending completion -@zxp at 8/19/2018, 3:02:24 PM
// //
// // if (certificateFactory !is null) {
// // return cast(X509Certificate) certificateFactory.generateCertificate(
// // new ByteArrayInputStream(cast(byte[])bytes));
// // }
// // return OpenSSLX509Certificate.fromX509Der(bytes);
// implementationMissing(false);
// return null;
// }
/**
* Returns key type constant suitable for calling X509KeyManager.chooseServerAlias or
* X509ExtendedKeyManager.chooseEngineServerAlias. Returns {@code null} for key exchanges that
* do not use X.509 for server authentication.
*/
static string getServerX509KeyType(long sslCipherNative) {
version(Have_hunt_openssl) {
// implementationMissing(false);
string kx_name = null;
}
version(Have_boringssl) string kx_name = NativeCrypto.SSL_CIPHER_get_kx_name(sslCipherNative);
if (kx_name.equals("RSA") || kx_name.equals("DHE_RSA") || kx_name.equals("ECDHE_RSA")) {
return KEY_TYPE_RSA;
} else if (kx_name.equals("ECDHE_ECDSA")) {
return KEY_TYPE_EC;
} else {
return null;
}
}
// /**
// * Similar to getServerKeyType, but returns value given TLS
// * ClientCertificateType byte values from a CertificateRequest
// * message for use with X509KeyManager.chooseClientAlias or
// * X509ExtendedKeyManager.chooseEngineClientAlias.
// * <p>
// * Visible for testing.
// */
// static string getClientKeyType(byte clientCertificateType) {
// // See also http://www.ietf.org/assignments/tls-parameters/tls-parameters.xml
// switch (clientCertificateType) {
// case NativeConstants.TLS_CT_RSA_SIGN:
// return KEY_TYPE_RSA; // RFC rsa_sign
// case NativeConstants.TLS_CT_ECDSA_SIGN:
// return KEY_TYPE_EC; // RFC ecdsa_sign
// default:
// return null;
// }
// }
// /**
// * Gets the supported key types for client certificates based on the
// * {@code ClientCertificateType} values provided by the server.
// *
// * @param clientCertificateTypes {@code ClientCertificateType} values provided by the server.
// * See https://www.ietf.org/assignments/tls-parameters/tls-parameters.xml.
// * @return supported key types that can be used in {@code X509KeyManager.chooseClientAlias} and
// * {@code X509ExtendedKeyManager.chooseEngineClientAlias}.
// *
// * Visible for testing.
// */
// static Set<string> getSupportedClientKeyTypes(byte[] clientCertificateTypes) {
// Set<string> result = new HashSet<string>(clientCertificateTypes.length);
// for (byte keyTypeCode : clientCertificateTypes) {
// string keyType = SSLUtils.getClientKeyType(keyTypeCode);
// if (keyType is null) {
// // Unsupported client key type -- ignore
// continue;
// }
// result.add(keyType);
// }
// return result;
// }
// static byte[][] encodeSubjectX509Principals(X509Certificate[] certificates)
// throws CertificateEncodingException {
// byte[][] principalBytes = new byte[certificates.length][];
// for (int i = 0; i < certificates.length; i++) {
// principalBytes[i] = certificates[i].getSubjectX500Principal().getEncoded();
// }
// return principalBytes;
// }
// /**
// * Converts the peer certificates into a cert chain.
// */
// static X509Certificate[] toCertificateChain(X509Certificate[] certificates) {
// implementationMissing();
// return null;
// // try {
// // X509Certificate[] chain =
// // new X509Certificate[certificates.length];
// // for (int i = 0; i < certificates.length; i++) {
// // byte[] encoded = certificates[i].getEncoded();
// // chain[i] = X509Certificate.getInstance(encoded);
// // }
// // return chain;
// // } catch (CertificateEncodingException e) {
// // SSLPeerUnverifiedException exception = new SSLPeerUnverifiedException(e.getMessage());
// // exception.initCause(exception);
// // throw exception;
// // } catch (CertificateException e) {
// // SSLPeerUnverifiedException exception = new SSLPeerUnverifiedException(e.getMessage());
// // exception.initCause(exception);
// // throw exception;
// // }
// }
/**
* Calculates the minimum bytes required in the encrypted output buffer for the given number of
* plaintext source bytes.
*/
static int calculateOutNetBufSize(int pendingBytes) {
return min(SSL3_RT_MAX_PACKET_SIZE,
MAX_ENCRYPTION_OVERHEAD_LENGTH + min(MAX_ENCRYPTION_OVERHEAD_DIFF, pendingBytes));
}
/**
* Wraps the given exception if it's not already a {@link SSLHandshakeException}.
*/
static SSLHandshakeException toSSLHandshakeException(Throwable e) {
if (typeid(e) == typeid(SSLHandshakeException)) {
return cast(SSLHandshakeException) e;
}
return new SSLHandshakeException(e.msg, e);
}
/**
* Wraps the given exception if it's not already a {@link SSLException}.
*/
static SSLException toSSLException(Throwable e) {
if (typeid(e) == typeid(SSLException)) {
return cast(SSLException) e;
}
return new SSLException("", e);
}
static string toProtocolString(byte[] bytes) {
if (bytes is null) {
return null;
}
return cast(string)bytes.idup;
}
static byte[] toProtocolBytes(string protocol) {
if (protocol is null) {
return null;
}
return cast(byte[] )protocol.dup;
}
/**
* Decodes the given list of protocols into {@link string}s.
* @param protocols the encoded protocol list
* @return the decoded protocols or {@link EmptyArray#BYTE} if {@code protocols} is
* empty.
* @throws NullPointerException if protocols is {@code null}.
*/
static string[] decodeProtocols(ubyte[] protocols) {
if (protocols.length == 0) {
return null;
}
int numProtocols = 0;
for (size_t i = 0; i < protocols.length;) {
int protocolLength = protocols[i];
if (protocolLength < 0 || protocolLength > protocols.length - i) {
throw new IllegalArgumentException(
"Protocol has invalid length (" ~ protocolLength.to!string() ~ " at position "
~ i.to!string() ~ "): " ~ (protocols.length < 50
? protocols.to!string() : protocols.length.to!string() ~ " byte array"));
}
numProtocols++;
i += 1 + protocolLength;
}
string[] decoded = new string[numProtocols];
for (size_t i = 0, d = 0; i < protocols.length;) {
int protocolLength = protocols[i];
decoded[d++] = protocolLength > 0
? cast(string)protocols[i + 1 .. protocolLength].idup
: "";
i += 1 + protocolLength;
}
return decoded;
}
/**
* Encodes a list of protocols into the wire-format (length-prefixed 8-bit strings).
* Requires that all strings be encoded with US-ASCII.
*
* @param protocols the list of protocols to be encoded
* @return the encoded form of the protocol list.
* @throws IllegalArgumentException if protocols is {@code null}, or if any element is
* {@code null} or an empty string.
*/
static byte[] encodeProtocols(string[] protocols) {
if (protocols is null) {
throw new IllegalArgumentException("protocols array must be non-null");
}
if (protocols.length == 0) {
return [];
}
// Calculate the encoded length.
int length = 0;
for (int i = 0; i < protocols.length; ++i) {
string protocol = protocols[i];
if (protocol is null) {
throw new IllegalArgumentException("protocol[" ~ i.to!string() ~ "] is null");
}
int protocolLength = cast(int)protocols[i].length;
// Verify that the length is valid here, so that we don't attempt to allocate an array
// below if the threshold is violated.
if (protocolLength == 0 || protocolLength > MAX_PROTOCOL_LENGTH) {
throw new IllegalArgumentException(
"protocol[" ~ i.to!string() ~ "] has invalid length: " ~ protocolLength.to!string());
}
// Include a 1-byte prefix for each protocol.
length += 1 + protocolLength;
}
byte[] data = new byte[length];
for (int dataIndex = 0, i = 0; i < cast(int)protocols.length; ++i) {
string protocol = protocols[i];
int protocolLength = cast(int)protocol.length;
// Add the length prefix.
data[dataIndex++] = cast(byte) protocolLength;
for (int ci = 0; ci < protocolLength; ++ci) {
char c = protocol.charAt(ci);
if (c > byte.max) {
// Enforce US-ASCII
throw new IllegalArgumentException("Protocol contains invalid character: "
~ c.to!string() ~ "(protocol=" ~ protocol ~ ")");
}
data[dataIndex++] = cast(byte) c;
}
}
return data;
}
/**
* Return how much bytes can be read out of the encrypted data. Be aware that this method will
* not increase the readerIndex of the given {@link ByteBuffer}.
*
* @param buffers The {@link ByteBuffer}s to read from. Be aware that they must have at least
* {@link org.conscrypt.NativeConstants#SSL3_RT_HEADER_LENGTH} bytes to read, otherwise it will
* throw an {@link IllegalArgumentException}.
* @return length The length of the encrypted packet that is included in the buffer. This will
* return {@code -1} if the given {@link ByteBuffer} is not encrypted at all.
* @throws IllegalArgumentException Is thrown if the given {@link ByteBuffer} has not at least
* {@link org.conscrypt.NativeConstants#SSL3_RT_HEADER_LENGTH} bytes to read.
*/
static int getEncryptedPacketLength(ByteBuffer[] buffers, int offset) {
ByteBuffer buffer = buffers[offset];
// Check if everything we need is in one ByteBuffer. If so we can make use of the fast-path.
if (buffer.remaining() >= SSL3_RT_HEADER_LENGTH) {
return getEncryptedPacketLength(buffer);
}
// We need to copy 5 bytes into a temporary buffer so we can parse out the packet length
// easily.
ByteBuffer tmp = BufferUtils.allocate(SSL3_RT_HEADER_LENGTH);
do {
buffer = buffers[offset++];
int pos = buffer.position();
int limit = buffer.limit();
if (buffer.remaining() > tmp.remaining()) {
buffer.limit(pos + tmp.remaining());
}
try {
tmp.put(buffer);
} finally {
// Restore the original indices.
buffer.limit(limit);
buffer.position(pos);
}
} while (tmp.hasRemaining());
// Done, flip the buffer so we can read from it.
tmp.flip();
return getEncryptedPacketLength(tmp);
}
private static int getEncryptedPacketLength(ByteBuffer buffer) {
int pos = buffer.position();
// SSLv3 or TLS - Check ContentType
switch (unsignedByte(buffer.get(pos))) {
case SSL3_RT_CHANGE_CIPHER_SPEC:
case SSL3_RT_ALERT:
case SSL3_RT_HANDSHAKE:
case SSL3_RT_APPLICATION_DATA:
break;
default:
// SSLv2 or bad data
return -1;
}
// tracef("%02X %02X %02X %02X", buffer.get(pos + 1),
// buffer.get(pos + 2), buffer.get(pos + 3), buffer.get(pos + 4));
// SSLv3 or TLS - Check ProtocolVersion
int majorVersion = unsignedByte(buffer.get(pos + 1));
// tracef("majorVersion=%d", majorVersion);
if (majorVersion != 3) {
// Neither SSLv3 or TLSv1 (i.e. SSLv2 or bad data)
return -1;
}
// SSLv3 or TLS
int packetLength = unsignedShort(buffer.getShort(pos + 3)) + SSL3_RT_HEADER_LENGTH;
// tracef("packetLength=%d", packetLength);
if (packetLength <= SSL3_RT_HEADER_LENGTH) {
// Neither SSLv3 or TLSv1 (i.e. SSLv2 or bad data)
return -1;
}
return packetLength;
}
private static short unsignedByte(byte b) {
return cast(short) (b & 0xFF);
}
private static int unsignedShort(short s) {
return s & 0xFFFF;
}
private this() {}
}
/**
* States for SSL engines.
*/
final class EngineStates {
private this() {}
/**
* The engine is constructed, but the initial handshake hasn't been started
*/
enum int STATE_NEW = 0;
/**
* The client/server mode of the engine has been set.
*/
enum int STATE_MODE_SET = 1;
/**
* The handshake has been started
*/
enum int STATE_HANDSHAKE_STARTED = 2;
/**
* Listeners of the handshake have been notified of completion but the handshake call
* hasn't returned.
*/
enum int STATE_HANDSHAKE_COMPLETED = 3;
/**
* The handshake call returned but the listeners have not yet been notified. This is expected
* behaviour in cut-through mode, where SSL_do_handshake returns before the handshake is
* complete. We can now start writing data to the socket.
*/
enum int STATE_READY_HANDSHAKE_CUT_THROUGH = 4;
/**
* The handshake call has returned and the listeners have been notified. Ready to begin
* writing data.
*/
enum int STATE_READY = 5;
/**
* The inbound direction of the engine has been closed.
*/
enum int STATE_CLOSED_INBOUND = 6;
/**
* The outbound direction of the engine has been closed.
*/
enum int STATE_CLOSED_OUTBOUND = 7;
/**
* The engine has been closed.
*/
enum int STATE_CLOSED = 8;
} | D |
// URL: http://codeforces.com/contest/960/problem/F
import std.algorithm, std.container, std.conv, std.math, std.range, std.typecons, std.stdio, std.string;
auto rdsp(){return readln.splitter;}
void pick(R,T)(ref R r,ref T t){t=r.front.to!T;r.popFront;}
void pickV(R,T...)(ref R r,ref T t){foreach(ref v;t)pick(r,v);}
void readV(T...)(ref T t){auto r=rdsp;foreach(ref v;t)pick(r,v);}
void readA(T)(size_t n,ref T[]t){t=new T[](n);auto r=rdsp;foreach(ref v;t)pick(r,v);}
void readM(T)(size_t r,size_t c,ref T[][]t){t=new T[][](r);foreach(ref v;t)readA(c,v);}
void readC(T...)(size_t n,ref T t){foreach(ref v;t)v=new typeof(v)(n);foreach(i;0..n){auto r=rdsp;foreach(ref v;t)pick(r,v[i]);}}
void readS(T)(size_t n,ref T t){t=new T(n);foreach(ref v;t){auto r=rdsp;foreach(ref j;v.tupleof)pick(r,j);}}
void writeA(T)(size_t n,T t){foreach(i,v;t.enumerate){write(v);if(i<n-1)write(" ");}writeln;}
version(unittest) {} else
void main()
{
int n, m; readV(n, m);
struct WL { int w, l; }
alias rbt = RedBlackTree!(WL, "a.w < b.w");
auto dp = new rbt[](n);
foreach (i; 0..n) dp[i] = new rbt([WL(-1, 0)]);
auto ans = 0;
foreach (_; 0..m) {
int u, v, w; readV(u, v, w); --u; --v;
auto s = dp[u].lowerBound(WL(w, 0)).back, nl = s.l+1;
ans = max(ans, nl);
auto t = dp[v].lowerBound(WL(w+1, 0)).back;
if (t.l >= nl) continue;
dp[v].insert(WL(w, nl));
dp[v].removeKey(dp[v].upperBound(WL(w, 0)).filter!(wl => wl.l < nl));
}
writeln(ans);
}
| D |
module templates;
import croc.api;
import croc.api_debug;
import croc.serialization;
import tango.io.device.Array;
import tango.io.Stdout;
void templates_init(CrocThread* t)
{
auto table = getRegistryVar(t, "fcgi.scriptModules");
pushString(t, "templates");
pushString(t, module_data);
fielda(t, table);
pop(t);
}
private const char[] module_data =
`module templates
global function test()
{
writeln $ "blubb"
}
global t = "lala"
function main()
{
writeln $ "main"
}`; | D |
module windows.security;
public import system;
public import windows.audio;
public import windows.automation;
public import windows.com;
public import windows.controls;
public import windows.gdi;
public import windows.kernel;
public import windows.passwordmanagement;
public import windows.structuredstorage;
public import windows.systemservices;
public import windows.windowsandmessaging;
public import windows.windowsprogramming;
public import windows.windowspropertiessystem;
public import windows.windowsstationsanddesktops;
extern(Windows):
enum MSA_INFO_LEVEL
{
MsaInfoLevel0 = 0,
MsaInfoLevelMax = 1,
}
enum MSA_INFO_STATE
{
MsaInfoNotExist = 1,
MsaInfoNotService = 2,
MsaInfoCannotInstall = 3,
MsaInfoCanInstall = 4,
MsaInfoInstalled = 5,
}
struct MSA_INFO_0
{
MSA_INFO_STATE State;
}
@DllImport("logoncli.dll")
NTSTATUS NetAddServiceAccount(const(wchar)* ServerName, const(wchar)* AccountName, const(wchar)* Password, uint Flags);
@DllImport("logoncli.dll")
NTSTATUS NetRemoveServiceAccount(const(wchar)* ServerName, const(wchar)* AccountName, uint Flags);
@DllImport("logoncli.dll")
NTSTATUS NetEnumerateServiceAccounts(const(wchar)* ServerName, uint Flags, uint* AccountsCount, ushort*** Accounts);
@DllImport("logoncli.dll")
NTSTATUS NetIsServiceAccount(const(wchar)* ServerName, const(wchar)* AccountName, int* IsService);
@DllImport("logoncli.dll")
NTSTATUS NetQueryServiceAccount(const(wchar)* ServerName, const(wchar)* AccountName, uint InfoLevel, ubyte** Buffer);
@DllImport("ADVAPI32.dll")
BOOL SetServiceBits(SERVICE_STATUS_HANDLE__* hServiceStatus, uint dwServiceBits, BOOL bSetBitsOn, BOOL bUpdateImmediately);
@DllImport("ADVAPI32.dll")
BOOL ImpersonateNamedPipeClient(HANDLE hNamedPipe);
@DllImport("USER32.dll")
BOOL SetUserObjectSecurity(HANDLE hObj, uint* pSIRequested, void* pSID);
@DllImport("USER32.dll")
BOOL GetUserObjectSecurity(HANDLE hObj, uint* pSIRequested, char* pSID, uint nLength, uint* lpnLengthNeeded);
@DllImport("ADVAPI32.dll")
BOOL AccessCheck(void* pSecurityDescriptor, HANDLE ClientToken, uint DesiredAccess, GENERIC_MAPPING* GenericMapping, char* PrivilegeSet, uint* PrivilegeSetLength, uint* GrantedAccess, int* AccessStatus);
@DllImport("ADVAPI32.dll")
BOOL AccessCheckAndAuditAlarmW(const(wchar)* SubsystemName, void* HandleId, const(wchar)* ObjectTypeName, const(wchar)* ObjectName, void* SecurityDescriptor, uint DesiredAccess, GENERIC_MAPPING* GenericMapping, BOOL ObjectCreation, uint* GrantedAccess, int* AccessStatus, int* pfGenerateOnClose);
@DllImport("ADVAPI32.dll")
BOOL AccessCheckByType(void* pSecurityDescriptor, void* PrincipalSelfSid, HANDLE ClientToken, uint DesiredAccess, char* ObjectTypeList, uint ObjectTypeListLength, GENERIC_MAPPING* GenericMapping, char* PrivilegeSet, uint* PrivilegeSetLength, uint* GrantedAccess, int* AccessStatus);
@DllImport("ADVAPI32.dll")
BOOL AccessCheckByTypeResultList(void* pSecurityDescriptor, void* PrincipalSelfSid, HANDLE ClientToken, uint DesiredAccess, char* ObjectTypeList, uint ObjectTypeListLength, GENERIC_MAPPING* GenericMapping, char* PrivilegeSet, uint* PrivilegeSetLength, char* GrantedAccessList, char* AccessStatusList);
@DllImport("ADVAPI32.dll")
BOOL AccessCheckByTypeAndAuditAlarmW(const(wchar)* SubsystemName, void* HandleId, const(wchar)* ObjectTypeName, const(wchar)* ObjectName, void* SecurityDescriptor, void* PrincipalSelfSid, uint DesiredAccess, AUDIT_EVENT_TYPE AuditType, uint Flags, char* ObjectTypeList, uint ObjectTypeListLength, GENERIC_MAPPING* GenericMapping, BOOL ObjectCreation, uint* GrantedAccess, int* AccessStatus, int* pfGenerateOnClose);
@DllImport("ADVAPI32.dll")
BOOL AccessCheckByTypeResultListAndAuditAlarmW(const(wchar)* SubsystemName, void* HandleId, const(wchar)* ObjectTypeName, const(wchar)* ObjectName, void* SecurityDescriptor, void* PrincipalSelfSid, uint DesiredAccess, AUDIT_EVENT_TYPE AuditType, uint Flags, char* ObjectTypeList, uint ObjectTypeListLength, GENERIC_MAPPING* GenericMapping, BOOL ObjectCreation, char* GrantedAccessList, char* AccessStatusList, int* pfGenerateOnClose);
@DllImport("ADVAPI32.dll")
BOOL AccessCheckByTypeResultListAndAuditAlarmByHandleW(const(wchar)* SubsystemName, void* HandleId, HANDLE ClientToken, const(wchar)* ObjectTypeName, const(wchar)* ObjectName, void* SecurityDescriptor, void* PrincipalSelfSid, uint DesiredAccess, AUDIT_EVENT_TYPE AuditType, uint Flags, char* ObjectTypeList, uint ObjectTypeListLength, GENERIC_MAPPING* GenericMapping, BOOL ObjectCreation, char* GrantedAccessList, char* AccessStatusList, int* pfGenerateOnClose);
@DllImport("ADVAPI32.dll")
BOOL AddAccessAllowedAce(ACL* pAcl, uint dwAceRevision, uint AccessMask, void* pSid);
@DllImport("ADVAPI32.dll")
BOOL AddAccessAllowedAceEx(ACL* pAcl, uint dwAceRevision, uint AceFlags, uint AccessMask, void* pSid);
@DllImport("ADVAPI32.dll")
BOOL AddAccessAllowedObjectAce(ACL* pAcl, uint dwAceRevision, uint AceFlags, uint AccessMask, Guid* ObjectTypeGuid, Guid* InheritedObjectTypeGuid, void* pSid);
@DllImport("ADVAPI32.dll")
BOOL AddAccessDeniedAce(ACL* pAcl, uint dwAceRevision, uint AccessMask, void* pSid);
@DllImport("ADVAPI32.dll")
BOOL AddAccessDeniedAceEx(ACL* pAcl, uint dwAceRevision, uint AceFlags, uint AccessMask, void* pSid);
@DllImport("ADVAPI32.dll")
BOOL AddAccessDeniedObjectAce(ACL* pAcl, uint dwAceRevision, uint AceFlags, uint AccessMask, Guid* ObjectTypeGuid, Guid* InheritedObjectTypeGuid, void* pSid);
@DllImport("ADVAPI32.dll")
BOOL AddAce(ACL* pAcl, uint dwAceRevision, uint dwStartingAceIndex, char* pAceList, uint nAceListLength);
@DllImport("ADVAPI32.dll")
BOOL AddAuditAccessAce(ACL* pAcl, uint dwAceRevision, uint dwAccessMask, void* pSid, BOOL bAuditSuccess, BOOL bAuditFailure);
@DllImport("ADVAPI32.dll")
BOOL AddAuditAccessAceEx(ACL* pAcl, uint dwAceRevision, uint AceFlags, uint dwAccessMask, void* pSid, BOOL bAuditSuccess, BOOL bAuditFailure);
@DllImport("ADVAPI32.dll")
BOOL AddAuditAccessObjectAce(ACL* pAcl, uint dwAceRevision, uint AceFlags, uint AccessMask, Guid* ObjectTypeGuid, Guid* InheritedObjectTypeGuid, void* pSid, BOOL bAuditSuccess, BOOL bAuditFailure);
@DllImport("ADVAPI32.dll")
BOOL AddMandatoryAce(ACL* pAcl, uint dwAceRevision, uint AceFlags, uint MandatoryPolicy, void* pLabelSid);
@DllImport("KERNEL32.dll")
BOOL AddResourceAttributeAce(ACL* pAcl, uint dwAceRevision, uint AceFlags, uint AccessMask, void* pSid, CLAIM_SECURITY_ATTRIBUTES_INFORMATION* pAttributeInfo, uint* pReturnLength);
@DllImport("KERNEL32.dll")
BOOL AddScopedPolicyIDAce(ACL* pAcl, uint dwAceRevision, uint AceFlags, uint AccessMask, void* pSid);
@DllImport("ADVAPI32.dll")
BOOL AdjustTokenGroups(HANDLE TokenHandle, BOOL ResetToDefault, TOKEN_GROUPS* NewState, uint BufferLength, char* PreviousState, uint* ReturnLength);
@DllImport("ADVAPI32.dll")
BOOL AdjustTokenPrivileges(HANDLE TokenHandle, BOOL DisableAllPrivileges, TOKEN_PRIVILEGES* NewState, uint BufferLength, char* PreviousState, uint* ReturnLength);
@DllImport("ADVAPI32.dll")
BOOL AllocateAndInitializeSid(SID_IDENTIFIER_AUTHORITY* pIdentifierAuthority, ubyte nSubAuthorityCount, uint nSubAuthority0, uint nSubAuthority1, uint nSubAuthority2, uint nSubAuthority3, uint nSubAuthority4, uint nSubAuthority5, uint nSubAuthority6, uint nSubAuthority7, void** pSid);
@DllImport("ADVAPI32.dll")
BOOL AllocateLocallyUniqueId(LUID* Luid);
@DllImport("ADVAPI32.dll")
BOOL AreAllAccessesGranted(uint GrantedAccess, uint DesiredAccess);
@DllImport("ADVAPI32.dll")
BOOL AreAnyAccessesGranted(uint GrantedAccess, uint DesiredAccess);
@DllImport("ADVAPI32.dll")
BOOL CheckTokenMembership(HANDLE TokenHandle, void* SidToCheck, int* IsMember);
@DllImport("KERNEL32.dll")
BOOL CheckTokenCapability(HANDLE TokenHandle, void* CapabilitySidToCheck, int* HasCapability);
@DllImport("KERNEL32.dll")
BOOL GetAppContainerAce(ACL* Acl, uint StartingAceIndex, void** AppContainerAce, uint* AppContainerAceIndex);
@DllImport("KERNEL32.dll")
BOOL CheckTokenMembershipEx(HANDLE TokenHandle, void* SidToCheck, uint Flags, int* IsMember);
@DllImport("ADVAPI32.dll")
BOOL ConvertToAutoInheritPrivateObjectSecurity(void* ParentDescriptor, void* CurrentSecurityDescriptor, void** NewSecurityDescriptor, Guid* ObjectType, ubyte IsDirectoryObject, GENERIC_MAPPING* GenericMapping);
@DllImport("ADVAPI32.dll")
BOOL CopySid(uint nDestinationSidLength, char* pDestinationSid, void* pSourceSid);
@DllImport("ADVAPI32.dll")
BOOL CreatePrivateObjectSecurity(void* ParentDescriptor, void* CreatorDescriptor, void** NewDescriptor, BOOL IsDirectoryObject, HANDLE Token, GENERIC_MAPPING* GenericMapping);
@DllImport("ADVAPI32.dll")
BOOL CreatePrivateObjectSecurityEx(void* ParentDescriptor, void* CreatorDescriptor, void** NewDescriptor, Guid* ObjectType, BOOL IsContainerObject, uint AutoInheritFlags, HANDLE Token, GENERIC_MAPPING* GenericMapping);
@DllImport("ADVAPI32.dll")
BOOL CreatePrivateObjectSecurityWithMultipleInheritance(void* ParentDescriptor, void* CreatorDescriptor, void** NewDescriptor, char* ObjectTypes, uint GuidCount, BOOL IsContainerObject, uint AutoInheritFlags, HANDLE Token, GENERIC_MAPPING* GenericMapping);
@DllImport("ADVAPI32.dll")
BOOL CreateRestrictedToken(HANDLE ExistingTokenHandle, uint Flags, uint DisableSidCount, char* SidsToDisable, uint DeletePrivilegeCount, char* PrivilegesToDelete, uint RestrictedSidCount, char* SidsToRestrict, int* NewTokenHandle);
@DllImport("ADVAPI32.dll")
BOOL CreateWellKnownSid(WELL_KNOWN_SID_TYPE WellKnownSidType, void* DomainSid, char* pSid, uint* cbSid);
@DllImport("ADVAPI32.dll")
BOOL EqualDomainSid(void* pSid1, void* pSid2, int* pfEqual);
@DllImport("ADVAPI32.dll")
BOOL DeleteAce(ACL* pAcl, uint dwAceIndex);
@DllImport("ADVAPI32.dll")
BOOL DestroyPrivateObjectSecurity(void** ObjectDescriptor);
@DllImport("ADVAPI32.dll")
BOOL DuplicateToken(HANDLE ExistingTokenHandle, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, int* DuplicateTokenHandle);
@DllImport("ADVAPI32.dll")
BOOL DuplicateTokenEx(HANDLE hExistingToken, uint dwDesiredAccess, SECURITY_ATTRIBUTES* lpTokenAttributes, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, TOKEN_TYPE TokenType, int* phNewToken);
@DllImport("ADVAPI32.dll")
BOOL EqualPrefixSid(void* pSid1, void* pSid2);
@DllImport("ADVAPI32.dll")
BOOL EqualSid(void* pSid1, void* pSid2);
@DllImport("ADVAPI32.dll")
BOOL FindFirstFreeAce(ACL* pAcl, void** pAce);
@DllImport("ADVAPI32.dll")
void* FreeSid(void* pSid);
@DllImport("ADVAPI32.dll")
BOOL GetAce(ACL* pAcl, uint dwAceIndex, void** pAce);
@DllImport("ADVAPI32.dll")
BOOL GetAclInformation(ACL* pAcl, char* pAclInformation, uint nAclInformationLength, ACL_INFORMATION_CLASS dwAclInformationClass);
@DllImport("ADVAPI32.dll")
BOOL GetFileSecurityW(const(wchar)* lpFileName, uint RequestedInformation, char* pSecurityDescriptor, uint nLength, uint* lpnLengthNeeded);
@DllImport("ADVAPI32.dll")
BOOL GetKernelObjectSecurity(HANDLE Handle, uint RequestedInformation, char* pSecurityDescriptor, uint nLength, uint* lpnLengthNeeded);
@DllImport("ADVAPI32.dll")
uint GetLengthSid(char* pSid);
@DllImport("ADVAPI32.dll")
BOOL GetPrivateObjectSecurity(void* ObjectDescriptor, uint SecurityInformation, char* ResultantDescriptor, uint DescriptorLength, uint* ReturnLength);
@DllImport("ADVAPI32.dll")
BOOL GetSecurityDescriptorControl(void* pSecurityDescriptor, ushort* pControl, uint* lpdwRevision);
@DllImport("ADVAPI32.dll")
BOOL GetSecurityDescriptorDacl(void* pSecurityDescriptor, int* lpbDaclPresent, ACL** pDacl, int* lpbDaclDefaulted);
@DllImport("ADVAPI32.dll")
BOOL GetSecurityDescriptorGroup(void* pSecurityDescriptor, void** pGroup, int* lpbGroupDefaulted);
@DllImport("ADVAPI32.dll")
uint GetSecurityDescriptorLength(void* pSecurityDescriptor);
@DllImport("ADVAPI32.dll")
BOOL GetSecurityDescriptorOwner(void* pSecurityDescriptor, void** pOwner, int* lpbOwnerDefaulted);
@DllImport("ADVAPI32.dll")
uint GetSecurityDescriptorRMControl(void* SecurityDescriptor, ubyte* RMControl);
@DllImport("ADVAPI32.dll")
BOOL GetSecurityDescriptorSacl(void* pSecurityDescriptor, int* lpbSaclPresent, ACL** pSacl, int* lpbSaclDefaulted);
@DllImport("ADVAPI32.dll")
SID_IDENTIFIER_AUTHORITY* GetSidIdentifierAuthority(void* pSid);
@DllImport("ADVAPI32.dll")
uint GetSidLengthRequired(ubyte nSubAuthorityCount);
@DllImport("ADVAPI32.dll")
uint* GetSidSubAuthority(void* pSid, uint nSubAuthority);
@DllImport("ADVAPI32.dll")
ubyte* GetSidSubAuthorityCount(void* pSid);
@DllImport("ADVAPI32.dll")
BOOL GetTokenInformation(HANDLE TokenHandle, TOKEN_INFORMATION_CLASS TokenInformationClass, char* TokenInformation, uint TokenInformationLength, uint* ReturnLength);
@DllImport("ADVAPI32.dll")
BOOL GetWindowsAccountDomainSid(void* pSid, char* pDomainSid, uint* cbDomainSid);
@DllImport("ADVAPI32.dll")
BOOL ImpersonateAnonymousToken(HANDLE ThreadHandle);
@DllImport("ADVAPI32.dll")
BOOL ImpersonateLoggedOnUser(HANDLE hToken);
@DllImport("ADVAPI32.dll")
BOOL ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL ImpersonationLevel);
@DllImport("ADVAPI32.dll")
BOOL InitializeAcl(char* pAcl, uint nAclLength, uint dwAclRevision);
@DllImport("ADVAPI32.dll")
BOOL InitializeSecurityDescriptor(void* pSecurityDescriptor, uint dwRevision);
@DllImport("ADVAPI32.dll")
BOOL InitializeSid(char* Sid, SID_IDENTIFIER_AUTHORITY* pIdentifierAuthority, ubyte nSubAuthorityCount);
@DllImport("ADVAPI32.dll")
BOOL IsTokenRestricted(HANDLE TokenHandle);
@DllImport("ADVAPI32.dll")
BOOL IsValidAcl(ACL* pAcl);
@DllImport("ADVAPI32.dll")
BOOL IsValidSecurityDescriptor(void* pSecurityDescriptor);
@DllImport("ADVAPI32.dll")
BOOL IsValidSid(void* pSid);
@DllImport("ADVAPI32.dll")
BOOL IsWellKnownSid(void* pSid, WELL_KNOWN_SID_TYPE WellKnownSidType);
@DllImport("ADVAPI32.dll")
BOOL MakeAbsoluteSD(void* pSelfRelativeSecurityDescriptor, char* pAbsoluteSecurityDescriptor, uint* lpdwAbsoluteSecurityDescriptorSize, char* pDacl, uint* lpdwDaclSize, char* pSacl, uint* lpdwSaclSize, char* pOwner, uint* lpdwOwnerSize, char* pPrimaryGroup, uint* lpdwPrimaryGroupSize);
@DllImport("ADVAPI32.dll")
BOOL MakeSelfRelativeSD(void* pAbsoluteSecurityDescriptor, char* pSelfRelativeSecurityDescriptor, uint* lpdwBufferLength);
@DllImport("ADVAPI32.dll")
void MapGenericMask(uint* AccessMask, GENERIC_MAPPING* GenericMapping);
@DllImport("ADVAPI32.dll")
BOOL ObjectCloseAuditAlarmW(const(wchar)* SubsystemName, void* HandleId, BOOL GenerateOnClose);
@DllImport("ADVAPI32.dll")
BOOL ObjectDeleteAuditAlarmW(const(wchar)* SubsystemName, void* HandleId, BOOL GenerateOnClose);
@DllImport("ADVAPI32.dll")
BOOL ObjectOpenAuditAlarmW(const(wchar)* SubsystemName, void* HandleId, const(wchar)* ObjectTypeName, const(wchar)* ObjectName, void* pSecurityDescriptor, HANDLE ClientToken, uint DesiredAccess, uint GrantedAccess, PRIVILEGE_SET* Privileges, BOOL ObjectCreation, BOOL AccessGranted, int* GenerateOnClose);
@DllImport("ADVAPI32.dll")
BOOL ObjectPrivilegeAuditAlarmW(const(wchar)* SubsystemName, void* HandleId, HANDLE ClientToken, uint DesiredAccess, PRIVILEGE_SET* Privileges, BOOL AccessGranted);
@DllImport("ADVAPI32.dll")
BOOL PrivilegeCheck(HANDLE ClientToken, PRIVILEGE_SET* RequiredPrivileges, int* pfResult);
@DllImport("ADVAPI32.dll")
BOOL PrivilegedServiceAuditAlarmW(const(wchar)* SubsystemName, const(wchar)* ServiceName, HANDLE ClientToken, PRIVILEGE_SET* Privileges, BOOL AccessGranted);
@DllImport("ADVAPI32.dll")
void QuerySecurityAccessMask(uint SecurityInformation, uint* DesiredAccess);
@DllImport("ADVAPI32.dll")
BOOL RevertToSelf();
@DllImport("ADVAPI32.dll")
BOOL SetAclInformation(ACL* pAcl, char* pAclInformation, uint nAclInformationLength, ACL_INFORMATION_CLASS dwAclInformationClass);
@DllImport("ADVAPI32.dll")
BOOL SetFileSecurityW(const(wchar)* lpFileName, uint SecurityInformation, void* pSecurityDescriptor);
@DllImport("ADVAPI32.dll")
BOOL SetKernelObjectSecurity(HANDLE Handle, uint SecurityInformation, void* SecurityDescriptor);
@DllImport("ADVAPI32.dll")
BOOL SetPrivateObjectSecurity(uint SecurityInformation, void* ModificationDescriptor, void** ObjectsSecurityDescriptor, GENERIC_MAPPING* GenericMapping, HANDLE Token);
@DllImport("ADVAPI32.dll")
BOOL SetPrivateObjectSecurityEx(uint SecurityInformation, void* ModificationDescriptor, void** ObjectsSecurityDescriptor, uint AutoInheritFlags, GENERIC_MAPPING* GenericMapping, HANDLE Token);
@DllImport("ADVAPI32.dll")
void SetSecurityAccessMask(uint SecurityInformation, uint* DesiredAccess);
@DllImport("ADVAPI32.dll")
BOOL SetSecurityDescriptorControl(void* pSecurityDescriptor, ushort ControlBitsOfInterest, ushort ControlBitsToSet);
@DllImport("ADVAPI32.dll")
BOOL SetSecurityDescriptorDacl(void* pSecurityDescriptor, BOOL bDaclPresent, ACL* pDacl, BOOL bDaclDefaulted);
@DllImport("ADVAPI32.dll")
BOOL SetSecurityDescriptorGroup(void* pSecurityDescriptor, void* pGroup, BOOL bGroupDefaulted);
@DllImport("ADVAPI32.dll")
BOOL SetSecurityDescriptorOwner(void* pSecurityDescriptor, void* pOwner, BOOL bOwnerDefaulted);
@DllImport("ADVAPI32.dll")
uint SetSecurityDescriptorRMControl(void* SecurityDescriptor, ubyte* RMControl);
@DllImport("ADVAPI32.dll")
BOOL SetSecurityDescriptorSacl(void* pSecurityDescriptor, BOOL bSaclPresent, ACL* pSacl, BOOL bSaclDefaulted);
@DllImport("ADVAPI32.dll")
BOOL SetTokenInformation(HANDLE TokenHandle, TOKEN_INFORMATION_CLASS TokenInformationClass, char* TokenInformation, uint TokenInformationLength);
@DllImport("KERNEL32.dll")
BOOL SetCachedSigningLevel(char* SourceFiles, uint SourceFileCount, uint Flags, HANDLE TargetFile);
@DllImport("KERNEL32.dll")
BOOL GetCachedSigningLevel(HANDLE File, uint* Flags, uint* SigningLevel, char* Thumbprint, uint* ThumbprintSize, uint* ThumbprintAlgorithm);
@DllImport("api-ms-win-security-base-l1-2-2.dll")
BOOL DeriveCapabilitySidsFromName(const(wchar)* CapName, void*** CapabilityGroupSids, uint* CapabilityGroupSidCount, void*** CapabilitySids, uint* CapabilitySidCount);
@DllImport("KERNEL32.dll")
BOOL GetAppContainerNamedObjectPath(HANDLE Token, void* AppContainerSid, uint ObjectPathLength, const(wchar)* ObjectPath, uint* ReturnLength);
@DllImport("ADVAPI32.dll")
BOOL CryptAcquireContextA(uint* phProv, const(char)* szContainer, const(char)* szProvider, uint dwProvType, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptAcquireContextW(uint* phProv, const(wchar)* szContainer, const(wchar)* szProvider, uint dwProvType, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptReleaseContext(uint hProv, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptGenKey(uint hProv, uint Algid, uint dwFlags, uint* phKey);
@DllImport("ADVAPI32.dll")
BOOL CryptDeriveKey(uint hProv, uint Algid, uint hBaseData, uint dwFlags, uint* phKey);
@DllImport("ADVAPI32.dll")
BOOL CryptDestroyKey(uint hKey);
@DllImport("ADVAPI32.dll")
BOOL CryptSetKeyParam(uint hKey, uint dwParam, const(ubyte)* pbData, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptGetKeyParam(uint hKey, uint dwParam, char* pbData, uint* pdwDataLen, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptSetHashParam(uint hHash, uint dwParam, const(ubyte)* pbData, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptGetHashParam(uint hHash, uint dwParam, char* pbData, uint* pdwDataLen, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptSetProvParam(uint hProv, uint dwParam, const(ubyte)* pbData, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptGetProvParam(uint hProv, uint dwParam, char* pbData, uint* pdwDataLen, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptGenRandom(uint hProv, uint dwLen, char* pbBuffer);
@DllImport("ADVAPI32.dll")
BOOL CryptGetUserKey(uint hProv, uint dwKeySpec, uint* phUserKey);
@DllImport("ADVAPI32.dll")
BOOL CryptExportKey(uint hKey, uint hExpKey, uint dwBlobType, uint dwFlags, char* pbData, uint* pdwDataLen);
@DllImport("ADVAPI32.dll")
BOOL CryptImportKey(uint hProv, char* pbData, uint dwDataLen, uint hPubKey, uint dwFlags, uint* phKey);
@DllImport("ADVAPI32.dll")
BOOL CryptEncrypt(uint hKey, uint hHash, BOOL Final, uint dwFlags, char* pbData, uint* pdwDataLen, uint dwBufLen);
@DllImport("ADVAPI32.dll")
BOOL CryptDecrypt(uint hKey, uint hHash, BOOL Final, uint dwFlags, char* pbData, uint* pdwDataLen);
@DllImport("ADVAPI32.dll")
BOOL CryptCreateHash(uint hProv, uint Algid, uint hKey, uint dwFlags, uint* phHash);
@DllImport("ADVAPI32.dll")
BOOL CryptHashData(uint hHash, char* pbData, uint dwDataLen, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptHashSessionKey(uint hHash, uint hKey, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptDestroyHash(uint hHash);
@DllImport("ADVAPI32.dll")
BOOL CryptSignHashA(uint hHash, uint dwKeySpec, const(char)* szDescription, uint dwFlags, char* pbSignature, uint* pdwSigLen);
@DllImport("ADVAPI32.dll")
BOOL CryptSignHashW(uint hHash, uint dwKeySpec, const(wchar)* szDescription, uint dwFlags, char* pbSignature, uint* pdwSigLen);
@DllImport("ADVAPI32.dll")
BOOL CryptVerifySignatureA(uint hHash, char* pbSignature, uint dwSigLen, uint hPubKey, const(char)* szDescription, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptVerifySignatureW(uint hHash, char* pbSignature, uint dwSigLen, uint hPubKey, const(wchar)* szDescription, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptSetProviderA(const(char)* pszProvName, uint dwProvType);
@DllImport("ADVAPI32.dll")
BOOL CryptSetProviderW(const(wchar)* pszProvName, uint dwProvType);
@DllImport("ADVAPI32.dll")
BOOL CryptSetProviderExA(const(char)* pszProvName, uint dwProvType, uint* pdwReserved, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptSetProviderExW(const(wchar)* pszProvName, uint dwProvType, uint* pdwReserved, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptGetDefaultProviderA(uint dwProvType, uint* pdwReserved, uint dwFlags, const(char)* pszProvName, uint* pcbProvName);
@DllImport("ADVAPI32.dll")
BOOL CryptGetDefaultProviderW(uint dwProvType, uint* pdwReserved, uint dwFlags, const(wchar)* pszProvName, uint* pcbProvName);
@DllImport("ADVAPI32.dll")
BOOL CryptEnumProviderTypesA(uint dwIndex, uint* pdwReserved, uint dwFlags, uint* pdwProvType, const(char)* szTypeName, uint* pcbTypeName);
@DllImport("ADVAPI32.dll")
BOOL CryptEnumProviderTypesW(uint dwIndex, uint* pdwReserved, uint dwFlags, uint* pdwProvType, const(wchar)* szTypeName, uint* pcbTypeName);
@DllImport("ADVAPI32.dll")
BOOL CryptEnumProvidersA(uint dwIndex, uint* pdwReserved, uint dwFlags, uint* pdwProvType, const(char)* szProvName, uint* pcbProvName);
@DllImport("ADVAPI32.dll")
BOOL CryptEnumProvidersW(uint dwIndex, uint* pdwReserved, uint dwFlags, uint* pdwProvType, const(wchar)* szProvName, uint* pcbProvName);
@DllImport("ADVAPI32.dll")
BOOL CryptContextAddRef(uint hProv, uint* pdwReserved, uint dwFlags);
@DllImport("ADVAPI32.dll")
BOOL CryptDuplicateKey(uint hKey, uint* pdwReserved, uint dwFlags, uint* phKey);
@DllImport("ADVAPI32.dll")
BOOL CryptDuplicateHash(uint hHash, uint* pdwReserved, uint dwFlags, uint* phHash);
@DllImport("bcrypt.dll")
NTSTATUS BCryptOpenAlgorithmProvider(void** phAlgorithm, const(wchar)* pszAlgId, const(wchar)* pszImplementation, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptEnumAlgorithms(uint dwAlgOperations, uint* pAlgCount, BCRYPT_ALGORITHM_IDENTIFIER** ppAlgList, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptEnumProviders(const(wchar)* pszAlgId, uint* pImplCount, BCRYPT_PROVIDER_NAME** ppImplList, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptGetProperty(void* hObject, const(wchar)* pszProperty, char* pbOutput, uint cbOutput, uint* pcbResult, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptSetProperty(void* hObject, const(wchar)* pszProperty, char* pbInput, uint cbInput, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptCloseAlgorithmProvider(void* hAlgorithm, uint dwFlags);
@DllImport("bcrypt.dll")
void BCryptFreeBuffer(void* pvBuffer);
@DllImport("bcrypt.dll")
NTSTATUS BCryptGenerateSymmetricKey(void* hAlgorithm, void** phKey, char* pbKeyObject, uint cbKeyObject, char* pbSecret, uint cbSecret, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptGenerateKeyPair(void* hAlgorithm, void** phKey, uint dwLength, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptEncrypt(void* hKey, char* pbInput, uint cbInput, void* pPaddingInfo, char* pbIV, uint cbIV, char* pbOutput, uint cbOutput, uint* pcbResult, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptDecrypt(void* hKey, char* pbInput, uint cbInput, void* pPaddingInfo, char* pbIV, uint cbIV, char* pbOutput, uint cbOutput, uint* pcbResult, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptExportKey(void* hKey, void* hExportKey, const(wchar)* pszBlobType, char* pbOutput, uint cbOutput, uint* pcbResult, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptImportKey(void* hAlgorithm, void* hImportKey, const(wchar)* pszBlobType, void** phKey, char* pbKeyObject, uint cbKeyObject, char* pbInput, uint cbInput, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptImportKeyPair(void* hAlgorithm, void* hImportKey, const(wchar)* pszBlobType, void** phKey, char* pbInput, uint cbInput, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptDuplicateKey(void* hKey, void** phNewKey, char* pbKeyObject, uint cbKeyObject, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptFinalizeKeyPair(void* hKey, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptDestroyKey(void* hKey);
@DllImport("bcrypt.dll")
NTSTATUS BCryptDestroySecret(void* hSecret);
@DllImport("bcrypt.dll")
NTSTATUS BCryptSignHash(void* hKey, void* pPaddingInfo, char* pbInput, uint cbInput, char* pbOutput, uint cbOutput, uint* pcbResult, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptVerifySignature(void* hKey, void* pPaddingInfo, char* pbHash, uint cbHash, char* pbSignature, uint cbSignature, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptSecretAgreement(void* hPrivKey, void* hPubKey, void** phAgreedSecret, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptDeriveKey(void* hSharedSecret, const(wchar)* pwszKDF, BCryptBufferDesc* pParameterList, char* pbDerivedKey, uint cbDerivedKey, uint* pcbResult, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptKeyDerivation(void* hKey, BCryptBufferDesc* pParameterList, char* pbDerivedKey, uint cbDerivedKey, uint* pcbResult, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptCreateHash(void* hAlgorithm, void** phHash, char* pbHashObject, uint cbHashObject, char* pbSecret, uint cbSecret, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptHashData(void* hHash, char* pbInput, uint cbInput, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptFinishHash(void* hHash, char* pbOutput, uint cbOutput, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptCreateMultiHash(void* hAlgorithm, void** phHash, uint nHashes, char* pbHashObject, uint cbHashObject, char* pbSecret, uint cbSecret, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptProcessMultiOperations(void* hObject, BCRYPT_MULTI_OPERATION_TYPE operationType, char* pOperations, uint cbOperations, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptDuplicateHash(void* hHash, void** phNewHash, char* pbHashObject, uint cbHashObject, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptDestroyHash(void* hHash);
@DllImport("bcrypt.dll")
NTSTATUS BCryptHash(void* hAlgorithm, char* pbSecret, uint cbSecret, char* pbInput, uint cbInput, char* pbOutput, uint cbOutput);
@DllImport("bcrypt.dll")
NTSTATUS BCryptGenRandom(void* hAlgorithm, char* pbBuffer, uint cbBuffer, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptDeriveKeyCapi(void* hHash, void* hTargetAlg, char* pbDerivedKey, uint cbDerivedKey, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptDeriveKeyPBKDF2(void* hPrf, char* pbPassword, uint cbPassword, char* pbSalt, uint cbSalt, ulong cIterations, char* pbDerivedKey, uint cbDerivedKey, uint dwFlags);
@DllImport("bcrypt.dll")
NTSTATUS BCryptQueryProviderRegistration(const(wchar)* pszProvider, uint dwMode, uint dwInterface, uint* pcbBuffer, char* ppBuffer);
@DllImport("bcrypt.dll")
NTSTATUS BCryptEnumRegisteredProviders(uint* pcbBuffer, char* ppBuffer);
@DllImport("bcrypt.dll")
NTSTATUS BCryptCreateContext(uint dwTable, const(wchar)* pszContext, CRYPT_CONTEXT_CONFIG* pConfig);
@DllImport("bcrypt.dll")
NTSTATUS BCryptDeleteContext(uint dwTable, const(wchar)* pszContext);
@DllImport("bcrypt.dll")
NTSTATUS BCryptEnumContexts(uint dwTable, uint* pcbBuffer, char* ppBuffer);
@DllImport("bcrypt.dll")
NTSTATUS BCryptConfigureContext(uint dwTable, const(wchar)* pszContext, CRYPT_CONTEXT_CONFIG* pConfig);
@DllImport("bcrypt.dll")
NTSTATUS BCryptQueryContextConfiguration(uint dwTable, const(wchar)* pszContext, uint* pcbBuffer, char* ppBuffer);
@DllImport("bcrypt.dll")
NTSTATUS BCryptAddContextFunction(uint dwTable, const(wchar)* pszContext, uint dwInterface, const(wchar)* pszFunction, uint dwPosition);
@DllImport("bcrypt.dll")
NTSTATUS BCryptRemoveContextFunction(uint dwTable, const(wchar)* pszContext, uint dwInterface, const(wchar)* pszFunction);
@DllImport("bcrypt.dll")
NTSTATUS BCryptEnumContextFunctions(uint dwTable, const(wchar)* pszContext, uint dwInterface, uint* pcbBuffer, char* ppBuffer);
@DllImport("bcrypt.dll")
NTSTATUS BCryptConfigureContextFunction(uint dwTable, const(wchar)* pszContext, uint dwInterface, const(wchar)* pszFunction, CRYPT_CONTEXT_FUNCTION_CONFIG* pConfig);
@DllImport("bcrypt.dll")
NTSTATUS BCryptQueryContextFunctionConfiguration(uint dwTable, const(wchar)* pszContext, uint dwInterface, const(wchar)* pszFunction, uint* pcbBuffer, char* ppBuffer);
@DllImport("bcrypt.dll")
NTSTATUS BCryptEnumContextFunctionProviders(uint dwTable, const(wchar)* pszContext, uint dwInterface, const(wchar)* pszFunction, uint* pcbBuffer, char* ppBuffer);
@DllImport("bcrypt.dll")
NTSTATUS BCryptSetContextFunctionProperty(uint dwTable, const(wchar)* pszContext, uint dwInterface, const(wchar)* pszFunction, const(wchar)* pszProperty, uint cbValue, char* pbValue);
@DllImport("bcrypt.dll")
NTSTATUS BCryptQueryContextFunctionProperty(uint dwTable, const(wchar)* pszContext, uint dwInterface, const(wchar)* pszFunction, const(wchar)* pszProperty, uint* pcbValue, char* ppbValue);
@DllImport("bcrypt.dll")
NTSTATUS BCryptRegisterConfigChangeNotify(HANDLE* phEvent);
@DllImport("bcrypt.dll")
NTSTATUS BCryptUnregisterConfigChangeNotify(HANDLE hEvent);
@DllImport("bcrypt.dll")
NTSTATUS BCryptResolveProviders(const(wchar)* pszContext, uint dwInterface, const(wchar)* pszFunction, const(wchar)* pszProvider, uint dwMode, uint dwFlags, uint* pcbBuffer, char* ppBuffer);
@DllImport("bcrypt.dll")
NTSTATUS BCryptGetFipsAlgorithmMode(ubyte* pfEnabled);
@DllImport("ncrypt.dll")
int NCryptOpenStorageProvider(uint* phProvider, const(wchar)* pszProviderName, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptEnumAlgorithms(uint hProvider, uint dwAlgOperations, uint* pdwAlgCount, NCryptAlgorithmName** ppAlgList, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptIsAlgSupported(uint hProvider, const(wchar)* pszAlgId, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptEnumKeys(uint hProvider, const(wchar)* pszScope, NCryptKeyName** ppKeyName, void** ppEnumState, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptEnumStorageProviders(uint* pdwProviderCount, NCryptProviderName** ppProviderList, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptFreeBuffer(void* pvInput);
@DllImport("ncrypt.dll")
int NCryptOpenKey(uint hProvider, uint* phKey, const(wchar)* pszKeyName, uint dwLegacyKeySpec, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptCreatePersistedKey(uint hProvider, uint* phKey, const(wchar)* pszAlgId, const(wchar)* pszKeyName, uint dwLegacyKeySpec, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptGetProperty(uint hObject, const(wchar)* pszProperty, char* pbOutput, uint cbOutput, uint* pcbResult, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptSetProperty(uint hObject, const(wchar)* pszProperty, char* pbInput, uint cbInput, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptFinalizeKey(uint hKey, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptEncrypt(uint hKey, char* pbInput, uint cbInput, void* pPaddingInfo, char* pbOutput, uint cbOutput, uint* pcbResult, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptDecrypt(uint hKey, char* pbInput, uint cbInput, void* pPaddingInfo, char* pbOutput, uint cbOutput, uint* pcbResult, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptImportKey(uint hProvider, uint hImportKey, const(wchar)* pszBlobType, BCryptBufferDesc* pParameterList, uint* phKey, char* pbData, uint cbData, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptExportKey(uint hKey, uint hExportKey, const(wchar)* pszBlobType, BCryptBufferDesc* pParameterList, char* pbOutput, uint cbOutput, uint* pcbResult, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptSignHash(uint hKey, void* pPaddingInfo, char* pbHashValue, uint cbHashValue, char* pbSignature, uint cbSignature, uint* pcbResult, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptVerifySignature(uint hKey, void* pPaddingInfo, char* pbHashValue, uint cbHashValue, char* pbSignature, uint cbSignature, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptDeleteKey(uint hKey, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptFreeObject(uint hObject);
@DllImport("ncrypt.dll")
BOOL NCryptIsKeyHandle(uint hKey);
@DllImport("ncrypt.dll")
int NCryptTranslateHandle(uint* phProvider, uint* phKey, uint hLegacyProv, uint hLegacyKey, uint dwLegacyKeySpec, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptNotifyChangeKey(uint hProvider, HANDLE* phEvent, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptSecretAgreement(uint hPrivKey, uint hPubKey, uint* phAgreedSecret, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptDeriveKey(uint hSharedSecret, const(wchar)* pwszKDF, BCryptBufferDesc* pParameterList, char* pbDerivedKey, uint cbDerivedKey, uint* pcbResult, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptKeyDerivation(uint hKey, BCryptBufferDesc* pParameterList, char* pbDerivedKey, uint cbDerivedKey, uint* pcbResult, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptCreateClaim(uint hSubjectKey, uint hAuthorityKey, uint dwClaimType, BCryptBufferDesc* pParameterList, char* pbClaimBlob, uint cbClaimBlob, uint* pcbResult, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptVerifyClaim(uint hSubjectKey, uint hAuthorityKey, uint dwClaimType, BCryptBufferDesc* pParameterList, char* pbClaimBlob, uint cbClaimBlob, BCryptBufferDesc* pOutput, uint dwFlags);
@DllImport("CRYPT32.dll")
BOOL CryptFormatObject(uint dwCertEncodingType, uint dwFormatType, uint dwFormatStrType, void* pFormatStruct, const(char)* lpszStructType, char* pbEncoded, uint cbEncoded, char* pbFormat, uint* pcbFormat);
@DllImport("CRYPT32.dll")
BOOL CryptEncodeObjectEx(uint dwCertEncodingType, const(char)* lpszStructType, const(void)* pvStructInfo, uint dwFlags, CRYPT_ENCODE_PARA* pEncodePara, void* pvEncoded, uint* pcbEncoded);
@DllImport("CRYPT32.dll")
BOOL CryptEncodeObject(uint dwCertEncodingType, const(char)* lpszStructType, const(void)* pvStructInfo, char* pbEncoded, uint* pcbEncoded);
@DllImport("CRYPT32.dll")
BOOL CryptDecodeObjectEx(uint dwCertEncodingType, const(char)* lpszStructType, char* pbEncoded, uint cbEncoded, uint dwFlags, CRYPT_DECODE_PARA* pDecodePara, void* pvStructInfo, uint* pcbStructInfo);
@DllImport("CRYPT32.dll")
BOOL CryptDecodeObject(uint dwCertEncodingType, const(char)* lpszStructType, char* pbEncoded, uint cbEncoded, uint dwFlags, char* pvStructInfo, uint* pcbStructInfo);
@DllImport("CRYPT32.dll")
BOOL CryptInstallOIDFunctionAddress(int hModule, uint dwEncodingType, const(char)* pszFuncName, uint cFuncEntry, char* rgFuncEntry, uint dwFlags);
@DllImport("CRYPT32.dll")
void* CryptInitOIDFunctionSet(const(char)* pszFuncName, uint dwFlags);
@DllImport("CRYPT32.dll")
BOOL CryptGetOIDFunctionAddress(void* hFuncSet, uint dwEncodingType, const(char)* pszOID, uint dwFlags, void** ppvFuncAddr, void** phFuncAddr);
@DllImport("CRYPT32.dll")
BOOL CryptGetDefaultOIDDllList(void* hFuncSet, uint dwEncodingType, char* pwszDllList, uint* pcchDllList);
@DllImport("CRYPT32.dll")
BOOL CryptGetDefaultOIDFunctionAddress(void* hFuncSet, uint dwEncodingType, const(wchar)* pwszDll, uint dwFlags, void** ppvFuncAddr, void** phFuncAddr);
@DllImport("CRYPT32.dll")
BOOL CryptFreeOIDFunctionAddress(void* hFuncAddr, uint dwFlags);
@DllImport("CRYPT32.dll")
BOOL CryptRegisterOIDFunction(uint dwEncodingType, const(char)* pszFuncName, const(char)* pszOID, const(wchar)* pwszDll, const(char)* pszOverrideFuncName);
@DllImport("CRYPT32.dll")
BOOL CryptUnregisterOIDFunction(uint dwEncodingType, const(char)* pszFuncName, const(char)* pszOID);
@DllImport("CRYPT32.dll")
BOOL CryptRegisterDefaultOIDFunction(uint dwEncodingType, const(char)* pszFuncName, uint dwIndex, const(wchar)* pwszDll);
@DllImport("CRYPT32.dll")
BOOL CryptUnregisterDefaultOIDFunction(uint dwEncodingType, const(char)* pszFuncName, const(wchar)* pwszDll);
@DllImport("CRYPT32.dll")
BOOL CryptSetOIDFunctionValue(uint dwEncodingType, const(char)* pszFuncName, const(char)* pszOID, const(wchar)* pwszValueName, uint dwValueType, char* pbValueData, uint cbValueData);
@DllImport("CRYPT32.dll")
BOOL CryptGetOIDFunctionValue(uint dwEncodingType, const(char)* pszFuncName, const(char)* pszOID, const(wchar)* pwszValueName, uint* pdwValueType, char* pbValueData, uint* pcbValueData);
@DllImport("CRYPT32.dll")
BOOL CryptEnumOIDFunction(uint dwEncodingType, const(char)* pszFuncName, const(char)* pszOID, uint dwFlags, void* pvArg, PFN_CRYPT_ENUM_OID_FUNC pfnEnumOIDFunc);
@DllImport("CRYPT32.dll")
CRYPT_OID_INFO* CryptFindOIDInfo(uint dwKeyType, void* pvKey, uint dwGroupId);
@DllImport("CRYPT32.dll")
BOOL CryptRegisterOIDInfo(CRYPT_OID_INFO* pInfo, uint dwFlags);
@DllImport("CRYPT32.dll")
BOOL CryptUnregisterOIDInfo(CRYPT_OID_INFO* pInfo);
@DllImport("CRYPT32.dll")
BOOL CryptEnumOIDInfo(uint dwGroupId, uint dwFlags, void* pvArg, PFN_CRYPT_ENUM_OID_INFO pfnEnumOIDInfo);
@DllImport("CRYPT32.dll")
ushort* CryptFindLocalizedName(const(wchar)* pwszCryptName);
@DllImport("CRYPT32.dll")
void* CryptMsgOpenToEncode(uint dwMsgEncodingType, uint dwFlags, uint dwMsgType, const(void)* pvMsgEncodeInfo, const(char)* pszInnerContentObjID, CMSG_STREAM_INFO* pStreamInfo);
@DllImport("CRYPT32.dll")
uint CryptMsgCalculateEncodedLength(uint dwMsgEncodingType, uint dwFlags, uint dwMsgType, const(void)* pvMsgEncodeInfo, const(char)* pszInnerContentObjID, uint cbData);
@DllImport("CRYPT32.dll")
void* CryptMsgOpenToDecode(uint dwMsgEncodingType, uint dwFlags, uint dwMsgType, uint hCryptProv, CERT_INFO* pRecipientInfo, CMSG_STREAM_INFO* pStreamInfo);
@DllImport("CRYPT32.dll")
void* CryptMsgDuplicate(void* hCryptMsg);
@DllImport("CRYPT32.dll")
BOOL CryptMsgClose(void* hCryptMsg);
@DllImport("CRYPT32.dll")
BOOL CryptMsgUpdate(void* hCryptMsg, char* pbData, uint cbData, BOOL fFinal);
@DllImport("CRYPT32.dll")
BOOL CryptMsgGetParam(void* hCryptMsg, uint dwParamType, uint dwIndex, char* pvData, uint* pcbData);
@DllImport("CRYPT32.dll")
BOOL CryptMsgControl(void* hCryptMsg, uint dwFlags, uint dwCtrlType, const(void)* pvCtrlPara);
@DllImport("CRYPT32.dll")
BOOL CryptMsgVerifyCountersignatureEncoded(uint hCryptProv, uint dwEncodingType, char* pbSignerInfo, uint cbSignerInfo, char* pbSignerInfoCountersignature, uint cbSignerInfoCountersignature, CERT_INFO* pciCountersigner);
@DllImport("CRYPT32.dll")
BOOL CryptMsgVerifyCountersignatureEncodedEx(uint hCryptProv, uint dwEncodingType, char* pbSignerInfo, uint cbSignerInfo, char* pbSignerInfoCountersignature, uint cbSignerInfoCountersignature, uint dwSignerType, void* pvSigner, uint dwFlags, void* pvExtra);
@DllImport("CRYPT32.dll")
BOOL CryptMsgCountersign(void* hCryptMsg, uint dwIndex, uint cCountersigners, char* rgCountersigners);
@DllImport("CRYPT32.dll")
BOOL CryptMsgCountersignEncoded(uint dwEncodingType, char* pbSignerInfo, uint cbSignerInfo, uint cCountersigners, char* rgCountersigners, char* pbCountersignature, uint* pcbCountersignature);
@DllImport("CRYPT32.dll")
void* CertOpenStore(const(char)* lpszStoreProvider, uint dwEncodingType, uint hCryptProv, uint dwFlags, const(void)* pvPara);
@DllImport("CRYPT32.dll")
void* CertDuplicateStore(void* hCertStore);
@DllImport("CRYPT32.dll")
BOOL CertSaveStore(void* hCertStore, uint dwEncodingType, uint dwSaveAs, uint dwSaveTo, void* pvSaveToPara, uint dwFlags);
@DllImport("CRYPT32.dll")
BOOL CertCloseStore(void* hCertStore, uint dwFlags);
@DllImport("CRYPT32.dll")
CERT_CONTEXT* CertGetSubjectCertificateFromStore(void* hCertStore, uint dwCertEncodingType, CERT_INFO* pCertId);
@DllImport("CRYPT32.dll")
CERT_CONTEXT* CertEnumCertificatesInStore(void* hCertStore, CERT_CONTEXT* pPrevCertContext);
@DllImport("CRYPT32.dll")
CERT_CONTEXT* CertFindCertificateInStore(void* hCertStore, uint dwCertEncodingType, uint dwFindFlags, uint dwFindType, const(void)* pvFindPara, CERT_CONTEXT* pPrevCertContext);
@DllImport("CRYPT32.dll")
CERT_CONTEXT* CertGetIssuerCertificateFromStore(void* hCertStore, CERT_CONTEXT* pSubjectContext, CERT_CONTEXT* pPrevIssuerContext, uint* pdwFlags);
@DllImport("CRYPT32.dll")
BOOL CertVerifySubjectCertificateContext(CERT_CONTEXT* pSubject, CERT_CONTEXT* pIssuer, uint* pdwFlags);
@DllImport("CRYPT32.dll")
CERT_CONTEXT* CertDuplicateCertificateContext(CERT_CONTEXT* pCertContext);
@DllImport("CRYPT32.dll")
CERT_CONTEXT* CertCreateCertificateContext(uint dwCertEncodingType, char* pbCertEncoded, uint cbCertEncoded);
@DllImport("CRYPT32.dll")
BOOL CertFreeCertificateContext(CERT_CONTEXT* pCertContext);
@DllImport("CRYPT32.dll")
BOOL CertSetCertificateContextProperty(CERT_CONTEXT* pCertContext, uint dwPropId, uint dwFlags, const(void)* pvData);
@DllImport("CRYPT32.dll")
BOOL CertGetCertificateContextProperty(CERT_CONTEXT* pCertContext, uint dwPropId, char* pvData, uint* pcbData);
@DllImport("CRYPT32.dll")
uint CertEnumCertificateContextProperties(CERT_CONTEXT* pCertContext, uint dwPropId);
@DllImport("CRYPT32.dll")
BOOL CertCreateCTLEntryFromCertificateContextProperties(CERT_CONTEXT* pCertContext, uint cOptAttr, char* rgOptAttr, uint dwFlags, void* pvReserved, char* pCtlEntry, uint* pcbCtlEntry);
@DllImport("CRYPT32.dll")
BOOL CertSetCertificateContextPropertiesFromCTLEntry(CERT_CONTEXT* pCertContext, CTL_ENTRY* pCtlEntry, uint dwFlags);
@DllImport("CRYPT32.dll")
CRL_CONTEXT* CertGetCRLFromStore(void* hCertStore, CERT_CONTEXT* pIssuerContext, CRL_CONTEXT* pPrevCrlContext, uint* pdwFlags);
@DllImport("CRYPT32.dll")
CRL_CONTEXT* CertEnumCRLsInStore(void* hCertStore, CRL_CONTEXT* pPrevCrlContext);
@DllImport("CRYPT32.dll")
CRL_CONTEXT* CertFindCRLInStore(void* hCertStore, uint dwCertEncodingType, uint dwFindFlags, uint dwFindType, const(void)* pvFindPara, CRL_CONTEXT* pPrevCrlContext);
@DllImport("CRYPT32.dll")
CRL_CONTEXT* CertDuplicateCRLContext(CRL_CONTEXT* pCrlContext);
@DllImport("CRYPT32.dll")
CRL_CONTEXT* CertCreateCRLContext(uint dwCertEncodingType, char* pbCrlEncoded, uint cbCrlEncoded);
@DllImport("CRYPT32.dll")
BOOL CertFreeCRLContext(CRL_CONTEXT* pCrlContext);
@DllImport("CRYPT32.dll")
BOOL CertSetCRLContextProperty(CRL_CONTEXT* pCrlContext, uint dwPropId, uint dwFlags, const(void)* pvData);
@DllImport("CRYPT32.dll")
BOOL CertGetCRLContextProperty(CRL_CONTEXT* pCrlContext, uint dwPropId, char* pvData, uint* pcbData);
@DllImport("CRYPT32.dll")
uint CertEnumCRLContextProperties(CRL_CONTEXT* pCrlContext, uint dwPropId);
@DllImport("CRYPT32.dll")
BOOL CertFindCertificateInCRL(CERT_CONTEXT* pCert, CRL_CONTEXT* pCrlContext, uint dwFlags, void* pvReserved, CRL_ENTRY** ppCrlEntry);
@DllImport("CRYPT32.dll")
BOOL CertIsValidCRLForCertificate(CERT_CONTEXT* pCert, CRL_CONTEXT* pCrl, uint dwFlags, void* pvReserved);
@DllImport("CRYPT32.dll")
BOOL CertAddEncodedCertificateToStore(void* hCertStore, uint dwCertEncodingType, char* pbCertEncoded, uint cbCertEncoded, uint dwAddDisposition, CERT_CONTEXT** ppCertContext);
@DllImport("CRYPT32.dll")
BOOL CertAddCertificateContextToStore(void* hCertStore, CERT_CONTEXT* pCertContext, uint dwAddDisposition, CERT_CONTEXT** ppStoreContext);
@DllImport("CRYPT32.dll")
BOOL CertAddSerializedElementToStore(void* hCertStore, char* pbElement, uint cbElement, uint dwAddDisposition, uint dwFlags, uint dwContextTypeFlags, uint* pdwContextType, const(void)** ppvContext);
@DllImport("CRYPT32.dll")
BOOL CertDeleteCertificateFromStore(CERT_CONTEXT* pCertContext);
@DllImport("CRYPT32.dll")
BOOL CertAddEncodedCRLToStore(void* hCertStore, uint dwCertEncodingType, char* pbCrlEncoded, uint cbCrlEncoded, uint dwAddDisposition, CRL_CONTEXT** ppCrlContext);
@DllImport("CRYPT32.dll")
BOOL CertAddCRLContextToStore(void* hCertStore, CRL_CONTEXT* pCrlContext, uint dwAddDisposition, CRL_CONTEXT** ppStoreContext);
@DllImport("CRYPT32.dll")
BOOL CertDeleteCRLFromStore(CRL_CONTEXT* pCrlContext);
@DllImport("CRYPT32.dll")
BOOL CertSerializeCertificateStoreElement(CERT_CONTEXT* pCertContext, uint dwFlags, char* pbElement, uint* pcbElement);
@DllImport("CRYPT32.dll")
BOOL CertSerializeCRLStoreElement(CRL_CONTEXT* pCrlContext, uint dwFlags, char* pbElement, uint* pcbElement);
@DllImport("CRYPT32.dll")
CTL_CONTEXT* CertDuplicateCTLContext(CTL_CONTEXT* pCtlContext);
@DllImport("CRYPT32.dll")
CTL_CONTEXT* CertCreateCTLContext(uint dwMsgAndCertEncodingType, char* pbCtlEncoded, uint cbCtlEncoded);
@DllImport("CRYPT32.dll")
BOOL CertFreeCTLContext(CTL_CONTEXT* pCtlContext);
@DllImport("CRYPT32.dll")
BOOL CertSetCTLContextProperty(CTL_CONTEXT* pCtlContext, uint dwPropId, uint dwFlags, const(void)* pvData);
@DllImport("CRYPT32.dll")
BOOL CertGetCTLContextProperty(CTL_CONTEXT* pCtlContext, uint dwPropId, char* pvData, uint* pcbData);
@DllImport("CRYPT32.dll")
uint CertEnumCTLContextProperties(CTL_CONTEXT* pCtlContext, uint dwPropId);
@DllImport("CRYPT32.dll")
CTL_CONTEXT* CertEnumCTLsInStore(void* hCertStore, CTL_CONTEXT* pPrevCtlContext);
@DllImport("CRYPT32.dll")
CTL_ENTRY* CertFindSubjectInCTL(uint dwEncodingType, uint dwSubjectType, void* pvSubject, CTL_CONTEXT* pCtlContext, uint dwFlags);
@DllImport("CRYPT32.dll")
CTL_CONTEXT* CertFindCTLInStore(void* hCertStore, uint dwMsgAndCertEncodingType, uint dwFindFlags, uint dwFindType, const(void)* pvFindPara, CTL_CONTEXT* pPrevCtlContext);
@DllImport("CRYPT32.dll")
BOOL CertAddEncodedCTLToStore(void* hCertStore, uint dwMsgAndCertEncodingType, char* pbCtlEncoded, uint cbCtlEncoded, uint dwAddDisposition, CTL_CONTEXT** ppCtlContext);
@DllImport("CRYPT32.dll")
BOOL CertAddCTLContextToStore(void* hCertStore, CTL_CONTEXT* pCtlContext, uint dwAddDisposition, CTL_CONTEXT** ppStoreContext);
@DllImport("CRYPT32.dll")
BOOL CertSerializeCTLStoreElement(CTL_CONTEXT* pCtlContext, uint dwFlags, char* pbElement, uint* pcbElement);
@DllImport("CRYPT32.dll")
BOOL CertDeleteCTLFromStore(CTL_CONTEXT* pCtlContext);
@DllImport("CRYPT32.dll")
BOOL CertAddCertificateLinkToStore(void* hCertStore, CERT_CONTEXT* pCertContext, uint dwAddDisposition, CERT_CONTEXT** ppStoreContext);
@DllImport("CRYPT32.dll")
BOOL CertAddCRLLinkToStore(void* hCertStore, CRL_CONTEXT* pCrlContext, uint dwAddDisposition, CRL_CONTEXT** ppStoreContext);
@DllImport("CRYPT32.dll")
BOOL CertAddCTLLinkToStore(void* hCertStore, CTL_CONTEXT* pCtlContext, uint dwAddDisposition, CTL_CONTEXT** ppStoreContext);
@DllImport("CRYPT32.dll")
BOOL CertAddStoreToCollection(void* hCollectionStore, void* hSiblingStore, uint dwUpdateFlags, uint dwPriority);
@DllImport("CRYPT32.dll")
void CertRemoveStoreFromCollection(void* hCollectionStore, void* hSiblingStore);
@DllImport("CRYPT32.dll")
BOOL CertControlStore(void* hCertStore, uint dwFlags, uint dwCtrlType, const(void)* pvCtrlPara);
@DllImport("CRYPT32.dll")
BOOL CertSetStoreProperty(void* hCertStore, uint dwPropId, uint dwFlags, const(void)* pvData);
@DllImport("CRYPT32.dll")
BOOL CertGetStoreProperty(void* hCertStore, uint dwPropId, char* pvData, uint* pcbData);
@DllImport("CRYPT32.dll")
void* CertCreateContext(uint dwContextType, uint dwEncodingType, char* pbEncoded, uint cbEncoded, uint dwFlags, CERT_CREATE_CONTEXT_PARA* pCreatePara);
@DllImport("CRYPT32.dll")
BOOL CertRegisterSystemStore(const(void)* pvSystemStore, uint dwFlags, CERT_SYSTEM_STORE_INFO* pStoreInfo, void* pvReserved);
@DllImport("CRYPT32.dll")
BOOL CertRegisterPhysicalStore(const(void)* pvSystemStore, uint dwFlags, const(wchar)* pwszStoreName, CERT_PHYSICAL_STORE_INFO* pStoreInfo, void* pvReserved);
@DllImport("CRYPT32.dll")
BOOL CertUnregisterSystemStore(const(void)* pvSystemStore, uint dwFlags);
@DllImport("CRYPT32.dll")
BOOL CertUnregisterPhysicalStore(const(void)* pvSystemStore, uint dwFlags, const(wchar)* pwszStoreName);
@DllImport("CRYPT32.dll")
BOOL CertEnumSystemStoreLocation(uint dwFlags, void* pvArg, PFN_CERT_ENUM_SYSTEM_STORE_LOCATION pfnEnum);
@DllImport("CRYPT32.dll")
BOOL CertEnumSystemStore(uint dwFlags, void* pvSystemStoreLocationPara, void* pvArg, PFN_CERT_ENUM_SYSTEM_STORE pfnEnum);
@DllImport("CRYPT32.dll")
BOOL CertEnumPhysicalStore(const(void)* pvSystemStore, uint dwFlags, void* pvArg, PFN_CERT_ENUM_PHYSICAL_STORE pfnEnum);
@DllImport("CRYPT32.dll")
BOOL CertGetEnhancedKeyUsage(CERT_CONTEXT* pCertContext, uint dwFlags, char* pUsage, uint* pcbUsage);
@DllImport("CRYPT32.dll")
BOOL CertSetEnhancedKeyUsage(CERT_CONTEXT* pCertContext, CTL_USAGE* pUsage);
@DllImport("CRYPT32.dll")
BOOL CertAddEnhancedKeyUsageIdentifier(CERT_CONTEXT* pCertContext, const(char)* pszUsageIdentifier);
@DllImport("CRYPT32.dll")
BOOL CertRemoveEnhancedKeyUsageIdentifier(CERT_CONTEXT* pCertContext, const(char)* pszUsageIdentifier);
@DllImport("CRYPT32.dll")
BOOL CertGetValidUsages(uint cCerts, char* rghCerts, int* cNumOIDs, char* rghOIDs, uint* pcbOIDs);
@DllImport("CRYPT32.dll")
BOOL CryptMsgGetAndVerifySigner(void* hCryptMsg, uint cSignerStore, char* rghSignerStore, uint dwFlags, CERT_CONTEXT** ppSigner, uint* pdwSignerIndex);
@DllImport("CRYPT32.dll")
BOOL CryptMsgSignCTL(uint dwMsgEncodingType, char* pbCtlContent, uint cbCtlContent, CMSG_SIGNED_ENCODE_INFO* pSignInfo, uint dwFlags, char* pbEncoded, uint* pcbEncoded);
@DllImport("CRYPT32.dll")
BOOL CryptMsgEncodeAndSignCTL(uint dwMsgEncodingType, CTL_INFO* pCtlInfo, CMSG_SIGNED_ENCODE_INFO* pSignInfo, uint dwFlags, char* pbEncoded, uint* pcbEncoded);
@DllImport("CRYPT32.dll")
BOOL CertFindSubjectInSortedCTL(CRYPTOAPI_BLOB* pSubjectIdentifier, CTL_CONTEXT* pCtlContext, uint dwFlags, void* pvReserved, CRYPTOAPI_BLOB* pEncodedAttributes);
@DllImport("CRYPT32.dll")
BOOL CertEnumSubjectInSortedCTL(CTL_CONTEXT* pCtlContext, void** ppvNextSubject, CRYPTOAPI_BLOB* pSubjectIdentifier, CRYPTOAPI_BLOB* pEncodedAttributes);
@DllImport("CRYPT32.dll")
BOOL CertVerifyCTLUsage(uint dwEncodingType, uint dwSubjectType, void* pvSubject, CTL_USAGE* pSubjectUsage, uint dwFlags, CTL_VERIFY_USAGE_PARA* pVerifyUsagePara, CTL_VERIFY_USAGE_STATUS* pVerifyUsageStatus);
@DllImport("CRYPT32.dll")
BOOL CertVerifyRevocation(uint dwEncodingType, uint dwRevType, uint cContext, char* rgpvContext, uint dwFlags, CERT_REVOCATION_PARA* pRevPara, CERT_REVOCATION_STATUS* pRevStatus);
@DllImport("CRYPT32.dll")
BOOL CertCompareIntegerBlob(CRYPTOAPI_BLOB* pInt1, CRYPTOAPI_BLOB* pInt2);
@DllImport("CRYPT32.dll")
BOOL CertCompareCertificate(uint dwCertEncodingType, CERT_INFO* pCertId1, CERT_INFO* pCertId2);
@DllImport("CRYPT32.dll")
BOOL CertCompareCertificateName(uint dwCertEncodingType, CRYPTOAPI_BLOB* pCertName1, CRYPTOAPI_BLOB* pCertName2);
@DllImport("CRYPT32.dll")
BOOL CertIsRDNAttrsInCertificateName(uint dwCertEncodingType, uint dwFlags, CRYPTOAPI_BLOB* pCertName, CERT_RDN* pRDN);
@DllImport("CRYPT32.dll")
BOOL CertComparePublicKeyInfo(uint dwCertEncodingType, CERT_PUBLIC_KEY_INFO* pPublicKey1, CERT_PUBLIC_KEY_INFO* pPublicKey2);
@DllImport("CRYPT32.dll")
uint CertGetPublicKeyLength(uint dwCertEncodingType, CERT_PUBLIC_KEY_INFO* pPublicKey);
@DllImport("CRYPT32.dll")
BOOL CryptVerifyCertificateSignature(uint hCryptProv, uint dwCertEncodingType, char* pbEncoded, uint cbEncoded, CERT_PUBLIC_KEY_INFO* pPublicKey);
@DllImport("CRYPT32.dll")
BOOL CryptVerifyCertificateSignatureEx(uint hCryptProv, uint dwCertEncodingType, uint dwSubjectType, void* pvSubject, uint dwIssuerType, void* pvIssuer, uint dwFlags, void* pvExtra);
@DllImport("CRYPT32.dll")
BOOL CertIsStrongHashToSign(CERT_STRONG_SIGN_PARA* pStrongSignPara, const(wchar)* pwszCNGHashAlgid, CERT_CONTEXT* pSigningCert);
@DllImport("CRYPT32.dll")
BOOL CryptHashToBeSigned(uint hCryptProv, uint dwCertEncodingType, char* pbEncoded, uint cbEncoded, char* pbComputedHash, uint* pcbComputedHash);
@DllImport("CRYPT32.dll")
BOOL CryptHashCertificate(uint hCryptProv, uint Algid, uint dwFlags, char* pbEncoded, uint cbEncoded, char* pbComputedHash, uint* pcbComputedHash);
@DllImport("CRYPT32.dll")
BOOL CryptHashCertificate2(const(wchar)* pwszCNGHashAlgid, uint dwFlags, void* pvReserved, char* pbEncoded, uint cbEncoded, char* pbComputedHash, uint* pcbComputedHash);
@DllImport("CRYPT32.dll")
BOOL CryptSignCertificate(uint hCryptProvOrNCryptKey, uint dwKeySpec, uint dwCertEncodingType, char* pbEncodedToBeSigned, uint cbEncodedToBeSigned, CRYPT_ALGORITHM_IDENTIFIER* pSignatureAlgorithm, const(void)* pvHashAuxInfo, char* pbSignature, uint* pcbSignature);
@DllImport("CRYPT32.dll")
BOOL CryptSignAndEncodeCertificate(uint hCryptProvOrNCryptKey, uint dwKeySpec, uint dwCertEncodingType, const(char)* lpszStructType, const(void)* pvStructInfo, CRYPT_ALGORITHM_IDENTIFIER* pSignatureAlgorithm, const(void)* pvHashAuxInfo, char* pbEncoded, uint* pcbEncoded);
@DllImport("CRYPT32.dll")
int CertVerifyTimeValidity(FILETIME* pTimeToVerify, CERT_INFO* pCertInfo);
@DllImport("CRYPT32.dll")
int CertVerifyCRLTimeValidity(FILETIME* pTimeToVerify, CRL_INFO* pCrlInfo);
@DllImport("CRYPT32.dll")
BOOL CertVerifyValidityNesting(CERT_INFO* pSubjectInfo, CERT_INFO* pIssuerInfo);
@DllImport("CRYPT32.dll")
BOOL CertVerifyCRLRevocation(uint dwCertEncodingType, CERT_INFO* pCertId, uint cCrlInfo, char* rgpCrlInfo);
@DllImport("CRYPT32.dll")
byte* CertAlgIdToOID(uint dwAlgId);
@DllImport("CRYPT32.dll")
uint CertOIDToAlgId(const(char)* pszObjId);
@DllImport("CRYPT32.dll")
CERT_EXTENSION* CertFindExtension(const(char)* pszObjId, uint cExtensions, char* rgExtensions);
@DllImport("CRYPT32.dll")
CRYPT_ATTRIBUTE* CertFindAttribute(const(char)* pszObjId, uint cAttr, char* rgAttr);
@DllImport("CRYPT32.dll")
CERT_RDN_ATTR* CertFindRDNAttr(const(char)* pszObjId, CERT_NAME_INFO* pName);
@DllImport("CRYPT32.dll")
BOOL CertGetIntendedKeyUsage(uint dwCertEncodingType, CERT_INFO* pCertInfo, char* pbKeyUsage, uint cbKeyUsage);
@DllImport("CRYPT32.dll")
BOOL CryptInstallDefaultContext(uint hCryptProv, uint dwDefaultType, const(void)* pvDefaultPara, uint dwFlags, void* pvReserved, void** phDefaultContext);
@DllImport("CRYPT32.dll")
BOOL CryptUninstallDefaultContext(void* hDefaultContext, uint dwFlags, void* pvReserved);
@DllImport("CRYPT32.dll")
BOOL CryptExportPublicKeyInfo(uint hCryptProvOrNCryptKey, uint dwKeySpec, uint dwCertEncodingType, char* pInfo, uint* pcbInfo);
@DllImport("CRYPT32.dll")
BOOL CryptExportPublicKeyInfoEx(uint hCryptProvOrNCryptKey, uint dwKeySpec, uint dwCertEncodingType, const(char)* pszPublicKeyObjId, uint dwFlags, void* pvAuxInfo, char* pInfo, uint* pcbInfo);
@DllImport("CRYPT32.dll")
BOOL CryptExportPublicKeyInfoFromBCryptKeyHandle(void* hBCryptKey, uint dwCertEncodingType, const(char)* pszPublicKeyObjId, uint dwFlags, void* pvAuxInfo, char* pInfo, uint* pcbInfo);
@DllImport("CRYPT32.dll")
BOOL CryptImportPublicKeyInfo(uint hCryptProv, uint dwCertEncodingType, CERT_PUBLIC_KEY_INFO* pInfo, uint* phKey);
@DllImport("CRYPT32.dll")
BOOL CryptImportPublicKeyInfoEx(uint hCryptProv, uint dwCertEncodingType, CERT_PUBLIC_KEY_INFO* pInfo, uint aiKeyAlg, uint dwFlags, void* pvAuxInfo, uint* phKey);
@DllImport("CRYPT32.dll")
BOOL CryptImportPublicKeyInfoEx2(uint dwCertEncodingType, CERT_PUBLIC_KEY_INFO* pInfo, uint dwFlags, void* pvAuxInfo, void** phKey);
@DllImport("CRYPT32.dll")
BOOL CryptAcquireCertificatePrivateKey(CERT_CONTEXT* pCert, uint dwFlags, void* pvParameters, uint* phCryptProvOrNCryptKey, uint* pdwKeySpec, int* pfCallerFreeProvOrNCryptKey);
@DllImport("CRYPT32.dll")
BOOL CryptFindCertificateKeyProvInfo(CERT_CONTEXT* pCert, uint dwFlags, void* pvReserved);
@DllImport("CRYPT32.dll")
BOOL CryptImportPKCS8(CRYPT_PKCS8_IMPORT_PARAMS sPrivateKeyAndParams, uint dwFlags, uint* phCryptProv, void* pvAuxInfo);
@DllImport("CRYPT32.dll")
BOOL CryptExportPKCS8(uint hCryptProv, uint dwKeySpec, const(char)* pszPrivateKeyObjId, uint dwFlags, void* pvAuxInfo, char* pbPrivateKeyBlob, uint* pcbPrivateKeyBlob);
@DllImport("CRYPT32.dll")
BOOL CryptHashPublicKeyInfo(uint hCryptProv, uint Algid, uint dwFlags, uint dwCertEncodingType, CERT_PUBLIC_KEY_INFO* pInfo, char* pbComputedHash, uint* pcbComputedHash);
@DllImport("CRYPT32.dll")
uint CertRDNValueToStrA(uint dwValueType, CRYPTOAPI_BLOB* pValue, const(char)* psz, uint csz);
@DllImport("CRYPT32.dll")
uint CertRDNValueToStrW(uint dwValueType, CRYPTOAPI_BLOB* pValue, const(wchar)* psz, uint csz);
@DllImport("CRYPT32.dll")
uint CertNameToStrA(uint dwCertEncodingType, CRYPTOAPI_BLOB* pName, uint dwStrType, const(char)* psz, uint csz);
@DllImport("CRYPT32.dll")
uint CertNameToStrW(uint dwCertEncodingType, CRYPTOAPI_BLOB* pName, uint dwStrType, const(wchar)* psz, uint csz);
@DllImport("CRYPT32.dll")
BOOL CertStrToNameA(uint dwCertEncodingType, const(char)* pszX500, uint dwStrType, void* pvReserved, char* pbEncoded, uint* pcbEncoded, byte** ppszError);
@DllImport("CRYPT32.dll")
BOOL CertStrToNameW(uint dwCertEncodingType, const(wchar)* pszX500, uint dwStrType, void* pvReserved, char* pbEncoded, uint* pcbEncoded, ushort** ppszError);
@DllImport("CRYPT32.dll")
uint CertGetNameStringA(CERT_CONTEXT* pCertContext, uint dwType, uint dwFlags, void* pvTypePara, const(char)* pszNameString, uint cchNameString);
@DllImport("CRYPT32.dll")
uint CertGetNameStringW(CERT_CONTEXT* pCertContext, uint dwType, uint dwFlags, void* pvTypePara, const(wchar)* pszNameString, uint cchNameString);
@DllImport("CRYPT32.dll")
BOOL CryptSignMessage(CRYPT_SIGN_MESSAGE_PARA* pSignPara, BOOL fDetachedSignature, uint cToBeSigned, char* rgpbToBeSigned, char* rgcbToBeSigned, char* pbSignedBlob, uint* pcbSignedBlob);
@DllImport("CRYPT32.dll")
BOOL CryptVerifyMessageSignature(CRYPT_VERIFY_MESSAGE_PARA* pVerifyPara, uint dwSignerIndex, char* pbSignedBlob, uint cbSignedBlob, char* pbDecoded, uint* pcbDecoded, CERT_CONTEXT** ppSignerCert);
@DllImport("CRYPT32.dll")
int CryptGetMessageSignerCount(uint dwMsgEncodingType, char* pbSignedBlob, uint cbSignedBlob);
@DllImport("CRYPT32.dll")
void* CryptGetMessageCertificates(uint dwMsgAndCertEncodingType, uint hCryptProv, uint dwFlags, char* pbSignedBlob, uint cbSignedBlob);
@DllImport("CRYPT32.dll")
BOOL CryptVerifyDetachedMessageSignature(CRYPT_VERIFY_MESSAGE_PARA* pVerifyPara, uint dwSignerIndex, char* pbDetachedSignBlob, uint cbDetachedSignBlob, uint cToBeSigned, char* rgpbToBeSigned, char* rgcbToBeSigned, CERT_CONTEXT** ppSignerCert);
@DllImport("CRYPT32.dll")
BOOL CryptEncryptMessage(CRYPT_ENCRYPT_MESSAGE_PARA* pEncryptPara, uint cRecipientCert, char* rgpRecipientCert, char* pbToBeEncrypted, uint cbToBeEncrypted, char* pbEncryptedBlob, uint* pcbEncryptedBlob);
@DllImport("CRYPT32.dll")
BOOL CryptDecryptMessage(CRYPT_DECRYPT_MESSAGE_PARA* pDecryptPara, char* pbEncryptedBlob, uint cbEncryptedBlob, char* pbDecrypted, uint* pcbDecrypted, CERT_CONTEXT** ppXchgCert);
@DllImport("CRYPT32.dll")
BOOL CryptSignAndEncryptMessage(CRYPT_SIGN_MESSAGE_PARA* pSignPara, CRYPT_ENCRYPT_MESSAGE_PARA* pEncryptPara, uint cRecipientCert, char* rgpRecipientCert, char* pbToBeSignedAndEncrypted, uint cbToBeSignedAndEncrypted, char* pbSignedAndEncryptedBlob, uint* pcbSignedAndEncryptedBlob);
@DllImport("CRYPT32.dll")
BOOL CryptDecryptAndVerifyMessageSignature(CRYPT_DECRYPT_MESSAGE_PARA* pDecryptPara, CRYPT_VERIFY_MESSAGE_PARA* pVerifyPara, uint dwSignerIndex, char* pbEncryptedBlob, uint cbEncryptedBlob, char* pbDecrypted, uint* pcbDecrypted, CERT_CONTEXT** ppXchgCert, CERT_CONTEXT** ppSignerCert);
@DllImport("CRYPT32.dll")
BOOL CryptDecodeMessage(uint dwMsgTypeFlags, CRYPT_DECRYPT_MESSAGE_PARA* pDecryptPara, CRYPT_VERIFY_MESSAGE_PARA* pVerifyPara, uint dwSignerIndex, char* pbEncodedBlob, uint cbEncodedBlob, uint dwPrevInnerContentType, uint* pdwMsgType, uint* pdwInnerContentType, char* pbDecoded, uint* pcbDecoded, CERT_CONTEXT** ppXchgCert, CERT_CONTEXT** ppSignerCert);
@DllImport("CRYPT32.dll")
BOOL CryptHashMessage(CRYPT_HASH_MESSAGE_PARA* pHashPara, BOOL fDetachedHash, uint cToBeHashed, char* rgpbToBeHashed, char* rgcbToBeHashed, char* pbHashedBlob, uint* pcbHashedBlob, char* pbComputedHash, uint* pcbComputedHash);
@DllImport("CRYPT32.dll")
BOOL CryptVerifyMessageHash(CRYPT_HASH_MESSAGE_PARA* pHashPara, char* pbHashedBlob, uint cbHashedBlob, char* pbToBeHashed, uint* pcbToBeHashed, char* pbComputedHash, uint* pcbComputedHash);
@DllImport("CRYPT32.dll")
BOOL CryptVerifyDetachedMessageHash(CRYPT_HASH_MESSAGE_PARA* pHashPara, char* pbDetachedHashBlob, uint cbDetachedHashBlob, uint cToBeHashed, char* rgpbToBeHashed, char* rgcbToBeHashed, char* pbComputedHash, uint* pcbComputedHash);
@DllImport("CRYPT32.dll")
BOOL CryptSignMessageWithKey(CRYPT_KEY_SIGN_MESSAGE_PARA* pSignPara, char* pbToBeSigned, uint cbToBeSigned, char* pbSignedBlob, uint* pcbSignedBlob);
@DllImport("CRYPT32.dll")
BOOL CryptVerifyMessageSignatureWithKey(CRYPT_KEY_VERIFY_MESSAGE_PARA* pVerifyPara, CERT_PUBLIC_KEY_INFO* pPublicKeyInfo, char* pbSignedBlob, uint cbSignedBlob, char* pbDecoded, uint* pcbDecoded);
@DllImport("CRYPT32.dll")
void* CertOpenSystemStoreA(uint hProv, const(char)* szSubsystemProtocol);
@DllImport("CRYPT32.dll")
void* CertOpenSystemStoreW(uint hProv, const(wchar)* szSubsystemProtocol);
@DllImport("CRYPT32.dll")
BOOL CertAddEncodedCertificateToSystemStoreA(const(char)* szCertStoreName, char* pbCertEncoded, uint cbCertEncoded);
@DllImport("CRYPT32.dll")
BOOL CertAddEncodedCertificateToSystemStoreW(const(wchar)* szCertStoreName, char* pbCertEncoded, uint cbCertEncoded);
@DllImport("WINTRUST.dll")
HRESULT FindCertsByIssuer(char* pCertChains, uint* pcbCertChains, uint* pcCertChains, char* pbEncodedIssuerName, uint cbEncodedIssuerName, const(wchar)* pwszPurpose, uint dwKeySpec);
@DllImport("CRYPT32.dll")
BOOL CryptQueryObject(uint dwObjectType, const(void)* pvObject, uint dwExpectedContentTypeFlags, uint dwExpectedFormatTypeFlags, uint dwFlags, uint* pdwMsgAndCertEncodingType, uint* pdwContentType, uint* pdwFormatType, void** phCertStore, void** phMsg, const(void)** ppvContext);
@DllImport("CRYPT32.dll")
void* CryptMemAlloc(uint cbSize);
@DllImport("CRYPT32.dll")
void* CryptMemRealloc(void* pv, uint cbSize);
@DllImport("CRYPT32.dll")
void CryptMemFree(void* pv);
@DllImport("CRYPT32.dll")
BOOL CryptCreateAsyncHandle(uint dwFlags, HCRYPTASYNC* phAsync);
@DllImport("CRYPT32.dll")
BOOL CryptSetAsyncParam(HCRYPTASYNC hAsync, const(char)* pszParamOid, void* pvParam, PFN_CRYPT_ASYNC_PARAM_FREE_FUNC pfnFree);
@DllImport("CRYPT32.dll")
BOOL CryptGetAsyncParam(HCRYPTASYNC hAsync, const(char)* pszParamOid, void** ppvParam, PFN_CRYPT_ASYNC_PARAM_FREE_FUNC* ppfnFree);
@DllImport("CRYPT32.dll")
BOOL CryptCloseAsyncHandle(HCRYPTASYNC hAsync);
@DllImport("CRYPTNET.dll")
BOOL CryptRetrieveObjectByUrlA(const(char)* pszUrl, const(char)* pszObjectOid, uint dwRetrievalFlags, uint dwTimeout, void** ppvObject, HCRYPTASYNC hAsyncRetrieve, CRYPT_CREDENTIALS* pCredentials, void* pvVerify, CRYPT_RETRIEVE_AUX_INFO* pAuxInfo);
@DllImport("CRYPTNET.dll")
BOOL CryptRetrieveObjectByUrlW(const(wchar)* pszUrl, const(char)* pszObjectOid, uint dwRetrievalFlags, uint dwTimeout, void** ppvObject, HCRYPTASYNC hAsyncRetrieve, CRYPT_CREDENTIALS* pCredentials, void* pvVerify, CRYPT_RETRIEVE_AUX_INFO* pAuxInfo);
@DllImport("CRYPTNET.dll")
BOOL CryptInstallCancelRetrieval(PFN_CRYPT_CANCEL_RETRIEVAL pfnCancel, const(void)* pvArg, uint dwFlags, void* pvReserved);
@DllImport("CRYPTNET.dll")
BOOL CryptUninstallCancelRetrieval(uint dwFlags, void* pvReserved);
@DllImport("CRYPTNET.dll")
BOOL CryptGetObjectUrl(const(char)* pszUrlOid, void* pvPara, uint dwFlags, char* pUrlArray, uint* pcbUrlArray, char* pUrlInfo, uint* pcbUrlInfo, void* pvReserved);
@DllImport("CRYPT32.dll")
CERT_CONTEXT* CertCreateSelfSignCertificate(uint hCryptProvOrNCryptKey, CRYPTOAPI_BLOB* pSubjectIssuerBlob, uint dwFlags, CRYPT_KEY_PROV_INFO* pKeyProvInfo, CRYPT_ALGORITHM_IDENTIFIER* pSignatureAlgorithm, SYSTEMTIME* pStartTime, SYSTEMTIME* pEndTime, CERT_EXTENSIONS* pExtensions);
@DllImport("CRYPT32.dll")
BOOL CryptGetKeyIdentifierProperty(const(CRYPTOAPI_BLOB)* pKeyIdentifier, uint dwPropId, uint dwFlags, const(wchar)* pwszComputerName, void* pvReserved, char* pvData, uint* pcbData);
@DllImport("CRYPT32.dll")
BOOL CryptSetKeyIdentifierProperty(const(CRYPTOAPI_BLOB)* pKeyIdentifier, uint dwPropId, uint dwFlags, const(wchar)* pwszComputerName, void* pvReserved, const(void)* pvData);
@DllImport("CRYPT32.dll")
BOOL CryptEnumKeyIdentifierProperties(const(CRYPTOAPI_BLOB)* pKeyIdentifier, uint dwPropId, uint dwFlags, const(wchar)* pwszComputerName, void* pvReserved, void* pvArg, PFN_CRYPT_ENUM_KEYID_PROP pfnEnum);
@DllImport("CRYPT32.dll")
BOOL CryptCreateKeyIdentifierFromCSP(uint dwCertEncodingType, const(char)* pszPubKeyOID, char* pPubKeyStruc, uint cbPubKeyStruc, uint dwFlags, void* pvReserved, char* pbHash, uint* pcbHash);
@DllImport("CRYPT32.dll")
BOOL CertCreateCertificateChainEngine(CERT_CHAIN_ENGINE_CONFIG* pConfig, HCERTCHAINENGINE* phChainEngine);
@DllImport("CRYPT32.dll")
void CertFreeCertificateChainEngine(HCERTCHAINENGINE hChainEngine);
@DllImport("CRYPT32.dll")
BOOL CertResyncCertificateChainEngine(HCERTCHAINENGINE hChainEngine);
@DllImport("CRYPT32.dll")
BOOL CertGetCertificateChain(HCERTCHAINENGINE hChainEngine, CERT_CONTEXT* pCertContext, FILETIME* pTime, void* hAdditionalStore, CERT_CHAIN_PARA* pChainPara, uint dwFlags, void* pvReserved, CERT_CHAIN_CONTEXT** ppChainContext);
@DllImport("CRYPT32.dll")
void CertFreeCertificateChain(CERT_CHAIN_CONTEXT* pChainContext);
@DllImport("CRYPT32.dll")
CERT_CHAIN_CONTEXT* CertDuplicateCertificateChain(CERT_CHAIN_CONTEXT* pChainContext);
@DllImport("CRYPT32.dll")
CERT_CHAIN_CONTEXT* CertFindChainInStore(void* hCertStore, uint dwCertEncodingType, uint dwFindFlags, uint dwFindType, const(void)* pvFindPara, CERT_CHAIN_CONTEXT* pPrevChainContext);
@DllImport("CRYPT32.dll")
BOOL CertVerifyCertificateChainPolicy(const(char)* pszPolicyOID, CERT_CHAIN_CONTEXT* pChainContext, CERT_CHAIN_POLICY_PARA* pPolicyPara, CERT_CHAIN_POLICY_STATUS* pPolicyStatus);
@DllImport("CRYPT32.dll")
BOOL CryptStringToBinaryA(const(char)* pszString, uint cchString, uint dwFlags, char* pbBinary, uint* pcbBinary, uint* pdwSkip, uint* pdwFlags);
@DllImport("CRYPT32.dll")
BOOL CryptStringToBinaryW(const(wchar)* pszString, uint cchString, uint dwFlags, char* pbBinary, uint* pcbBinary, uint* pdwSkip, uint* pdwFlags);
@DllImport("CRYPT32.dll")
BOOL CryptBinaryToStringA(char* pbBinary, uint cbBinary, uint dwFlags, const(char)* pszString, uint* pcchString);
@DllImport("CRYPT32.dll")
BOOL CryptBinaryToStringW(char* pbBinary, uint cbBinary, uint dwFlags, const(wchar)* pszString, uint* pcchString);
@DllImport("CRYPT32.dll")
void* PFXImportCertStore(CRYPTOAPI_BLOB* pPFX, const(wchar)* szPassword, uint dwFlags);
@DllImport("CRYPT32.dll")
BOOL PFXIsPFXBlob(CRYPTOAPI_BLOB* pPFX);
@DllImport("CRYPT32.dll")
BOOL PFXVerifyPassword(CRYPTOAPI_BLOB* pPFX, const(wchar)* szPassword, uint dwFlags);
@DllImport("CRYPT32.dll")
BOOL PFXExportCertStoreEx(void* hStore, CRYPTOAPI_BLOB* pPFX, const(wchar)* szPassword, void* pvPara, uint dwFlags);
@DllImport("CRYPT32.dll")
BOOL PFXExportCertStore(void* hStore, CRYPTOAPI_BLOB* pPFX, const(wchar)* szPassword, uint dwFlags);
@DllImport("CRYPT32.dll")
void* CertOpenServerOcspResponse(CERT_CHAIN_CONTEXT* pChainContext, uint dwFlags, CERT_SERVER_OCSP_RESPONSE_OPEN_PARA* pOpenPara);
@DllImport("CRYPT32.dll")
void CertAddRefServerOcspResponse(void* hServerOcspResponse);
@DllImport("CRYPT32.dll")
void CertCloseServerOcspResponse(void* hServerOcspResponse, uint dwFlags);
@DllImport("CRYPT32.dll")
CERT_SERVER_OCSP_RESPONSE_CONTEXT* CertGetServerOcspResponseContext(void* hServerOcspResponse, uint dwFlags, void* pvReserved);
@DllImport("CRYPT32.dll")
void CertAddRefServerOcspResponseContext(CERT_SERVER_OCSP_RESPONSE_CONTEXT* pServerOcspResponseContext);
@DllImport("CRYPT32.dll")
void CertFreeServerOcspResponseContext(CERT_SERVER_OCSP_RESPONSE_CONTEXT* pServerOcspResponseContext);
@DllImport("CRYPT32.dll")
BOOL CertRetrieveLogoOrBiometricInfo(CERT_CONTEXT* pCertContext, const(char)* lpszLogoOrBiometricType, uint dwRetrievalFlags, uint dwTimeout, uint dwFlags, void* pvReserved, ubyte** ppbData, uint* pcbData, ushort** ppwszMimeType);
@DllImport("CRYPT32.dll")
BOOL CertSelectCertificateChains(Guid* pSelectionContext, uint dwFlags, CERT_SELECT_CHAIN_PARA* pChainParameters, uint cCriteria, char* rgpCriteria, void* hStore, uint* pcSelection, CERT_CHAIN_CONTEXT*** pprgpSelection);
@DllImport("CRYPT32.dll")
void CertFreeCertificateChainList(CERT_CHAIN_CONTEXT** prgpSelection);
@DllImport("CRYPT32.dll")
BOOL CryptRetrieveTimeStamp(const(wchar)* wszUrl, uint dwRetrievalFlags, uint dwTimeout, const(char)* pszHashId, const(CRYPT_TIMESTAMP_PARA)* pPara, char* pbData, uint cbData, CRYPT_TIMESTAMP_CONTEXT** ppTsContext, CERT_CONTEXT** ppTsSigner, void** phStore);
@DllImport("CRYPT32.dll")
BOOL CryptVerifyTimeStampSignature(char* pbTSContentInfo, uint cbTSContentInfo, char* pbData, uint cbData, void* hAdditionalStore, CRYPT_TIMESTAMP_CONTEXT** ppTsContext, CERT_CONTEXT** ppTsSigner, void** phStore);
@DllImport("CRYPT32.dll")
BOOL CertIsWeakHash(uint dwHashUseType, const(wchar)* pwszCNGHashAlgid, uint dwChainFlags, CERT_CHAIN_CONTEXT* pSignerChainContext, FILETIME* pTimeStamp, const(wchar)* pwszFileName);
@DllImport("CRYPT32.dll")
BOOL CryptProtectData(CRYPTOAPI_BLOB* pDataIn, const(wchar)* szDataDescr, CRYPTOAPI_BLOB* pOptionalEntropy, void* pvReserved, CRYPTPROTECT_PROMPTSTRUCT* pPromptStruct, uint dwFlags, CRYPTOAPI_BLOB* pDataOut);
@DllImport("CRYPT32.dll")
BOOL CryptUnprotectData(CRYPTOAPI_BLOB* pDataIn, ushort** ppszDataDescr, CRYPTOAPI_BLOB* pOptionalEntropy, void* pvReserved, CRYPTPROTECT_PROMPTSTRUCT* pPromptStruct, uint dwFlags, CRYPTOAPI_BLOB* pDataOut);
@DllImport("CRYPT32.dll")
BOOL CryptUpdateProtectedState(void* pOldSid, const(wchar)* pwszOldPassword, uint dwFlags, uint* pdwSuccessCount, uint* pdwFailureCount);
@DllImport("CRYPT32.dll")
BOOL CryptProtectMemory(void* pDataIn, uint cbDataIn, uint dwFlags);
@DllImport("CRYPT32.dll")
BOOL CryptUnprotectMemory(void* pDataIn, uint cbDataIn, uint dwFlags);
@DllImport("WinSCard.dll")
int SCardEstablishContext(uint dwScope, void* pvReserved1, void* pvReserved2, uint* phContext);
@DllImport("WinSCard.dll")
int SCardReleaseContext(uint hContext);
@DllImport("WinSCard.dll")
int SCardIsValidContext(uint hContext);
@DllImport("WinSCard.dll")
int SCardListReaderGroupsA(uint hContext, const(char)* mszGroups, uint* pcchGroups);
@DllImport("WinSCard.dll")
int SCardListReaderGroupsW(uint hContext, const(wchar)* mszGroups, uint* pcchGroups);
@DllImport("WinSCard.dll")
int SCardListReadersA(uint hContext, const(char)* mszGroups, const(char)* mszReaders, uint* pcchReaders);
@DllImport("WinSCard.dll")
int SCardListReadersW(uint hContext, const(wchar)* mszGroups, const(wchar)* mszReaders, uint* pcchReaders);
@DllImport("WinSCard.dll")
int SCardListCardsA(uint hContext, ubyte* pbAtr, char* rgquidInterfaces, uint cguidInterfaceCount, char* mszCards, uint* pcchCards);
@DllImport("WinSCard.dll")
int SCardListCardsW(uint hContext, ubyte* pbAtr, char* rgquidInterfaces, uint cguidInterfaceCount, char* mszCards, uint* pcchCards);
@DllImport("WinSCard.dll")
int SCardListInterfacesA(uint hContext, const(char)* szCard, Guid* pguidInterfaces, uint* pcguidInterfaces);
@DllImport("WinSCard.dll")
int SCardListInterfacesW(uint hContext, const(wchar)* szCard, Guid* pguidInterfaces, uint* pcguidInterfaces);
@DllImport("WinSCard.dll")
int SCardGetProviderIdA(uint hContext, const(char)* szCard, Guid* pguidProviderId);
@DllImport("WinSCard.dll")
int SCardGetProviderIdW(uint hContext, const(wchar)* szCard, Guid* pguidProviderId);
@DllImport("WinSCard.dll")
int SCardGetCardTypeProviderNameA(uint hContext, const(char)* szCardName, uint dwProviderId, char* szProvider, uint* pcchProvider);
@DllImport("WinSCard.dll")
int SCardGetCardTypeProviderNameW(uint hContext, const(wchar)* szCardName, uint dwProviderId, char* szProvider, uint* pcchProvider);
@DllImport("WinSCard.dll")
int SCardIntroduceReaderGroupA(uint hContext, const(char)* szGroupName);
@DllImport("WinSCard.dll")
int SCardIntroduceReaderGroupW(uint hContext, const(wchar)* szGroupName);
@DllImport("WinSCard.dll")
int SCardForgetReaderGroupA(uint hContext, const(char)* szGroupName);
@DllImport("WinSCard.dll")
int SCardForgetReaderGroupW(uint hContext, const(wchar)* szGroupName);
@DllImport("WinSCard.dll")
int SCardIntroduceReaderA(uint hContext, const(char)* szReaderName, const(char)* szDeviceName);
@DllImport("WinSCard.dll")
int SCardIntroduceReaderW(uint hContext, const(wchar)* szReaderName, const(wchar)* szDeviceName);
@DllImport("WinSCard.dll")
int SCardForgetReaderA(uint hContext, const(char)* szReaderName);
@DllImport("WinSCard.dll")
int SCardForgetReaderW(uint hContext, const(wchar)* szReaderName);
@DllImport("WinSCard.dll")
int SCardAddReaderToGroupA(uint hContext, const(char)* szReaderName, const(char)* szGroupName);
@DllImport("WinSCard.dll")
int SCardAddReaderToGroupW(uint hContext, const(wchar)* szReaderName, const(wchar)* szGroupName);
@DllImport("WinSCard.dll")
int SCardRemoveReaderFromGroupA(uint hContext, const(char)* szReaderName, const(char)* szGroupName);
@DllImport("WinSCard.dll")
int SCardRemoveReaderFromGroupW(uint hContext, const(wchar)* szReaderName, const(wchar)* szGroupName);
@DllImport("WinSCard.dll")
int SCardIntroduceCardTypeA(uint hContext, const(char)* szCardName, Guid* pguidPrimaryProvider, Guid* rgguidInterfaces, uint dwInterfaceCount, ubyte* pbAtr, ubyte* pbAtrMask, uint cbAtrLen);
@DllImport("WinSCard.dll")
int SCardIntroduceCardTypeW(uint hContext, const(wchar)* szCardName, Guid* pguidPrimaryProvider, Guid* rgguidInterfaces, uint dwInterfaceCount, ubyte* pbAtr, ubyte* pbAtrMask, uint cbAtrLen);
@DllImport("WinSCard.dll")
int SCardSetCardTypeProviderNameA(uint hContext, const(char)* szCardName, uint dwProviderId, const(char)* szProvider);
@DllImport("WinSCard.dll")
int SCardSetCardTypeProviderNameW(uint hContext, const(wchar)* szCardName, uint dwProviderId, const(wchar)* szProvider);
@DllImport("WinSCard.dll")
int SCardForgetCardTypeA(uint hContext, const(char)* szCardName);
@DllImport("WinSCard.dll")
int SCardForgetCardTypeW(uint hContext, const(wchar)* szCardName);
@DllImport("WinSCard.dll")
int SCardFreeMemory(uint hContext, void* pvMem);
@DllImport("WinSCard.dll")
HANDLE SCardAccessStartedEvent();
@DllImport("WinSCard.dll")
void SCardReleaseStartedEvent();
@DllImport("WinSCard.dll")
int SCardLocateCardsA(uint hContext, const(char)* mszCards, SCARD_READERSTATEA* rgReaderStates, uint cReaders);
@DllImport("WinSCard.dll")
int SCardLocateCardsW(uint hContext, const(wchar)* mszCards, SCARD_READERSTATEW* rgReaderStates, uint cReaders);
@DllImport("WinSCard.dll")
int SCardLocateCardsByATRA(uint hContext, SCARD_ATRMASK* rgAtrMasks, uint cAtrs, SCARD_READERSTATEA* rgReaderStates, uint cReaders);
@DllImport("WinSCard.dll")
int SCardLocateCardsByATRW(uint hContext, SCARD_ATRMASK* rgAtrMasks, uint cAtrs, SCARD_READERSTATEW* rgReaderStates, uint cReaders);
@DllImport("WinSCard.dll")
int SCardGetStatusChangeA(uint hContext, uint dwTimeout, SCARD_READERSTATEA* rgReaderStates, uint cReaders);
@DllImport("WinSCard.dll")
int SCardGetStatusChangeW(uint hContext, uint dwTimeout, SCARD_READERSTATEW* rgReaderStates, uint cReaders);
@DllImport("WinSCard.dll")
int SCardCancel(uint hContext);
@DllImport("WinSCard.dll")
int SCardConnectA(uint hContext, const(char)* szReader, uint dwShareMode, uint dwPreferredProtocols, uint* phCard, uint* pdwActiveProtocol);
@DllImport("WinSCard.dll")
int SCardConnectW(uint hContext, const(wchar)* szReader, uint dwShareMode, uint dwPreferredProtocols, uint* phCard, uint* pdwActiveProtocol);
@DllImport("WinSCard.dll")
int SCardReconnect(uint hCard, uint dwShareMode, uint dwPreferredProtocols, uint dwInitialization, uint* pdwActiveProtocol);
@DllImport("WinSCard.dll")
int SCardDisconnect(uint hCard, uint dwDisposition);
@DllImport("WinSCard.dll")
int SCardBeginTransaction(uint hCard);
@DllImport("WinSCard.dll")
int SCardEndTransaction(uint hCard, uint dwDisposition);
@DllImport("WinSCard.dll")
int SCardState(uint hCard, uint* pdwState, uint* pdwProtocol, char* pbAtr, uint* pcbAtrLen);
@DllImport("WinSCard.dll")
int SCardStatusA(uint hCard, const(char)* mszReaderNames, uint* pcchReaderLen, uint* pdwState, uint* pdwProtocol, char* pbAtr, uint* pcbAtrLen);
@DllImport("WinSCard.dll")
int SCardStatusW(uint hCard, const(wchar)* mszReaderNames, uint* pcchReaderLen, uint* pdwState, uint* pdwProtocol, char* pbAtr, uint* pcbAtrLen);
@DllImport("WinSCard.dll")
int SCardTransmit(uint hCard, SCARD_IO_REQUEST* pioSendPci, char* pbSendBuffer, uint cbSendLength, SCARD_IO_REQUEST* pioRecvPci, char* pbRecvBuffer, uint* pcbRecvLength);
@DllImport("WinSCard.dll")
int SCardGetTransmitCount(uint hCard, uint* pcTransmitCount);
@DllImport("WinSCard.dll")
int SCardControl(uint hCard, uint dwControlCode, char* lpInBuffer, uint cbInBufferSize, char* lpOutBuffer, uint cbOutBufferSize, uint* lpBytesReturned);
@DllImport("WinSCard.dll")
int SCardGetAttrib(uint hCard, uint dwAttrId, char* pbAttr, uint* pcbAttrLen);
@DllImport("WinSCard.dll")
int SCardSetAttrib(uint hCard, uint dwAttrId, char* pbAttr, uint cbAttrLen);
@DllImport("SCARDDLG.dll")
int SCardUIDlgSelectCardA(OPENCARDNAME_EXA* param0);
@DllImport("SCARDDLG.dll")
int SCardUIDlgSelectCardW(OPENCARDNAME_EXW* param0);
@DllImport("SCARDDLG.dll")
int GetOpenCardNameA(OPENCARDNAMEA* param0);
@DllImport("SCARDDLG.dll")
int GetOpenCardNameW(OPENCARDNAMEW* param0);
@DllImport("SCARDDLG.dll")
int SCardDlgExtendedError();
@DllImport("WinSCard.dll")
int SCardReadCacheA(uint hContext, Guid* CardIdentifier, uint FreshnessCounter, const(char)* LookupName, char* Data, uint* DataLen);
@DllImport("WinSCard.dll")
int SCardReadCacheW(uint hContext, Guid* CardIdentifier, uint FreshnessCounter, const(wchar)* LookupName, char* Data, uint* DataLen);
@DllImport("WinSCard.dll")
int SCardWriteCacheA(uint hContext, Guid* CardIdentifier, uint FreshnessCounter, const(char)* LookupName, char* Data, uint DataLen);
@DllImport("WinSCard.dll")
int SCardWriteCacheW(uint hContext, Guid* CardIdentifier, uint FreshnessCounter, const(wchar)* LookupName, char* Data, uint DataLen);
@DllImport("WinSCard.dll")
int SCardGetReaderIconA(uint hContext, const(char)* szReaderName, char* pbIcon, uint* pcbIcon);
@DllImport("WinSCard.dll")
int SCardGetReaderIconW(uint hContext, const(wchar)* szReaderName, char* pbIcon, uint* pcbIcon);
@DllImport("WinSCard.dll")
int SCardGetDeviceTypeIdA(uint hContext, const(char)* szReaderName, uint* pdwDeviceTypeId);
@DllImport("WinSCard.dll")
int SCardGetDeviceTypeIdW(uint hContext, const(wchar)* szReaderName, uint* pdwDeviceTypeId);
@DllImport("WinSCard.dll")
int SCardGetReaderDeviceInstanceIdA(uint hContext, const(char)* szReaderName, const(char)* szDeviceInstanceId, uint* pcchDeviceInstanceId);
@DllImport("WinSCard.dll")
int SCardGetReaderDeviceInstanceIdW(uint hContext, const(wchar)* szReaderName, const(wchar)* szDeviceInstanceId, uint* pcchDeviceInstanceId);
@DllImport("WinSCard.dll")
int SCardListReadersWithDeviceInstanceIdA(uint hContext, const(char)* szDeviceInstanceId, const(char)* mszReaders, uint* pcchReaders);
@DllImport("WinSCard.dll")
int SCardListReadersWithDeviceInstanceIdW(uint hContext, const(wchar)* szDeviceInstanceId, const(wchar)* mszReaders, uint* pcchReaders);
@DllImport("WinSCard.dll")
int SCardAudit(uint hContext, uint dwEvent);
@DllImport("ADVAPI32.dll")
BOOL ChangeServiceConfig2A(SC_HANDLE__* hService, uint dwInfoLevel, void* lpInfo);
@DllImport("ADVAPI32.dll")
BOOL ChangeServiceConfig2W(SC_HANDLE__* hService, uint dwInfoLevel, void* lpInfo);
@DllImport("ADVAPI32.dll")
BOOL CloseServiceHandle(SC_HANDLE__* hSCObject);
@DllImport("ADVAPI32.dll")
BOOL ControlService(SC_HANDLE__* hService, uint dwControl, SERVICE_STATUS* lpServiceStatus);
@DllImport("ADVAPI32.dll")
BOOL DeleteService(SC_HANDLE__* hService);
@DllImport("ADVAPI32.dll")
BOOL EnumDependentServicesA(SC_HANDLE__* hService, uint dwServiceState, char* lpServices, uint cbBufSize, uint* pcbBytesNeeded, uint* lpServicesReturned);
@DllImport("ADVAPI32.dll")
BOOL EnumDependentServicesW(SC_HANDLE__* hService, uint dwServiceState, char* lpServices, uint cbBufSize, uint* pcbBytesNeeded, uint* lpServicesReturned);
@DllImport("ADVAPI32.dll")
BOOL EnumServicesStatusA(SC_HANDLE__* hSCManager, uint dwServiceType, uint dwServiceState, char* lpServices, uint cbBufSize, uint* pcbBytesNeeded, uint* lpServicesReturned, uint* lpResumeHandle);
@DllImport("ADVAPI32.dll")
BOOL EnumServicesStatusW(SC_HANDLE__* hSCManager, uint dwServiceType, uint dwServiceState, char* lpServices, uint cbBufSize, uint* pcbBytesNeeded, uint* lpServicesReturned, uint* lpResumeHandle);
@DllImport("ADVAPI32.dll")
BOOL EnumServicesStatusExA(SC_HANDLE__* hSCManager, SC_ENUM_TYPE InfoLevel, uint dwServiceType, uint dwServiceState, char* lpServices, uint cbBufSize, uint* pcbBytesNeeded, uint* lpServicesReturned, uint* lpResumeHandle, const(char)* pszGroupName);
@DllImport("ADVAPI32.dll")
BOOL EnumServicesStatusExW(SC_HANDLE__* hSCManager, SC_ENUM_TYPE InfoLevel, uint dwServiceType, uint dwServiceState, char* lpServices, uint cbBufSize, uint* pcbBytesNeeded, uint* lpServicesReturned, uint* lpResumeHandle, const(wchar)* pszGroupName);
@DllImport("ADVAPI32.dll")
BOOL GetServiceKeyNameA(SC_HANDLE__* hSCManager, const(char)* lpDisplayName, const(char)* lpServiceName, uint* lpcchBuffer);
@DllImport("ADVAPI32.dll")
BOOL GetServiceKeyNameW(SC_HANDLE__* hSCManager, const(wchar)* lpDisplayName, const(wchar)* lpServiceName, uint* lpcchBuffer);
@DllImport("ADVAPI32.dll")
BOOL GetServiceDisplayNameA(SC_HANDLE__* hSCManager, const(char)* lpServiceName, const(char)* lpDisplayName, uint* lpcchBuffer);
@DllImport("ADVAPI32.dll")
BOOL GetServiceDisplayNameW(SC_HANDLE__* hSCManager, const(wchar)* lpServiceName, const(wchar)* lpDisplayName, uint* lpcchBuffer);
@DllImport("ADVAPI32.dll")
void* LockServiceDatabase(SC_HANDLE__* hSCManager);
@DllImport("ADVAPI32.dll")
BOOL NotifyBootConfigStatus(BOOL BootAcceptable);
@DllImport("ADVAPI32.dll")
SC_HANDLE__* OpenSCManagerA(const(char)* lpMachineName, const(char)* lpDatabaseName, uint dwDesiredAccess);
@DllImport("ADVAPI32.dll")
SC_HANDLE__* OpenSCManagerW(const(wchar)* lpMachineName, const(wchar)* lpDatabaseName, uint dwDesiredAccess);
@DllImport("ADVAPI32.dll")
SC_HANDLE__* OpenServiceA(SC_HANDLE__* hSCManager, const(char)* lpServiceName, uint dwDesiredAccess);
@DllImport("ADVAPI32.dll")
SC_HANDLE__* OpenServiceW(SC_HANDLE__* hSCManager, const(wchar)* lpServiceName, uint dwDesiredAccess);
@DllImport("ADVAPI32.dll")
BOOL QueryServiceConfigA(SC_HANDLE__* hService, char* lpServiceConfig, uint cbBufSize, uint* pcbBytesNeeded);
@DllImport("ADVAPI32.dll")
BOOL QueryServiceConfigW(SC_HANDLE__* hService, char* lpServiceConfig, uint cbBufSize, uint* pcbBytesNeeded);
@DllImport("ADVAPI32.dll")
BOOL QueryServiceConfig2A(SC_HANDLE__* hService, uint dwInfoLevel, char* lpBuffer, uint cbBufSize, uint* pcbBytesNeeded);
@DllImport("ADVAPI32.dll")
BOOL QueryServiceConfig2W(SC_HANDLE__* hService, uint dwInfoLevel, char* lpBuffer, uint cbBufSize, uint* pcbBytesNeeded);
@DllImport("ADVAPI32.dll")
BOOL QueryServiceLockStatusA(SC_HANDLE__* hSCManager, char* lpLockStatus, uint cbBufSize, uint* pcbBytesNeeded);
@DllImport("ADVAPI32.dll")
BOOL QueryServiceLockStatusW(SC_HANDLE__* hSCManager, char* lpLockStatus, uint cbBufSize, uint* pcbBytesNeeded);
@DllImport("ADVAPI32.dll")
BOOL QueryServiceObjectSecurity(SC_HANDLE__* hService, uint dwSecurityInformation, char* lpSecurityDescriptor, uint cbBufSize, uint* pcbBytesNeeded);
@DllImport("ADVAPI32.dll")
BOOL QueryServiceStatus(SC_HANDLE__* hService, SERVICE_STATUS* lpServiceStatus);
@DllImport("ADVAPI32.dll")
BOOL QueryServiceStatusEx(SC_HANDLE__* hService, SC_STATUS_TYPE InfoLevel, char* lpBuffer, uint cbBufSize, uint* pcbBytesNeeded);
@DllImport("ADVAPI32.dll")
SERVICE_STATUS_HANDLE__* RegisterServiceCtrlHandlerA(const(char)* lpServiceName, LPHANDLER_FUNCTION lpHandlerProc);
@DllImport("ADVAPI32.dll")
SERVICE_STATUS_HANDLE__* RegisterServiceCtrlHandlerW(const(wchar)* lpServiceName, LPHANDLER_FUNCTION lpHandlerProc);
@DllImport("ADVAPI32.dll")
SERVICE_STATUS_HANDLE__* RegisterServiceCtrlHandlerExA(const(char)* lpServiceName, LPHANDLER_FUNCTION_EX lpHandlerProc, void* lpContext);
@DllImport("ADVAPI32.dll")
SERVICE_STATUS_HANDLE__* RegisterServiceCtrlHandlerExW(const(wchar)* lpServiceName, LPHANDLER_FUNCTION_EX lpHandlerProc, void* lpContext);
@DllImport("ADVAPI32.dll")
BOOL SetServiceObjectSecurity(SC_HANDLE__* hService, uint dwSecurityInformation, void* lpSecurityDescriptor);
@DllImport("ADVAPI32.dll")
BOOL SetServiceStatus(SERVICE_STATUS_HANDLE__* hServiceStatus, SERVICE_STATUS* lpServiceStatus);
@DllImport("ADVAPI32.dll")
BOOL StartServiceCtrlDispatcherA(const(SERVICE_TABLE_ENTRYA)* lpServiceStartTable);
@DllImport("ADVAPI32.dll")
BOOL StartServiceCtrlDispatcherW(const(SERVICE_TABLE_ENTRYW)* lpServiceStartTable);
@DllImport("ADVAPI32.dll")
BOOL StartServiceA(SC_HANDLE__* hService, uint dwNumServiceArgs, char* lpServiceArgVectors);
@DllImport("ADVAPI32.dll")
BOOL StartServiceW(SC_HANDLE__* hService, uint dwNumServiceArgs, char* lpServiceArgVectors);
@DllImport("ADVAPI32.dll")
BOOL UnlockServiceDatabase(void* ScLock);
@DllImport("ADVAPI32.dll")
uint NotifyServiceStatusChangeA(SC_HANDLE__* hService, uint dwNotifyMask, SERVICE_NOTIFY_2A* pNotifyBuffer);
@DllImport("ADVAPI32.dll")
uint NotifyServiceStatusChangeW(SC_HANDLE__* hService, uint dwNotifyMask, SERVICE_NOTIFY_2W* pNotifyBuffer);
@DllImport("ADVAPI32.dll")
BOOL ControlServiceExA(SC_HANDLE__* hService, uint dwControl, uint dwInfoLevel, void* pControlParams);
@DllImport("ADVAPI32.dll")
BOOL ControlServiceExW(SC_HANDLE__* hService, uint dwControl, uint dwInfoLevel, void* pControlParams);
@DllImport("ADVAPI32.dll")
BOOL QueryServiceDynamicInformation(SERVICE_STATUS_HANDLE__* hServiceStatus, uint dwInfoLevel, void** ppDynamicInfo);
@DllImport("ADVAPI32.dll")
uint WaitServiceState(SC_HANDLE__* hService, uint dwNotify, uint dwTimeout, HANDLE hCancelEvent);
@DllImport("api-ms-win-service-core-l1-1-3.dll")
uint GetServiceRegistryStateKey(SERVICE_STATUS_HANDLE__* ServiceStatusHandle, SERVICE_REGISTRY_STATE_TYPE StateType, uint AccessMask, HKEY* ServiceStateKey);
@DllImport("api-ms-win-service-core-l1-1-4.dll")
uint GetServiceDirectory(SERVICE_STATUS_HANDLE__* hServiceStatus, SERVICE_DIRECTORY_TYPE eDirectoryType, const(wchar)* lpPathBuffer, uint cchPathBufferLength, uint* lpcchRequiredBufferLength);
@DllImport("SspiCli.dll")
NTSTATUS LsaRegisterLogonProcess(STRING* LogonProcessName, LsaHandle* LsaHandle, uint* SecurityMode);
@DllImport("SspiCli.dll")
NTSTATUS LsaLogonUser(HANDLE LsaHandle, STRING* OriginName, SECURITY_LOGON_TYPE LogonType, uint AuthenticationPackage, char* AuthenticationInformation, uint AuthenticationInformationLength, TOKEN_GROUPS* LocalGroups, TOKEN_SOURCE* SourceContext, void** ProfileBuffer, uint* ProfileBufferLength, LUID* LogonId, int* Token, QUOTA_LIMITS* Quotas, int* SubStatus);
@DllImport("SspiCli.dll")
NTSTATUS LsaLookupAuthenticationPackage(HANDLE LsaHandle, STRING* PackageName, uint* AuthenticationPackage);
@DllImport("SspiCli.dll")
NTSTATUS LsaFreeReturnBuffer(void* Buffer);
@DllImport("SspiCli.dll")
NTSTATUS LsaCallAuthenticationPackage(HANDLE LsaHandle, uint AuthenticationPackage, char* ProtocolSubmitBuffer, uint SubmitBufferLength, void** ProtocolReturnBuffer, uint* ReturnBufferLength, int* ProtocolStatus);
@DllImport("SspiCli.dll")
NTSTATUS LsaDeregisterLogonProcess(HANDLE LsaHandle);
@DllImport("SspiCli.dll")
NTSTATUS LsaConnectUntrusted(int* LsaHandle);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaFreeMemory(void* Buffer);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaClose(void* ObjectHandle);
@DllImport("SspiCli.dll")
NTSTATUS LsaEnumerateLogonSessions(uint* LogonSessionCount, LUID** LogonSessionList);
@DllImport("SspiCli.dll")
NTSTATUS LsaGetLogonSessionData(LUID* LogonId, SECURITY_LOGON_SESSION_DATA** ppLogonSessionData);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaOpenPolicy(UNICODE_STRING* SystemName, OBJECT_ATTRIBUTES* ObjectAttributes, uint DesiredAccess, void** PolicyHandle);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaSetCAPs(char* CAPDNs, uint CAPDNCount, uint Flags);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaGetAppliedCAPIDs(UNICODE_STRING* SystemName, void*** CAPIDs, uint* CAPIDCount);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaQueryCAPs(char* CAPIDs, uint CAPIDCount, CENTRAL_ACCESS_POLICY** CAPs, uint* CAPCount);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaQueryInformationPolicy(void* PolicyHandle, POLICY_INFORMATION_CLASS InformationClass, void** Buffer);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaSetInformationPolicy(void* PolicyHandle, POLICY_INFORMATION_CLASS InformationClass, void* Buffer);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaQueryDomainInformationPolicy(void* PolicyHandle, POLICY_DOMAIN_INFORMATION_CLASS InformationClass, void** Buffer);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaSetDomainInformationPolicy(void* PolicyHandle, POLICY_DOMAIN_INFORMATION_CLASS InformationClass, void* Buffer);
@DllImport("SspiCli.dll")
NTSTATUS LsaRegisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass, HANDLE NotificationEventHandle);
@DllImport("SspiCli.dll")
NTSTATUS LsaUnregisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass, HANDLE NotificationEventHandle);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaEnumerateTrustedDomains(void* PolicyHandle, uint* EnumerationContext, void** Buffer, uint PreferedMaximumLength, uint* CountReturned);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaLookupNames(void* PolicyHandle, uint Count, UNICODE_STRING* Names, LSA_REFERENCED_DOMAIN_LIST** ReferencedDomains, LSA_TRANSLATED_SID** Sids);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaLookupNames2(void* PolicyHandle, uint Flags, uint Count, UNICODE_STRING* Names, LSA_REFERENCED_DOMAIN_LIST** ReferencedDomains, LSA_TRANSLATED_SID2** Sids);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaLookupSids(void* PolicyHandle, uint Count, void** Sids, LSA_REFERENCED_DOMAIN_LIST** ReferencedDomains, LSA_TRANSLATED_NAME** Names);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaLookupSids2(void* PolicyHandle, uint LookupOptions, uint Count, void** Sids, LSA_REFERENCED_DOMAIN_LIST** ReferencedDomains, LSA_TRANSLATED_NAME** Names);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaEnumerateAccountsWithUserRight(void* PolicyHandle, UNICODE_STRING* UserRight, void** Buffer, uint* CountReturned);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaEnumerateAccountRights(void* PolicyHandle, void* AccountSid, UNICODE_STRING** UserRights, uint* CountOfRights);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaAddAccountRights(void* PolicyHandle, void* AccountSid, char* UserRights, uint CountOfRights);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaRemoveAccountRights(void* PolicyHandle, void* AccountSid, ubyte AllRights, char* UserRights, uint CountOfRights);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaOpenTrustedDomainByName(void* PolicyHandle, UNICODE_STRING* TrustedDomainName, uint DesiredAccess, void** TrustedDomainHandle);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaQueryTrustedDomainInfo(void* PolicyHandle, void* TrustedDomainSid, TRUSTED_INFORMATION_CLASS InformationClass, void** Buffer);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaSetTrustedDomainInformation(void* PolicyHandle, void* TrustedDomainSid, TRUSTED_INFORMATION_CLASS InformationClass, void* Buffer);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaDeleteTrustedDomain(void* PolicyHandle, void* TrustedDomainSid);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaQueryTrustedDomainInfoByName(void* PolicyHandle, UNICODE_STRING* TrustedDomainName, TRUSTED_INFORMATION_CLASS InformationClass, void** Buffer);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaSetTrustedDomainInfoByName(void* PolicyHandle, UNICODE_STRING* TrustedDomainName, TRUSTED_INFORMATION_CLASS InformationClass, void* Buffer);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaEnumerateTrustedDomainsEx(void* PolicyHandle, uint* EnumerationContext, void** Buffer, uint PreferedMaximumLength, uint* CountReturned);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaCreateTrustedDomainEx(void* PolicyHandle, TRUSTED_DOMAIN_INFORMATION_EX* TrustedDomainInformation, TRUSTED_DOMAIN_AUTH_INFORMATION* AuthenticationInformation, uint DesiredAccess, void** TrustedDomainHandle);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaQueryForestTrustInformation(void* PolicyHandle, UNICODE_STRING* TrustedDomainName, LSA_FOREST_TRUST_INFORMATION** ForestTrustInfo);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaSetForestTrustInformation(void* PolicyHandle, UNICODE_STRING* TrustedDomainName, LSA_FOREST_TRUST_INFORMATION* ForestTrustInfo, ubyte CheckOnly, LSA_FOREST_TRUST_COLLISION_INFORMATION** CollisionInfo);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaStorePrivateData(void* PolicyHandle, UNICODE_STRING* KeyName, UNICODE_STRING* PrivateData);
@DllImport("ADVAPI32.dll")
NTSTATUS LsaRetrievePrivateData(void* PolicyHandle, UNICODE_STRING* KeyName, UNICODE_STRING** PrivateData);
@DllImport("ADVAPI32.dll")
uint LsaNtStatusToWinError(NTSTATUS Status);
@DllImport("ADVAPI32.dll")
ubyte SystemFunction036(char* RandomBuffer, uint RandomBufferLength);
@DllImport("ADVAPI32.dll")
NTSTATUS SystemFunction040(char* Memory, uint MemorySize, uint OptionFlags);
@DllImport("ADVAPI32.dll")
NTSTATUS SystemFunction041(char* Memory, uint MemorySize, uint OptionFlags);
@DllImport("ADVAPI32.dll")
ubyte AuditSetSystemPolicy(char* pAuditPolicy, uint dwPolicyCount);
@DllImport("ADVAPI32.dll")
ubyte AuditSetPerUserPolicy(const(void)* pSid, char* pAuditPolicy, uint dwPolicyCount);
@DllImport("ADVAPI32.dll")
ubyte AuditQuerySystemPolicy(char* pSubCategoryGuids, uint dwPolicyCount, AUDIT_POLICY_INFORMATION** ppAuditPolicy);
@DllImport("ADVAPI32.dll")
ubyte AuditQueryPerUserPolicy(const(void)* pSid, char* pSubCategoryGuids, uint dwPolicyCount, AUDIT_POLICY_INFORMATION** ppAuditPolicy);
@DllImport("ADVAPI32.dll")
ubyte AuditEnumeratePerUserPolicy(POLICY_AUDIT_SID_ARRAY** ppAuditSidArray);
@DllImport("ADVAPI32.dll")
ubyte AuditComputeEffectivePolicyBySid(const(void)* pSid, char* pSubCategoryGuids, uint dwPolicyCount, AUDIT_POLICY_INFORMATION** ppAuditPolicy);
@DllImport("ADVAPI32.dll")
ubyte AuditComputeEffectivePolicyByToken(HANDLE hTokenHandle, char* pSubCategoryGuids, uint dwPolicyCount, AUDIT_POLICY_INFORMATION** ppAuditPolicy);
@DllImport("ADVAPI32.dll")
ubyte AuditEnumerateCategories(Guid** ppAuditCategoriesArray, uint* pdwCountReturned);
@DllImport("ADVAPI32.dll")
ubyte AuditEnumerateSubCategories(const(Guid)* pAuditCategoryGuid, ubyte bRetrieveAllSubCategories, Guid** ppAuditSubCategoriesArray, uint* pdwCountReturned);
@DllImport("ADVAPI32.dll")
ubyte AuditLookupCategoryNameW(const(Guid)* pAuditCategoryGuid, ushort** ppszCategoryName);
@DllImport("ADVAPI32.dll")
ubyte AuditLookupCategoryNameA(const(Guid)* pAuditCategoryGuid, byte** ppszCategoryName);
@DllImport("ADVAPI32.dll")
ubyte AuditLookupSubCategoryNameW(const(Guid)* pAuditSubCategoryGuid, ushort** ppszSubCategoryName);
@DllImport("ADVAPI32.dll")
ubyte AuditLookupSubCategoryNameA(const(Guid)* pAuditSubCategoryGuid, byte** ppszSubCategoryName);
@DllImport("ADVAPI32.dll")
ubyte AuditLookupCategoryIdFromCategoryGuid(const(Guid)* pAuditCategoryGuid, POLICY_AUDIT_EVENT_TYPE* pAuditCategoryId);
@DllImport("ADVAPI32.dll")
ubyte AuditLookupCategoryGuidFromCategoryId(POLICY_AUDIT_EVENT_TYPE AuditCategoryId, Guid* pAuditCategoryGuid);
@DllImport("ADVAPI32.dll")
ubyte AuditSetSecurity(uint SecurityInformation, void* pSecurityDescriptor);
@DllImport("ADVAPI32.dll")
ubyte AuditQuerySecurity(uint SecurityInformation, void** ppSecurityDescriptor);
@DllImport("ADVAPI32.dll")
ubyte AuditSetGlobalSaclW(const(wchar)* ObjectTypeName, ACL* Acl);
@DllImport("ADVAPI32.dll")
ubyte AuditSetGlobalSaclA(const(char)* ObjectTypeName, ACL* Acl);
@DllImport("ADVAPI32.dll")
ubyte AuditQueryGlobalSaclW(const(wchar)* ObjectTypeName, ACL** Acl);
@DllImport("ADVAPI32.dll")
ubyte AuditQueryGlobalSaclA(const(char)* ObjectTypeName, ACL** Acl);
@DllImport("ADVAPI32.dll")
void AuditFree(void* Buffer);
@DllImport("SspiCli.dll")
int AcquireCredentialsHandleW(const(wchar)* pszPrincipal, const(wchar)* pszPackage, uint fCredentialUse, void* pvLogonId, void* pAuthData, SEC_GET_KEY_FN pGetKeyFn, void* pvGetKeyArgument, SecHandle* phCredential, LARGE_INTEGER* ptsExpiry);
@DllImport("SspiCli.dll")
int AcquireCredentialsHandleA(const(char)* pszPrincipal, const(char)* pszPackage, uint fCredentialUse, void* pvLogonId, void* pAuthData, SEC_GET_KEY_FN pGetKeyFn, void* pvGetKeyArgument, SecHandle* phCredential, LARGE_INTEGER* ptsExpiry);
@DllImport("SspiCli.dll")
int FreeCredentialsHandle(SecHandle* phCredential);
@DllImport("SspiCli.dll")
int AddCredentialsW(SecHandle* hCredentials, const(wchar)* pszPrincipal, const(wchar)* pszPackage, uint fCredentialUse, void* pAuthData, SEC_GET_KEY_FN pGetKeyFn, void* pvGetKeyArgument, LARGE_INTEGER* ptsExpiry);
@DllImport("SspiCli.dll")
int AddCredentialsA(SecHandle* hCredentials, const(char)* pszPrincipal, const(char)* pszPackage, uint fCredentialUse, void* pAuthData, SEC_GET_KEY_FN pGetKeyFn, void* pvGetKeyArgument, LARGE_INTEGER* ptsExpiry);
@DllImport("SspiCli.dll")
int ChangeAccountPasswordW(ushort* pszPackageName, ushort* pszDomainName, ushort* pszAccountName, ushort* pszOldPassword, ushort* pszNewPassword, ubyte bImpersonating, uint dwReserved, SecBufferDesc* pOutput);
@DllImport("SspiCli.dll")
int ChangeAccountPasswordA(byte* pszPackageName, byte* pszDomainName, byte* pszAccountName, byte* pszOldPassword, byte* pszNewPassword, ubyte bImpersonating, uint dwReserved, SecBufferDesc* pOutput);
@DllImport("SspiCli.dll")
int InitializeSecurityContextW(SecHandle* phCredential, SecHandle* phContext, ushort* pszTargetName, uint fContextReq, uint Reserved1, uint TargetDataRep, SecBufferDesc* pInput, uint Reserved2, SecHandle* phNewContext, SecBufferDesc* pOutput, uint* pfContextAttr, LARGE_INTEGER* ptsExpiry);
@DllImport("SspiCli.dll")
int InitializeSecurityContextA(SecHandle* phCredential, SecHandle* phContext, byte* pszTargetName, uint fContextReq, uint Reserved1, uint TargetDataRep, SecBufferDesc* pInput, uint Reserved2, SecHandle* phNewContext, SecBufferDesc* pOutput, uint* pfContextAttr, LARGE_INTEGER* ptsExpiry);
@DllImport("SspiCli.dll")
int AcceptSecurityContext(SecHandle* phCredential, SecHandle* phContext, SecBufferDesc* pInput, uint fContextReq, uint TargetDataRep, SecHandle* phNewContext, SecBufferDesc* pOutput, uint* pfContextAttr, LARGE_INTEGER* ptsExpiry);
@DllImport("SspiCli.dll")
int CompleteAuthToken(SecHandle* phContext, SecBufferDesc* pToken);
@DllImport("SspiCli.dll")
int ImpersonateSecurityContext(SecHandle* phContext);
@DllImport("SspiCli.dll")
int RevertSecurityContext(SecHandle* phContext);
@DllImport("SspiCli.dll")
int QuerySecurityContextToken(SecHandle* phContext, void** Token);
@DllImport("SspiCli.dll")
int DeleteSecurityContext(SecHandle* phContext);
@DllImport("SspiCli.dll")
int ApplyControlToken(SecHandle* phContext, SecBufferDesc* pInput);
@DllImport("SspiCli.dll")
int QueryContextAttributesW(SecHandle* phContext, uint ulAttribute, void* pBuffer);
@DllImport("SspiCli.dll")
int QueryContextAttributesExW(SecHandle* phContext, uint ulAttribute, char* pBuffer, uint cbBuffer);
@DllImport("SspiCli.dll")
int QueryContextAttributesA(SecHandle* phContext, uint ulAttribute, void* pBuffer);
@DllImport("SspiCli.dll")
int QueryContextAttributesExA(SecHandle* phContext, uint ulAttribute, char* pBuffer, uint cbBuffer);
@DllImport("SspiCli.dll")
int SetContextAttributesW(SecHandle* phContext, uint ulAttribute, char* pBuffer, uint cbBuffer);
@DllImport("SspiCli.dll")
int SetContextAttributesA(SecHandle* phContext, uint ulAttribute, char* pBuffer, uint cbBuffer);
@DllImport("SspiCli.dll")
int QueryCredentialsAttributesW(SecHandle* phCredential, uint ulAttribute, void* pBuffer);
@DllImport("SspiCli.dll")
int QueryCredentialsAttributesExW(SecHandle* phCredential, uint ulAttribute, char* pBuffer, uint cbBuffer);
@DllImport("SspiCli.dll")
int QueryCredentialsAttributesA(SecHandle* phCredential, uint ulAttribute, void* pBuffer);
@DllImport("SspiCli.dll")
int QueryCredentialsAttributesExA(SecHandle* phCredential, uint ulAttribute, char* pBuffer, uint cbBuffer);
@DllImport("SspiCli.dll")
int SetCredentialsAttributesW(SecHandle* phCredential, uint ulAttribute, char* pBuffer, uint cbBuffer);
@DllImport("SspiCli.dll")
int SetCredentialsAttributesA(SecHandle* phCredential, uint ulAttribute, char* pBuffer, uint cbBuffer);
@DllImport("SspiCli.dll")
int FreeContextBuffer(void* pvContextBuffer);
@DllImport("SspiCli.dll")
int MakeSignature(SecHandle* phContext, uint fQOP, SecBufferDesc* pMessage, uint MessageSeqNo);
@DllImport("SspiCli.dll")
int VerifySignature(SecHandle* phContext, SecBufferDesc* pMessage, uint MessageSeqNo, uint* pfQOP);
@DllImport("SspiCli.dll")
int EncryptMessage(SecHandle* phContext, uint fQOP, SecBufferDesc* pMessage, uint MessageSeqNo);
@DllImport("SspiCli.dll")
int DecryptMessage(SecHandle* phContext, SecBufferDesc* pMessage, uint MessageSeqNo, uint* pfQOP);
@DllImport("SspiCli.dll")
int EnumerateSecurityPackagesW(uint* pcPackages, SecPkgInfoW** ppPackageInfo);
@DllImport("SspiCli.dll")
int EnumerateSecurityPackagesA(uint* pcPackages, SecPkgInfoA** ppPackageInfo);
@DllImport("SspiCli.dll")
int QuerySecurityPackageInfoW(const(wchar)* pszPackageName, SecPkgInfoW** ppPackageInfo);
@DllImport("SspiCli.dll")
int QuerySecurityPackageInfoA(const(char)* pszPackageName, SecPkgInfoA** ppPackageInfo);
@DllImport("SspiCli.dll")
int ExportSecurityContext(SecHandle* phContext, uint fFlags, SecBuffer* pPackedContext, void** pToken);
@DllImport("SspiCli.dll")
int ImportSecurityContextW(const(wchar)* pszPackage, SecBuffer* pPackedContext, void* Token, SecHandle* phContext);
@DllImport("SspiCli.dll")
int ImportSecurityContextA(const(char)* pszPackage, SecBuffer* pPackedContext, void* Token, SecHandle* phContext);
@DllImport("SspiCli.dll")
SecurityFunctionTableA* InitSecurityInterfaceA();
@DllImport("SspiCli.dll")
SecurityFunctionTableW* InitSecurityInterfaceW();
@DllImport("SspiCli.dll")
int SaslEnumerateProfilesA(byte** ProfileList, uint* ProfileCount);
@DllImport("SspiCli.dll")
int SaslEnumerateProfilesW(ushort** ProfileList, uint* ProfileCount);
@DllImport("SspiCli.dll")
int SaslGetProfilePackageA(const(char)* ProfileName, SecPkgInfoA** PackageInfo);
@DllImport("SspiCli.dll")
int SaslGetProfilePackageW(const(wchar)* ProfileName, SecPkgInfoW** PackageInfo);
@DllImport("SspiCli.dll")
int SaslIdentifyPackageA(SecBufferDesc* pInput, SecPkgInfoA** PackageInfo);
@DllImport("SspiCli.dll")
int SaslIdentifyPackageW(SecBufferDesc* pInput, SecPkgInfoW** PackageInfo);
@DllImport("SspiCli.dll")
int SaslInitializeSecurityContextW(SecHandle* phCredential, SecHandle* phContext, const(wchar)* pszTargetName, uint fContextReq, uint Reserved1, uint TargetDataRep, SecBufferDesc* pInput, uint Reserved2, SecHandle* phNewContext, SecBufferDesc* pOutput, uint* pfContextAttr, LARGE_INTEGER* ptsExpiry);
@DllImport("SspiCli.dll")
int SaslInitializeSecurityContextA(SecHandle* phCredential, SecHandle* phContext, const(char)* pszTargetName, uint fContextReq, uint Reserved1, uint TargetDataRep, SecBufferDesc* pInput, uint Reserved2, SecHandle* phNewContext, SecBufferDesc* pOutput, uint* pfContextAttr, LARGE_INTEGER* ptsExpiry);
@DllImport("SspiCli.dll")
int SaslAcceptSecurityContext(SecHandle* phCredential, SecHandle* phContext, SecBufferDesc* pInput, uint fContextReq, uint TargetDataRep, SecHandle* phNewContext, SecBufferDesc* pOutput, uint* pfContextAttr, LARGE_INTEGER* ptsExpiry);
@DllImport("SspiCli.dll")
int SaslSetContextOption(SecHandle* ContextHandle, uint Option, void* Value, uint Size);
@DllImport("SspiCli.dll")
int SaslGetContextOption(SecHandle* ContextHandle, uint Option, void* Value, uint Size, uint* Needed);
@DllImport("credui.dll")
uint SspiPromptForCredentialsW(const(wchar)* pszTargetName, void* pUiInfo, uint dwAuthError, const(wchar)* pszPackage, void* pInputAuthIdentity, void** ppAuthIdentity, int* pfSave, uint dwFlags);
@DllImport("credui.dll")
uint SspiPromptForCredentialsA(const(char)* pszTargetName, void* pUiInfo, uint dwAuthError, const(char)* pszPackage, void* pInputAuthIdentity, void** ppAuthIdentity, int* pfSave, uint dwFlags);
@DllImport("SspiCli.dll")
int SspiPrepareForCredRead(void* AuthIdentity, const(wchar)* pszTargetName, uint* pCredmanCredentialType, ushort** ppszCredmanTargetName);
@DllImport("SspiCli.dll")
int SspiPrepareForCredWrite(void* AuthIdentity, const(wchar)* pszTargetName, uint* pCredmanCredentialType, ushort** ppszCredmanTargetName, ushort** ppszCredmanUserName, ubyte** ppCredentialBlob, uint* pCredentialBlobSize);
@DllImport("SspiCli.dll")
int SspiEncryptAuthIdentity(void* AuthData);
@DllImport("SspiCli.dll")
int SspiEncryptAuthIdentityEx(uint Options, void* AuthData);
@DllImport("SspiCli.dll")
int SspiDecryptAuthIdentity(void* EncryptedAuthData);
@DllImport("SspiCli.dll")
int SspiDecryptAuthIdentityEx(uint Options, void* EncryptedAuthData);
@DllImport("SspiCli.dll")
ubyte SspiIsAuthIdentityEncrypted(void* EncryptedAuthData);
@DllImport("SspiCli.dll")
int SspiEncodeAuthIdentityAsStrings(void* pAuthIdentity, ushort** ppszUserName, ushort** ppszDomainName, ushort** ppszPackedCredentialsString);
@DllImport("SspiCli.dll")
int SspiValidateAuthIdentity(void* AuthData);
@DllImport("SspiCli.dll")
int SspiCopyAuthIdentity(void* AuthData, void** AuthDataCopy);
@DllImport("SspiCli.dll")
void SspiFreeAuthIdentity(void* AuthData);
@DllImport("SspiCli.dll")
void SspiZeroAuthIdentity(void* AuthData);
@DllImport("SspiCli.dll")
void SspiLocalFree(void* DataBuffer);
@DllImport("SspiCli.dll")
int SspiEncodeStringsAsAuthIdentity(const(wchar)* pszUserName, const(wchar)* pszDomainName, const(wchar)* pszPackedCredentialsString, void** ppAuthIdentity);
@DllImport("SspiCli.dll")
int SspiCompareAuthIdentities(void* AuthIdentity1, void* AuthIdentity2, ubyte* SameSuppliedUser, ubyte* SameSuppliedIdentity);
@DllImport("SspiCli.dll")
int SspiMarshalAuthIdentity(void* AuthIdentity, uint* AuthIdentityLength, byte** AuthIdentityByteArray);
@DllImport("SspiCli.dll")
int SspiUnmarshalAuthIdentity(uint AuthIdentityLength, char* AuthIdentityByteArray, void** ppAuthIdentity);
@DllImport("credui.dll")
ubyte SspiIsPromptingNeeded(uint ErrorOrNtStatus);
@DllImport("SspiCli.dll")
int SspiGetTargetHostName(const(wchar)* pszTargetName, ushort** pszHostName);
@DllImport("SspiCli.dll")
int SspiExcludePackage(void* AuthIdentity, const(wchar)* pszPackageName, void** ppNewAuthIdentity);
@DllImport("SspiCli.dll")
int AddSecurityPackageA(const(char)* pszPackageName, SECURITY_PACKAGE_OPTIONS* pOptions);
@DllImport("SspiCli.dll")
int AddSecurityPackageW(const(wchar)* pszPackageName, SECURITY_PACKAGE_OPTIONS* pOptions);
@DllImport("SspiCli.dll")
int DeleteSecurityPackageA(const(char)* pszPackageName);
@DllImport("SspiCli.dll")
int DeleteSecurityPackageW(const(wchar)* pszPackageName);
@DllImport("ADVAPI32.dll")
BOOL CredWriteW(CREDENTIALW* Credential, uint Flags);
@DllImport("ADVAPI32.dll")
BOOL CredWriteA(CREDENTIALA* Credential, uint Flags);
@DllImport("ADVAPI32.dll")
BOOL CredReadW(const(wchar)* TargetName, uint Type, uint Flags, CREDENTIALW** Credential);
@DllImport("ADVAPI32.dll")
BOOL CredReadA(const(char)* TargetName, uint Type, uint Flags, CREDENTIALA** Credential);
@DllImport("ADVAPI32.dll")
BOOL CredEnumerateW(const(wchar)* Filter, uint Flags, uint* Count, CREDENTIALW*** Credential);
@DllImport("ADVAPI32.dll")
BOOL CredEnumerateA(const(char)* Filter, uint Flags, uint* Count, CREDENTIALA*** Credential);
@DllImport("ADVAPI32.dll")
BOOL CredWriteDomainCredentialsW(CREDENTIAL_TARGET_INFORMATIONW* TargetInfo, CREDENTIALW* Credential, uint Flags);
@DllImport("ADVAPI32.dll")
BOOL CredWriteDomainCredentialsA(CREDENTIAL_TARGET_INFORMATIONA* TargetInfo, CREDENTIALA* Credential, uint Flags);
@DllImport("ADVAPI32.dll")
BOOL CredReadDomainCredentialsW(CREDENTIAL_TARGET_INFORMATIONW* TargetInfo, uint Flags, uint* Count, CREDENTIALW*** Credential);
@DllImport("ADVAPI32.dll")
BOOL CredReadDomainCredentialsA(CREDENTIAL_TARGET_INFORMATIONA* TargetInfo, uint Flags, uint* Count, CREDENTIALA*** Credential);
@DllImport("ADVAPI32.dll")
BOOL CredDeleteW(const(wchar)* TargetName, uint Type, uint Flags);
@DllImport("ADVAPI32.dll")
BOOL CredDeleteA(const(char)* TargetName, uint Type, uint Flags);
@DllImport("ADVAPI32.dll")
BOOL CredRenameW(const(wchar)* OldTargetName, const(wchar)* NewTargetName, uint Type, uint Flags);
@DllImport("ADVAPI32.dll")
BOOL CredRenameA(const(char)* OldTargetName, const(char)* NewTargetName, uint Type, uint Flags);
@DllImport("ADVAPI32.dll")
BOOL CredGetTargetInfoW(const(wchar)* TargetName, uint Flags, CREDENTIAL_TARGET_INFORMATIONW** TargetInfo);
@DllImport("ADVAPI32.dll")
BOOL CredGetTargetInfoA(const(char)* TargetName, uint Flags, CREDENTIAL_TARGET_INFORMATIONA** TargetInfo);
@DllImport("ADVAPI32.dll")
BOOL CredMarshalCredentialW(CRED_MARSHAL_TYPE CredType, void* Credential, ushort** MarshaledCredential);
@DllImport("ADVAPI32.dll")
BOOL CredMarshalCredentialA(CRED_MARSHAL_TYPE CredType, void* Credential, byte** MarshaledCredential);
@DllImport("ADVAPI32.dll")
BOOL CredUnmarshalCredentialW(const(wchar)* MarshaledCredential, CRED_MARSHAL_TYPE* CredType, void** Credential);
@DllImport("ADVAPI32.dll")
BOOL CredUnmarshalCredentialA(const(char)* MarshaledCredential, CRED_MARSHAL_TYPE* CredType, void** Credential);
@DllImport("ADVAPI32.dll")
BOOL CredIsMarshaledCredentialW(const(wchar)* MarshaledCredential);
@DllImport("ADVAPI32.dll")
BOOL CredIsMarshaledCredentialA(const(char)* MarshaledCredential);
@DllImport("credui.dll")
BOOL CredUnPackAuthenticationBufferW(uint dwFlags, char* pAuthBuffer, uint cbAuthBuffer, const(wchar)* pszUserName, uint* pcchMaxUserName, const(wchar)* pszDomainName, uint* pcchMaxDomainName, const(wchar)* pszPassword, uint* pcchMaxPassword);
@DllImport("credui.dll")
BOOL CredUnPackAuthenticationBufferA(uint dwFlags, char* pAuthBuffer, uint cbAuthBuffer, const(char)* pszUserName, uint* pcchlMaxUserName, const(char)* pszDomainName, uint* pcchMaxDomainName, const(char)* pszPassword, uint* pcchMaxPassword);
@DllImport("credui.dll")
BOOL CredPackAuthenticationBufferW(uint dwFlags, const(wchar)* pszUserName, const(wchar)* pszPassword, char* pPackedCredentials, uint* pcbPackedCredentials);
@DllImport("credui.dll")
BOOL CredPackAuthenticationBufferA(uint dwFlags, const(char)* pszUserName, const(char)* pszPassword, char* pPackedCredentials, uint* pcbPackedCredentials);
@DllImport("ADVAPI32.dll")
BOOL CredProtectW(BOOL fAsSelf, const(wchar)* pszCredentials, uint cchCredentials, const(wchar)* pszProtectedCredentials, uint* pcchMaxChars, CRED_PROTECTION_TYPE* ProtectionType);
@DllImport("ADVAPI32.dll")
BOOL CredProtectA(BOOL fAsSelf, const(char)* pszCredentials, uint cchCredentials, const(char)* pszProtectedCredentials, uint* pcchMaxChars, CRED_PROTECTION_TYPE* ProtectionType);
@DllImport("ADVAPI32.dll")
BOOL CredUnprotectW(BOOL fAsSelf, const(wchar)* pszProtectedCredentials, uint cchProtectedCredentials, const(wchar)* pszCredentials, uint* pcchMaxChars);
@DllImport("ADVAPI32.dll")
BOOL CredUnprotectA(BOOL fAsSelf, const(char)* pszProtectedCredentials, uint cchProtectedCredentials, const(char)* pszCredentials, uint* pcchMaxChars);
@DllImport("ADVAPI32.dll")
BOOL CredIsProtectedW(const(wchar)* pszProtectedCredentials, CRED_PROTECTION_TYPE* pProtectionType);
@DllImport("ADVAPI32.dll")
BOOL CredIsProtectedA(const(char)* pszProtectedCredentials, CRED_PROTECTION_TYPE* pProtectionType);
@DllImport("ADVAPI32.dll")
BOOL CredFindBestCredentialW(const(wchar)* TargetName, uint Type, uint Flags, CREDENTIALW** Credential);
@DllImport("ADVAPI32.dll")
BOOL CredFindBestCredentialA(const(char)* TargetName, uint Type, uint Flags, CREDENTIALA** Credential);
@DllImport("ADVAPI32.dll")
BOOL CredGetSessionTypes(uint MaximumPersistCount, char* MaximumPersist);
@DllImport("ADVAPI32.dll")
void CredFree(void* Buffer);
@DllImport("credui.dll")
uint CredUIPromptForCredentialsW(CREDUI_INFOW* pUiInfo, const(wchar)* pszTargetName, SecHandle* pContext, uint dwAuthError, const(wchar)* pszUserName, uint ulUserNameBufferSize, const(wchar)* pszPassword, uint ulPasswordBufferSize, int* save, uint dwFlags);
@DllImport("credui.dll")
uint CredUIPromptForCredentialsA(CREDUI_INFOA* pUiInfo, const(char)* pszTargetName, SecHandle* pContext, uint dwAuthError, const(char)* pszUserName, uint ulUserNameBufferSize, const(char)* pszPassword, uint ulPasswordBufferSize, int* save, uint dwFlags);
@DllImport("credui.dll")
uint CredUIPromptForWindowsCredentialsW(CREDUI_INFOW* pUiInfo, uint dwAuthError, uint* pulAuthPackage, char* pvInAuthBuffer, uint ulInAuthBufferSize, char* ppvOutAuthBuffer, uint* pulOutAuthBufferSize, int* pfSave, uint dwFlags);
@DllImport("credui.dll")
uint CredUIPromptForWindowsCredentialsA(CREDUI_INFOA* pUiInfo, uint dwAuthError, uint* pulAuthPackage, char* pvInAuthBuffer, uint ulInAuthBufferSize, char* ppvOutAuthBuffer, uint* pulOutAuthBufferSize, int* pfSave, uint dwFlags);
@DllImport("credui.dll")
uint CredUIParseUserNameW(const(wchar)* UserName, char* user, uint userBufferSize, char* domain, uint domainBufferSize);
@DllImport("credui.dll")
uint CredUIParseUserNameA(const(char)* userName, char* user, uint userBufferSize, char* domain, uint domainBufferSize);
@DllImport("credui.dll")
uint CredUICmdLinePromptForCredentialsW(const(wchar)* pszTargetName, SecHandle* pContext, uint dwAuthError, const(wchar)* UserName, uint ulUserBufferSize, const(wchar)* pszPassword, uint ulPasswordBufferSize, int* pfSave, uint dwFlags);
@DllImport("credui.dll")
uint CredUICmdLinePromptForCredentialsA(const(char)* pszTargetName, SecHandle* pContext, uint dwAuthError, const(char)* UserName, uint ulUserBufferSize, const(char)* pszPassword, uint ulPasswordBufferSize, int* pfSave, uint dwFlags);
@DllImport("credui.dll")
uint CredUIConfirmCredentialsW(const(wchar)* pszTargetName, BOOL bConfirm);
@DllImport("credui.dll")
uint CredUIConfirmCredentialsA(const(char)* pszTargetName, BOOL bConfirm);
@DllImport("credui.dll")
uint CredUIStoreSSOCredW(const(wchar)* pszRealm, const(wchar)* pszUsername, const(wchar)* pszPassword, BOOL bPersist);
@DllImport("credui.dll")
uint CredUIReadSSOCredW(const(wchar)* pszRealm, ushort** ppszUsername);
@DllImport("SECUR32.dll")
NTSTATUS CredMarshalTargetInfo(CREDENTIAL_TARGET_INFORMATIONW* InTargetInfo, ushort** Buffer, uint* BufferSize);
@DllImport("SECUR32.dll")
NTSTATUS CredUnmarshalTargetInfo(char* Buffer, uint BufferSize, CREDENTIAL_TARGET_INFORMATIONW** RetTargetInfo, uint* RetActualSize);
@DllImport("SCHANNEL.dll")
BOOL SslEmptyCacheA(const(char)* pszTargetName, uint dwFlags);
@DllImport("SCHANNEL.dll")
BOOL SslEmptyCacheW(const(wchar)* pszTargetName, uint dwFlags);
@DllImport("SCHANNEL.dll")
void SslGenerateRandomBits(ubyte* pRandomData, int cRandomData);
@DllImport("SCHANNEL.dll")
BOOL SslCrackCertificate(ubyte* pbCertificate, uint cbCertificate, uint dwFlags, X509Certificate** ppCertificate);
@DllImport("SCHANNEL.dll")
void SslFreeCertificate(X509Certificate* pCertificate);
@DllImport("SCHANNEL.dll")
uint SslGetMaximumKeySize(uint Reserved);
@DllImport("SCHANNEL.dll")
int SslGetServerIdentity(char* ClientHello, uint ClientHelloSize, ubyte** ServerIdentity, uint* ServerIdentitySize, uint Flags);
@DllImport("SCHANNEL.dll")
int SslGetExtensions(char* clientHello, uint clientHelloByteSize, char* genericExtensions, ubyte genericExtensionsCount, uint* bytesToRead, SchGetExtensionsOptions flags);
@DllImport("KeyCredMgr.dll")
HRESULT KeyCredentialManagerGetOperationErrorStates(KeyCredentialManagerOperationType keyCredentialManagerOperationType, int* isReady, KeyCredentialManagerOperationErrorStates* keyCredentialManagerOperationErrorStates);
@DllImport("KeyCredMgr.dll")
HRESULT KeyCredentialManagerShowUIOperation(HWND hWndOwner, KeyCredentialManagerOperationType keyCredentialManagerOperationType);
@DllImport("KeyCredMgr.dll")
HRESULT KeyCredentialManagerGetInformation(KeyCredentialManagerInfo** keyCredentialManagerInfo);
@DllImport("KeyCredMgr.dll")
void KeyCredentialManagerFreeInformation(KeyCredentialManagerInfo* keyCredentialManagerInfo);
@DllImport("davclnt.dll")
uint NPAddConnection(NETRESOURCEW* lpNetResource, const(wchar)* lpPassword, const(wchar)* lpUserName);
@DllImport("davclnt.dll")
uint NPAddConnection3(HWND hwndOwner, NETRESOURCEW* lpNetResource, const(wchar)* lpPassword, const(wchar)* lpUserName, uint dwFlags);
@DllImport("NTLANMAN.dll")
uint NPAddConnection4(HWND hwndOwner, NETRESOURCEW* lpNetResource, char* lpAuthBuffer, uint cbAuthBuffer, uint dwFlags, char* lpUseOptions, uint cbUseOptions);
@DllImport("davclnt.dll")
uint NPCancelConnection(const(wchar)* lpName, BOOL fForce);
@DllImport("davclnt.dll")
uint NPGetConnection(const(wchar)* lpLocalName, const(wchar)* lpRemoteName, uint* lpnBufferLen);
@DllImport("NTLANMAN.dll")
uint NPGetConnection3(const(wchar)* lpLocalName, uint dwLevel, char* lpBuffer, uint* lpBufferSize);
@DllImport("davclnt.dll")
uint NPGetUniversalName(const(wchar)* lpLocalPath, uint dwInfoLevel, char* lpBuffer, uint* lpBufferSize);
@DllImport("NTLANMAN.dll")
uint NPGetConnectionPerformance(const(wchar)* lpRemoteName, NETCONNECTINFOSTRUCT* lpNetConnectInfo);
@DllImport("davclnt.dll")
uint NPOpenEnum(uint dwScope, uint dwType, uint dwUsage, NETRESOURCEW* lpNetResource, int* lphEnum);
@DllImport("davclnt.dll")
uint NPEnumResource(HANDLE hEnum, uint* lpcCount, char* lpBuffer, uint* lpBufferSize);
@DllImport("davclnt.dll")
uint NPCloseEnum(HANDLE hEnum);
@DllImport("davclnt.dll")
uint NPGetCaps(uint ndex);
@DllImport("davclnt.dll")
uint NPGetUser(const(wchar)* lpName, const(wchar)* lpUserName, uint* lpnBufferLen);
@DllImport("NTLANMAN.dll")
uint NPGetPersistentUseOptionsForConnection(const(wchar)* lpRemotePath, char* lpReadUseOptions, uint cbReadUseOptions, char* lpWriteUseOptions, uint* lpSizeWriteUseOptions);
@DllImport("davclnt.dll")
uint NPGetResourceParent(NETRESOURCEW* lpNetResource, char* lpBuffer, uint* lpBufferSize);
@DllImport("davclnt.dll")
uint NPGetResourceInformation(NETRESOURCEW* lpNetResource, char* lpBuffer, uint* lpBufferSize, ushort** lplpSystem);
@DllImport("davclnt.dll")
uint NPFormatNetworkName(const(wchar)* lpRemoteName, const(wchar)* lpFormattedName, uint* lpnLength, uint dwFlags, uint dwAveCharPerLine);
@DllImport("MPR.dll")
void WNetSetLastErrorA(uint err, const(char)* lpError, const(char)* lpProviders);
@DllImport("MPR.dll")
void WNetSetLastErrorW(uint err, const(wchar)* lpError, const(wchar)* lpProviders);
@DllImport("certpoleng.dll")
NTSTATUS PstGetTrustAnchors(UNICODE_STRING* pTargetName, uint cCriteria, char* rgpCriteria, SecPkgContext_IssuerListInfoEx** ppTrustedIssuers);
@DllImport("certpoleng.dll")
NTSTATUS PstGetTrustAnchorsEx(UNICODE_STRING* pTargetName, uint cCriteria, char* rgpCriteria, CERT_CONTEXT* pCertContext, SecPkgContext_IssuerListInfoEx** ppTrustedIssuers);
@DllImport("certpoleng.dll")
NTSTATUS PstGetCertificateChain(CERT_CONTEXT* pCert, SecPkgContext_IssuerListInfoEx* pTrustedIssuers, CERT_CHAIN_CONTEXT** ppCertChainContext);
@DllImport("certpoleng.dll")
NTSTATUS PstGetCertificates(UNICODE_STRING* pTargetName, uint cCriteria, char* rgpCriteria, BOOL bIsClient, uint* pdwCertChainContextCount, CERT_CHAIN_CONTEXT*** ppCertChainContexts);
@DllImport("certpoleng.dll")
NTSTATUS PstAcquirePrivateKey(CERT_CONTEXT* pCert);
@DllImport("certpoleng.dll")
NTSTATUS PstValidate(UNICODE_STRING* pTargetName, BOOL bIsClient, CERT_USAGE_MATCH* pRequestedIssuancePolicy, void** phAdditionalCertStore, CERT_CONTEXT* pCert, Guid* pProvGUID);
@DllImport("certpoleng.dll")
NTSTATUS PstMapCertificate(CERT_CONTEXT* pCert, LSA_TOKEN_INFORMATION_TYPE* pTokenInformationType, void** ppTokenInformation);
@DllImport("certpoleng.dll")
NTSTATUS PstGetUserNameForCertificate(CERT_CONTEXT* pCertContext, UNICODE_STRING* UserName);
@DllImport("SAS.dll")
void SendSAS(BOOL AsUser);
@DllImport("AUTHZ.dll")
BOOL AuthzAccessCheck(uint Flags, AUTHZ_CLIENT_CONTEXT_HANDLE__* hAuthzClientContext, AUTHZ_ACCESS_REQUEST* pRequest, AUTHZ_AUDIT_EVENT_HANDLE__* hAuditEvent, void* pSecurityDescriptor, char* OptionalSecurityDescriptorArray, uint OptionalSecurityDescriptorCount, AUTHZ_ACCESS_REPLY* pReply, AUTHZ_ACCESS_CHECK_RESULTS_HANDLE__** phAccessCheckResults);
@DllImport("AUTHZ.dll")
BOOL AuthzCachedAccessCheck(uint Flags, AUTHZ_ACCESS_CHECK_RESULTS_HANDLE__* hAccessCheckResults, AUTHZ_ACCESS_REQUEST* pRequest, AUTHZ_AUDIT_EVENT_HANDLE__* hAuditEvent, AUTHZ_ACCESS_REPLY* pReply);
@DllImport("AUTHZ.dll")
BOOL AuthzOpenObjectAudit(uint Flags, AUTHZ_CLIENT_CONTEXT_HANDLE__* hAuthzClientContext, AUTHZ_ACCESS_REQUEST* pRequest, AUTHZ_AUDIT_EVENT_HANDLE__* hAuditEvent, void* pSecurityDescriptor, char* OptionalSecurityDescriptorArray, uint OptionalSecurityDescriptorCount, AUTHZ_ACCESS_REPLY* pReply);
@DllImport("AUTHZ.dll")
BOOL AuthzFreeHandle(AUTHZ_ACCESS_CHECK_RESULTS_HANDLE__* hAccessCheckResults);
@DllImport("AUTHZ.dll")
BOOL AuthzInitializeResourceManager(uint Flags, PFN_AUTHZ_DYNAMIC_ACCESS_CHECK pfnDynamicAccessCheck, PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS pfnComputeDynamicGroups, PFN_AUTHZ_FREE_DYNAMIC_GROUPS pfnFreeDynamicGroups, const(wchar)* szResourceManagerName, AUTHZ_RESOURCE_MANAGER_HANDLE__** phAuthzResourceManager);
@DllImport("AUTHZ.dll")
BOOL AuthzInitializeResourceManagerEx(uint Flags, AUTHZ_INIT_INFO* pAuthzInitInfo, AUTHZ_RESOURCE_MANAGER_HANDLE__** phAuthzResourceManager);
@DllImport("AUTHZ.dll")
BOOL AuthzInitializeRemoteResourceManager(AUTHZ_RPC_INIT_INFO_CLIENT* pRpcInitInfo, AUTHZ_RESOURCE_MANAGER_HANDLE__** phAuthzResourceManager);
@DllImport("AUTHZ.dll")
BOOL AuthzFreeResourceManager(AUTHZ_RESOURCE_MANAGER_HANDLE__* hAuthzResourceManager);
@DllImport("AUTHZ.dll")
BOOL AuthzInitializeContextFromToken(uint Flags, HANDLE TokenHandle, AUTHZ_RESOURCE_MANAGER_HANDLE__* hAuthzResourceManager, LARGE_INTEGER* pExpirationTime, LUID Identifier, void* DynamicGroupArgs, AUTHZ_CLIENT_CONTEXT_HANDLE__** phAuthzClientContext);
@DllImport("AUTHZ.dll")
BOOL AuthzInitializeContextFromSid(uint Flags, void* UserSid, AUTHZ_RESOURCE_MANAGER_HANDLE__* hAuthzResourceManager, LARGE_INTEGER* pExpirationTime, LUID Identifier, void* DynamicGroupArgs, AUTHZ_CLIENT_CONTEXT_HANDLE__** phAuthzClientContext);
@DllImport("AUTHZ.dll")
BOOL AuthzInitializeContextFromAuthzContext(uint Flags, AUTHZ_CLIENT_CONTEXT_HANDLE__* hAuthzClientContext, LARGE_INTEGER* pExpirationTime, LUID Identifier, void* DynamicGroupArgs, AUTHZ_CLIENT_CONTEXT_HANDLE__** phNewAuthzClientContext);
@DllImport("AUTHZ.dll")
BOOL AuthzInitializeCompoundContext(AUTHZ_CLIENT_CONTEXT_HANDLE__* UserContext, AUTHZ_CLIENT_CONTEXT_HANDLE__* DeviceContext, AUTHZ_CLIENT_CONTEXT_HANDLE__** phCompoundContext);
@DllImport("AUTHZ.dll")
BOOL AuthzAddSidsToContext(AUTHZ_CLIENT_CONTEXT_HANDLE__* hAuthzClientContext, SID_AND_ATTRIBUTES* Sids, uint SidCount, SID_AND_ATTRIBUTES* RestrictedSids, uint RestrictedSidCount, AUTHZ_CLIENT_CONTEXT_HANDLE__** phNewAuthzClientContext);
@DllImport("AUTHZ.dll")
BOOL AuthzModifySecurityAttributes(AUTHZ_CLIENT_CONTEXT_HANDLE__* hAuthzClientContext, char* pOperations, AUTHZ_SECURITY_ATTRIBUTES_INFORMATION* pAttributes);
@DllImport("AUTHZ.dll")
BOOL AuthzModifyClaims(AUTHZ_CLIENT_CONTEXT_HANDLE__* hAuthzClientContext, AUTHZ_CONTEXT_INFORMATION_CLASS ClaimClass, char* pClaimOperations, AUTHZ_SECURITY_ATTRIBUTES_INFORMATION* pClaims);
@DllImport("AUTHZ.dll")
BOOL AuthzModifySids(AUTHZ_CLIENT_CONTEXT_HANDLE__* hAuthzClientContext, AUTHZ_CONTEXT_INFORMATION_CLASS SidClass, char* pSidOperations, TOKEN_GROUPS* pSids);
@DllImport("AUTHZ.dll")
BOOL AuthzSetAppContainerInformation(AUTHZ_CLIENT_CONTEXT_HANDLE__* hAuthzClientContext, void* pAppContainerSid, uint CapabilityCount, char* pCapabilitySids);
@DllImport("AUTHZ.dll")
BOOL AuthzGetInformationFromContext(AUTHZ_CLIENT_CONTEXT_HANDLE__* hAuthzClientContext, AUTHZ_CONTEXT_INFORMATION_CLASS InfoClass, uint BufferSize, uint* pSizeRequired, void* Buffer);
@DllImport("AUTHZ.dll")
BOOL AuthzFreeContext(AUTHZ_CLIENT_CONTEXT_HANDLE__* hAuthzClientContext);
@DllImport("AUTHZ.dll")
BOOL AuthzInitializeObjectAccessAuditEvent(uint Flags, AUTHZ_AUDIT_EVENT_TYPE_HANDLE__* hAuditEventType, const(wchar)* szOperationType, const(wchar)* szObjectType, const(wchar)* szObjectName, const(wchar)* szAdditionalInfo, AUTHZ_AUDIT_EVENT_HANDLE__** phAuditEvent, uint dwAdditionalParameterCount);
@DllImport("AUTHZ.dll")
BOOL AuthzInitializeObjectAccessAuditEvent2(uint Flags, AUTHZ_AUDIT_EVENT_TYPE_HANDLE__* hAuditEventType, const(wchar)* szOperationType, const(wchar)* szObjectType, const(wchar)* szObjectName, const(wchar)* szAdditionalInfo, const(wchar)* szAdditionalInfo2, AUTHZ_AUDIT_EVENT_HANDLE__** phAuditEvent, uint dwAdditionalParameterCount);
@DllImport("AUTHZ.dll")
BOOL AuthzFreeAuditEvent(AUTHZ_AUDIT_EVENT_HANDLE__* hAuditEvent);
@DllImport("AUTHZ.dll")
BOOL AuthzEvaluateSacl(AUTHZ_CLIENT_CONTEXT_HANDLE__* AuthzClientContext, AUTHZ_ACCESS_REQUEST* pRequest, ACL* Sacl, uint GrantedAccess, BOOL AccessGranted, int* pbGenerateAudit);
@DllImport("AUTHZ.dll")
BOOL AuthzInstallSecurityEventSource(uint dwFlags, AUTHZ_SOURCE_SCHEMA_REGISTRATION* pRegistration);
@DllImport("AUTHZ.dll")
BOOL AuthzUninstallSecurityEventSource(uint dwFlags, const(wchar)* szEventSourceName);
@DllImport("AUTHZ.dll")
BOOL AuthzEnumerateSecurityEventSources(uint dwFlags, AUTHZ_SOURCE_SCHEMA_REGISTRATION* Buffer, uint* pdwCount, uint* pdwLength);
@DllImport("AUTHZ.dll")
BOOL AuthzRegisterSecurityEventSource(uint dwFlags, const(wchar)* szEventSourceName, AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE__** phEventProvider);
@DllImport("AUTHZ.dll")
BOOL AuthzUnregisterSecurityEventSource(uint dwFlags, AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE__** phEventProvider);
@DllImport("AUTHZ.dll")
BOOL AuthzReportSecurityEvent(uint dwFlags, AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE__* hEventProvider, uint dwAuditId, void* pUserSid, uint dwCount);
@DllImport("AUTHZ.dll")
BOOL AuthzReportSecurityEventFromParams(uint dwFlags, AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE__* hEventProvider, uint dwAuditId, void* pUserSid, AUDIT_PARAMS* pParams);
@DllImport("AUTHZ.dll")
BOOL AuthzRegisterCapChangeNotification(AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__** phCapChangeSubscription, LPTHREAD_START_ROUTINE pfnCapChangeCallback, void* pCallbackContext);
@DllImport("AUTHZ.dll")
BOOL AuthzUnregisterCapChangeNotification(AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__* hCapChangeSubscription);
@DllImport("AUTHZ.dll")
BOOL AuthzFreeCentralAccessPolicyCache();
@DllImport("ACLUI.dll")
HPROPSHEETPAGE CreateSecurityPage(ISecurityInformation psi);
@DllImport("ACLUI.dll")
BOOL EditSecurity(HWND hwndOwner, ISecurityInformation psi);
@DllImport("ACLUI.dll")
HRESULT EditSecurityAdvanced(HWND hwndOwner, ISecurityInformation psi, SI_PAGE_TYPE uSIPage);
@DllImport("ADVAPI32.dll")
uint SetEntriesInAclA(uint cCountOfExplicitEntries, char* pListOfExplicitEntries, ACL* OldAcl, ACL** NewAcl);
@DllImport("ADVAPI32.dll")
uint SetEntriesInAclW(uint cCountOfExplicitEntries, char* pListOfExplicitEntries, ACL* OldAcl, ACL** NewAcl);
@DllImport("ADVAPI32.dll")
uint GetExplicitEntriesFromAclA(ACL* pacl, uint* pcCountOfExplicitEntries, EXPLICIT_ACCESS_A** pListOfExplicitEntries);
@DllImport("ADVAPI32.dll")
uint GetExplicitEntriesFromAclW(ACL* pacl, uint* pcCountOfExplicitEntries, EXPLICIT_ACCESS_W** pListOfExplicitEntries);
@DllImport("ADVAPI32.dll")
uint GetEffectiveRightsFromAclA(ACL* pacl, TRUSTEE_A* pTrustee, uint* pAccessRights);
@DllImport("ADVAPI32.dll")
uint GetEffectiveRightsFromAclW(ACL* pacl, TRUSTEE_W* pTrustee, uint* pAccessRights);
@DllImport("ADVAPI32.dll")
uint GetAuditedPermissionsFromAclA(ACL* pacl, TRUSTEE_A* pTrustee, uint* pSuccessfulAuditedRights, uint* pFailedAuditRights);
@DllImport("ADVAPI32.dll")
uint GetAuditedPermissionsFromAclW(ACL* pacl, TRUSTEE_W* pTrustee, uint* pSuccessfulAuditedRights, uint* pFailedAuditRights);
@DllImport("ADVAPI32.dll")
uint GetNamedSecurityInfoA(const(char)* pObjectName, SE_OBJECT_TYPE ObjectType, uint SecurityInfo, void** ppsidOwner, void** ppsidGroup, ACL** ppDacl, ACL** ppSacl, void** ppSecurityDescriptor);
@DllImport("ADVAPI32.dll")
uint GetNamedSecurityInfoW(const(wchar)* pObjectName, SE_OBJECT_TYPE ObjectType, uint SecurityInfo, void** ppsidOwner, void** ppsidGroup, ACL** ppDacl, ACL** ppSacl, void** ppSecurityDescriptor);
@DllImport("ADVAPI32.dll")
uint GetSecurityInfo(HANDLE handle, SE_OBJECT_TYPE ObjectType, uint SecurityInfo, void** ppsidOwner, void** ppsidGroup, ACL** ppDacl, ACL** ppSacl, void** ppSecurityDescriptor);
@DllImport("ADVAPI32.dll")
uint SetNamedSecurityInfoA(const(char)* pObjectName, SE_OBJECT_TYPE ObjectType, uint SecurityInfo, void* psidOwner, void* psidGroup, ACL* pDacl, ACL* pSacl);
@DllImport("ADVAPI32.dll")
uint SetNamedSecurityInfoW(const(wchar)* pObjectName, SE_OBJECT_TYPE ObjectType, uint SecurityInfo, void* psidOwner, void* psidGroup, ACL* pDacl, ACL* pSacl);
@DllImport("ADVAPI32.dll")
uint SetSecurityInfo(HANDLE handle, SE_OBJECT_TYPE ObjectType, uint SecurityInfo, void* psidOwner, void* psidGroup, ACL* pDacl, ACL* pSacl);
@DllImport("ADVAPI32.dll")
uint GetInheritanceSourceA(const(char)* pObjectName, SE_OBJECT_TYPE ObjectType, uint SecurityInfo, BOOL Container, char* pObjectClassGuids, uint GuidCount, ACL* pAcl, _FN_OBJECT_MGR_FUNCTIONS* pfnArray, GENERIC_MAPPING* pGenericMapping, INHERITED_FROMA* pInheritArray);
@DllImport("ADVAPI32.dll")
uint GetInheritanceSourceW(const(wchar)* pObjectName, SE_OBJECT_TYPE ObjectType, uint SecurityInfo, BOOL Container, char* pObjectClassGuids, uint GuidCount, ACL* pAcl, _FN_OBJECT_MGR_FUNCTIONS* pfnArray, GENERIC_MAPPING* pGenericMapping, INHERITED_FROMW* pInheritArray);
@DllImport("ADVAPI32.dll")
uint FreeInheritedFromArray(char* pInheritArray, ushort AceCnt, _FN_OBJECT_MGR_FUNCTIONS* pfnArray);
@DllImport("ADVAPI32.dll")
uint TreeResetNamedSecurityInfoA(const(char)* pObjectName, SE_OBJECT_TYPE ObjectType, uint SecurityInfo, void* pOwner, void* pGroup, ACL* pDacl, ACL* pSacl, BOOL KeepExplicit, FN_PROGRESS fnProgress, PROG_INVOKE_SETTING ProgressInvokeSetting, void* Args);
@DllImport("ADVAPI32.dll")
uint TreeResetNamedSecurityInfoW(const(wchar)* pObjectName, SE_OBJECT_TYPE ObjectType, uint SecurityInfo, void* pOwner, void* pGroup, ACL* pDacl, ACL* pSacl, BOOL KeepExplicit, FN_PROGRESS fnProgress, PROG_INVOKE_SETTING ProgressInvokeSetting, void* Args);
@DllImport("ADVAPI32.dll")
uint TreeSetNamedSecurityInfoA(const(char)* pObjectName, SE_OBJECT_TYPE ObjectType, uint SecurityInfo, void* pOwner, void* pGroup, ACL* pDacl, ACL* pSacl, uint dwAction, FN_PROGRESS fnProgress, PROG_INVOKE_SETTING ProgressInvokeSetting, void* Args);
@DllImport("ADVAPI32.dll")
uint TreeSetNamedSecurityInfoW(const(wchar)* pObjectName, SE_OBJECT_TYPE ObjectType, uint SecurityInfo, void* pOwner, void* pGroup, ACL* pDacl, ACL* pSacl, uint dwAction, FN_PROGRESS fnProgress, PROG_INVOKE_SETTING ProgressInvokeSetting, void* Args);
@DllImport("ADVAPI32.dll")
uint BuildSecurityDescriptorA(TRUSTEE_A* pOwner, TRUSTEE_A* pGroup, uint cCountOfAccessEntries, char* pListOfAccessEntries, uint cCountOfAuditEntries, char* pListOfAuditEntries, void* pOldSD, uint* pSizeNewSD, void** pNewSD);
@DllImport("ADVAPI32.dll")
uint BuildSecurityDescriptorW(TRUSTEE_W* pOwner, TRUSTEE_W* pGroup, uint cCountOfAccessEntries, char* pListOfAccessEntries, uint cCountOfAuditEntries, char* pListOfAuditEntries, void* pOldSD, uint* pSizeNewSD, void** pNewSD);
@DllImport("ADVAPI32.dll")
uint LookupSecurityDescriptorPartsA(TRUSTEE_A** ppOwner, TRUSTEE_A** ppGroup, uint* pcCountOfAccessEntries, EXPLICIT_ACCESS_A** ppListOfAccessEntries, uint* pcCountOfAuditEntries, EXPLICIT_ACCESS_A** ppListOfAuditEntries, void* pSD);
@DllImport("ADVAPI32.dll")
uint LookupSecurityDescriptorPartsW(TRUSTEE_W** ppOwner, TRUSTEE_W** ppGroup, uint* pcCountOfAccessEntries, EXPLICIT_ACCESS_W** ppListOfAccessEntries, uint* pcCountOfAuditEntries, EXPLICIT_ACCESS_W** ppListOfAuditEntries, void* pSD);
@DllImport("ADVAPI32.dll")
void BuildExplicitAccessWithNameA(EXPLICIT_ACCESS_A* pExplicitAccess, const(char)* pTrusteeName, uint AccessPermissions, ACCESS_MODE AccessMode, uint Inheritance);
@DllImport("ADVAPI32.dll")
void BuildExplicitAccessWithNameW(EXPLICIT_ACCESS_W* pExplicitAccess, const(wchar)* pTrusteeName, uint AccessPermissions, ACCESS_MODE AccessMode, uint Inheritance);
@DllImport("ADVAPI32.dll")
void BuildImpersonateExplicitAccessWithNameA(EXPLICIT_ACCESS_A* pExplicitAccess, const(char)* pTrusteeName, TRUSTEE_A* pTrustee, uint AccessPermissions, ACCESS_MODE AccessMode, uint Inheritance);
@DllImport("ADVAPI32.dll")
void BuildImpersonateExplicitAccessWithNameW(EXPLICIT_ACCESS_W* pExplicitAccess, const(wchar)* pTrusteeName, TRUSTEE_W* pTrustee, uint AccessPermissions, ACCESS_MODE AccessMode, uint Inheritance);
@DllImport("ADVAPI32.dll")
void BuildTrusteeWithNameA(TRUSTEE_A* pTrustee, const(char)* pName);
@DllImport("ADVAPI32.dll")
void BuildTrusteeWithNameW(TRUSTEE_W* pTrustee, const(wchar)* pName);
@DllImport("ADVAPI32.dll")
void BuildImpersonateTrusteeA(TRUSTEE_A* pTrustee, TRUSTEE_A* pImpersonateTrustee);
@DllImport("ADVAPI32.dll")
void BuildImpersonateTrusteeW(TRUSTEE_W* pTrustee, TRUSTEE_W* pImpersonateTrustee);
@DllImport("ADVAPI32.dll")
void BuildTrusteeWithSidA(TRUSTEE_A* pTrustee, void* pSid);
@DllImport("ADVAPI32.dll")
void BuildTrusteeWithSidW(TRUSTEE_W* pTrustee, void* pSid);
@DllImport("ADVAPI32.dll")
void BuildTrusteeWithObjectsAndSidA(TRUSTEE_A* pTrustee, OBJECTS_AND_SID* pObjSid, Guid* pObjectGuid, Guid* pInheritedObjectGuid, void* pSid);
@DllImport("ADVAPI32.dll")
void BuildTrusteeWithObjectsAndSidW(TRUSTEE_W* pTrustee, OBJECTS_AND_SID* pObjSid, Guid* pObjectGuid, Guid* pInheritedObjectGuid, void* pSid);
@DllImport("ADVAPI32.dll")
void BuildTrusteeWithObjectsAndNameA(TRUSTEE_A* pTrustee, OBJECTS_AND_NAME_A* pObjName, SE_OBJECT_TYPE ObjectType, const(char)* ObjectTypeName, const(char)* InheritedObjectTypeName, const(char)* Name);
@DllImport("ADVAPI32.dll")
void BuildTrusteeWithObjectsAndNameW(TRUSTEE_W* pTrustee, OBJECTS_AND_NAME_W* pObjName, SE_OBJECT_TYPE ObjectType, const(wchar)* ObjectTypeName, const(wchar)* InheritedObjectTypeName, const(wchar)* Name);
@DllImport("ADVAPI32.dll")
byte* GetTrusteeNameA(TRUSTEE_A* pTrustee);
@DllImport("ADVAPI32.dll")
ushort* GetTrusteeNameW(TRUSTEE_W* pTrustee);
@DllImport("ADVAPI32.dll")
TRUSTEE_TYPE GetTrusteeTypeA(TRUSTEE_A* pTrustee);
@DllImport("ADVAPI32.dll")
TRUSTEE_TYPE GetTrusteeTypeW(TRUSTEE_W* pTrustee);
@DllImport("ADVAPI32.dll")
TRUSTEE_FORM GetTrusteeFormA(TRUSTEE_A* pTrustee);
@DllImport("ADVAPI32.dll")
TRUSTEE_FORM GetTrusteeFormW(TRUSTEE_W* pTrustee);
@DllImport("ADVAPI32.dll")
MULTIPLE_TRUSTEE_OPERATION GetMultipleTrusteeOperationA(TRUSTEE_A* pTrustee);
@DllImport("ADVAPI32.dll")
MULTIPLE_TRUSTEE_OPERATION GetMultipleTrusteeOperationW(TRUSTEE_W* pTrustee);
@DllImport("ADVAPI32.dll")
TRUSTEE_A* GetMultipleTrusteeA(TRUSTEE_A* pTrustee);
@DllImport("ADVAPI32.dll")
TRUSTEE_W* GetMultipleTrusteeW(TRUSTEE_W* pTrustee);
@DllImport("ADVAPI32.dll")
BOOL ConvertSidToStringSidA(void* Sid, byte** StringSid);
@DllImport("ADVAPI32.dll")
BOOL ConvertSidToStringSidW(void* Sid, ushort** StringSid);
@DllImport("ADVAPI32.dll")
BOOL ConvertStringSidToSidA(const(char)* StringSid, void** Sid);
@DllImport("ADVAPI32.dll")
BOOL ConvertStringSidToSidW(const(wchar)* StringSid, void** Sid);
@DllImport("ADVAPI32.dll")
BOOL ConvertStringSecurityDescriptorToSecurityDescriptorA(const(char)* StringSecurityDescriptor, uint StringSDRevision, void** SecurityDescriptor, uint* SecurityDescriptorSize);
@DllImport("ADVAPI32.dll")
BOOL ConvertStringSecurityDescriptorToSecurityDescriptorW(const(wchar)* StringSecurityDescriptor, uint StringSDRevision, void** SecurityDescriptor, uint* SecurityDescriptorSize);
@DllImport("ADVAPI32.dll")
BOOL ConvertSecurityDescriptorToStringSecurityDescriptorA(void* SecurityDescriptor, uint RequestedStringSDRevision, uint SecurityInformation, byte** StringSecurityDescriptor, uint* StringSecurityDescriptorLen);
@DllImport("ADVAPI32.dll")
BOOL ConvertSecurityDescriptorToStringSecurityDescriptorW(void* SecurityDescriptor, uint RequestedStringSDRevision, uint SecurityInformation, ushort** StringSecurityDescriptor, uint* StringSecurityDescriptorLen);
@DllImport("DSSEC.dll")
HRESULT DSCreateISecurityInfoObject(const(wchar)* pwszObjectPath, const(wchar)* pwszObjectClass, uint dwFlags, ISecurityInformation* ppSI, PFNREADOBJECTSECURITY pfnReadSD, PFNWRITEOBJECTSECURITY pfnWriteSD, LPARAM lpContext);
@DllImport("DSSEC.dll")
HRESULT DSCreateISecurityInfoObjectEx(const(wchar)* pwszObjectPath, const(wchar)* pwszObjectClass, const(wchar)* pwszServer, const(wchar)* pwszUserName, const(wchar)* pwszPassword, uint dwFlags, ISecurityInformation* ppSI, PFNREADOBJECTSECURITY pfnReadSD, PFNWRITEOBJECTSECURITY pfnWriteSD, LPARAM lpContext);
@DllImport("DSSEC.dll")
HRESULT DSCreateSecurityPage(const(wchar)* pwszObjectPath, const(wchar)* pwszObjectClass, uint dwFlags, HPROPSHEETPAGE* phPage, PFNREADOBJECTSECURITY pfnReadSD, PFNWRITEOBJECTSECURITY pfnWriteSD, LPARAM lpContext);
@DllImport("DSSEC.dll")
HRESULT DSEditSecurity(HWND hwndOwner, const(wchar)* pwszObjectPath, const(wchar)* pwszObjectClass, uint dwFlags, const(wchar)* pwszCaption, PFNREADOBJECTSECURITY pfnReadSD, PFNWRITEOBJECTSECURITY pfnWriteSD, LPARAM lpContext);
@DllImport("certadm.dll")
HRESULT CertSrvIsServerOnlineW(const(wchar)* pwszServerName, int* pfServerOnline);
@DllImport("certadm.dll")
HRESULT CertSrvBackupGetDynamicFileListW(void* hbc, ushort** ppwszzFileList, uint* pcbSize);
@DllImport("certadm.dll")
HRESULT CertSrvBackupPrepareW(const(wchar)* pwszServerName, uint grbitJet, uint dwBackupFlags, void** phbc);
@DllImport("certadm.dll")
HRESULT CertSrvBackupGetDatabaseNamesW(void* hbc, ushort** ppwszzAttachmentInformation, uint* pcbSize);
@DllImport("certadm.dll")
HRESULT CertSrvBackupOpenFileW(void* hbc, const(wchar)* pwszAttachmentName, uint cbReadHintSize, LARGE_INTEGER* pliFileSize);
@DllImport("certadm.dll")
HRESULT CertSrvBackupRead(void* hbc, void* pvBuffer, uint cbBuffer, uint* pcbRead);
@DllImport("certadm.dll")
HRESULT CertSrvBackupClose(void* hbc);
@DllImport("certadm.dll")
HRESULT CertSrvBackupGetBackupLogsW(void* hbc, ushort** ppwszzBackupLogFiles, uint* pcbSize);
@DllImport("certadm.dll")
HRESULT CertSrvBackupTruncateLogs(void* hbc);
@DllImport("certadm.dll")
HRESULT CertSrvBackupEnd(void* hbc);
@DllImport("certadm.dll")
void CertSrvBackupFree(void* pv);
@DllImport("certadm.dll")
HRESULT CertSrvRestoreGetDatabaseLocationsW(void* hbc, ushort** ppwszzDatabaseLocationList, uint* pcbSize);
@DllImport("certadm.dll")
HRESULT CertSrvRestorePrepareW(const(wchar)* pwszServerName, uint dwRestoreFlags, void** phbc);
@DllImport("certadm.dll")
HRESULT CertSrvRestoreRegisterW(void* hbc, const(wchar)* pwszCheckPointFilePath, const(wchar)* pwszLogPath, CSEDB_RSTMAPW* rgrstmap, int crstmap, const(wchar)* pwszBackupLogPath, uint genLow, uint genHigh);
@DllImport("certadm.dll")
HRESULT CertSrvRestoreRegisterThroughFile(void* hbc, const(wchar)* pwszCheckPointFilePath, const(wchar)* pwszLogPath, CSEDB_RSTMAPW* rgrstmap, int crstmap, const(wchar)* pwszBackupLogPath, uint genLow, uint genHigh);
@DllImport("certadm.dll")
HRESULT CertSrvRestoreRegisterComplete(void* hbc, HRESULT hrRestoreState);
@DllImport("certadm.dll")
HRESULT CertSrvRestoreEnd(void* hbc);
@DllImport("certadm.dll")
HRESULT CertSrvServerControlW(const(wchar)* pwszServerName, uint dwControlFlags, uint* pcbOut, ubyte** ppbOut);
@DllImport("ncrypt.dll")
int NCryptRegisterProtectionDescriptorName(const(wchar)* pwszName, const(wchar)* pwszDescriptorString, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptQueryProtectionDescriptorName(const(wchar)* pwszName, const(wchar)* pwszDescriptorString, uint* pcDescriptorString, uint dwFlags);
@DllImport("ncrypt.dll")
int NCryptCreateProtectionDescriptor(const(wchar)* pwszDescriptorString, uint dwFlags, NCRYPT_DESCRIPTOR_HANDLE__** phDescriptor);
@DllImport("ncrypt.dll")
int NCryptCloseProtectionDescriptor(NCRYPT_DESCRIPTOR_HANDLE__* hDescriptor);
@DllImport("ncrypt.dll")
int NCryptGetProtectionDescriptorInfo(NCRYPT_DESCRIPTOR_HANDLE__* hDescriptor, const(NCRYPT_ALLOC_PARA)* pMemPara, uint dwInfoType, void** ppvInfo);
@DllImport("ncrypt.dll")
int NCryptProtectSecret(NCRYPT_DESCRIPTOR_HANDLE__* hDescriptor, uint dwFlags, char* pbData, uint cbData, const(NCRYPT_ALLOC_PARA)* pMemPara, HWND hWnd, ubyte** ppbProtectedBlob, uint* pcbProtectedBlob);
@DllImport("ncrypt.dll")
int NCryptUnprotectSecret(NCRYPT_DESCRIPTOR_HANDLE__** phDescriptor, uint dwFlags, char* pbProtectedBlob, uint cbProtectedBlob, const(NCRYPT_ALLOC_PARA)* pMemPara, HWND hWnd, ubyte** ppbData, uint* pcbData);
@DllImport("ncrypt.dll")
int NCryptStreamOpenToProtect(NCRYPT_DESCRIPTOR_HANDLE__* hDescriptor, uint dwFlags, HWND hWnd, NCRYPT_PROTECT_STREAM_INFO* pStreamInfo, NCRYPT_STREAM_HANDLE__** phStream);
@DllImport("ncrypt.dll")
int NCryptStreamOpenToUnprotect(NCRYPT_PROTECT_STREAM_INFO* pStreamInfo, uint dwFlags, HWND hWnd, NCRYPT_STREAM_HANDLE__** phStream);
@DllImport("ncrypt.dll")
int NCryptStreamOpenToUnprotectEx(NCRYPT_PROTECT_STREAM_INFO_EX* pStreamInfo, uint dwFlags, HWND hWnd, NCRYPT_STREAM_HANDLE__** phStream);
@DllImport("ncrypt.dll")
int NCryptStreamUpdate(NCRYPT_STREAM_HANDLE__* hStream, char* pbData, uint cbData, BOOL fFinal);
@DllImport("ncrypt.dll")
int NCryptStreamClose(NCRYPT_STREAM_HANDLE__* hStream);
@DllImport("TOKENBINDING.dll")
int TokenBindingGenerateBinding(TOKENBINDING_KEY_PARAMETERS_TYPE keyType, const(wchar)* targetURL, TOKENBINDING_TYPE bindingType, char* tlsEKM, uint tlsEKMSize, TOKENBINDING_EXTENSION_FORMAT extensionFormat, const(void)* extensionData, void** tokenBinding, uint* tokenBindingSize, TOKENBINDING_RESULT_DATA** resultData);
@DllImport("TOKENBINDING.dll")
int TokenBindingGenerateMessage(char* tokenBindings, char* tokenBindingsSize, uint tokenBindingsCount, void** tokenBindingMessage, uint* tokenBindingMessageSize);
@DllImport("TOKENBINDING.dll")
int TokenBindingVerifyMessage(char* tokenBindingMessage, uint tokenBindingMessageSize, TOKENBINDING_KEY_PARAMETERS_TYPE keyType, char* tlsEKM, uint tlsEKMSize, TOKENBINDING_RESULT_LIST** resultList);
@DllImport("TOKENBINDING.dll")
int TokenBindingGetKeyTypesClient(TOKENBINDING_KEY_TYPES** keyTypes);
@DllImport("TOKENBINDING.dll")
int TokenBindingGetKeyTypesServer(TOKENBINDING_KEY_TYPES** keyTypes);
@DllImport("TOKENBINDING.dll")
int TokenBindingDeleteBinding(const(wchar)* targetURL);
@DllImport("TOKENBINDING.dll")
int TokenBindingDeleteAllBindings();
@DllImport("TOKENBINDING.dll")
int TokenBindingGenerateID(TOKENBINDING_KEY_PARAMETERS_TYPE keyType, char* publicKey, uint publicKeySize, TOKENBINDING_RESULT_DATA** resultData);
@DllImport("TOKENBINDING.dll")
int TokenBindingGenerateIDForUri(TOKENBINDING_KEY_PARAMETERS_TYPE keyType, const(wchar)* targetUri, TOKENBINDING_RESULT_DATA** resultData);
@DllImport("TOKENBINDING.dll")
int TokenBindingGetHighestSupportedVersion(ubyte* majorVersion, ubyte* minorVersion);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlClose(void* hCryptXml);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlGetTransforms(const(CRYPT_XML_TRANSFORM_CHAIN_CONFIG)** ppConfig);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlOpenToEncode(const(CRYPT_XML_TRANSFORM_CHAIN_CONFIG)* pConfig, uint dwFlags, const(wchar)* wszId, char* rgProperty, uint cProperty, const(CRYPT_XML_BLOB)* pEncoded, void** phSignature);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlOpenToDecode(const(CRYPT_XML_TRANSFORM_CHAIN_CONFIG)* pConfig, uint dwFlags, char* rgProperty, uint cProperty, const(CRYPT_XML_BLOB)* pEncoded, void** phCryptXml);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlAddObject(void* hSignatureOrObject, uint dwFlags, char* rgProperty, uint cProperty, const(CRYPT_XML_BLOB)* pEncoded, const(CRYPT_XML_OBJECT)** ppObject);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlCreateReference(void* hCryptXml, uint dwFlags, const(wchar)* wszId, const(wchar)* wszURI, const(wchar)* wszType, const(CRYPT_XML_ALGORITHM)* pDigestMethod, uint cTransform, char* rgTransform, void** phReference);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlDigestReference(void* hReference, uint dwFlags, CRYPT_XML_DATA_PROVIDER* pDataProviderIn);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlSetHMACSecret(void* hSignature, char* pbSecret, uint cbSecret);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlSign(void* hSignature, uint hKey, uint dwKeySpec, uint dwFlags, CRYPT_XML_KEYINFO_SPEC dwKeyInfoSpec, const(void)* pvKeyInfoSpec, const(CRYPT_XML_ALGORITHM)* pSignatureMethod, const(CRYPT_XML_ALGORITHM)* pCanonicalization);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlImportPublicKey(uint dwFlags, const(CRYPT_XML_KEY_VALUE)* pKeyValue, void** phKey);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlVerifySignature(void* hSignature, void* hKey, uint dwFlags);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlGetDocContext(void* hCryptXml, const(CRYPT_XML_DOC_CTXT)** ppStruct);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlGetSignature(void* hCryptXml, const(CRYPT_XML_SIGNATURE)** ppStruct);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlGetReference(void* hCryptXml, const(CRYPT_XML_REFERENCE)** ppStruct);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlGetStatus(void* hCryptXml, CRYPT_XML_STATUS* pStatus);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlEncode(void* hCryptXml, CRYPT_XML_CHARSET dwCharset, char* rgProperty, uint cProperty, void* pvCallbackState, PFN_CRYPT_XML_WRITE_CALLBACK pfnWrite);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlGetAlgorithmInfo(const(CRYPT_XML_ALGORITHM)* pXmlAlgorithm, uint dwFlags, CRYPT_XML_ALGORITHM_INFO** ppAlgInfo);
@DllImport("CRYPTXML.dll")
CRYPT_XML_ALGORITHM_INFO* CryptXmlFindAlgorithmInfo(uint dwFindByType, const(void)* pvFindBy, uint dwGroupId, uint dwFlags);
@DllImport("CRYPTXML.dll")
HRESULT CryptXmlEnumAlgorithmInfo(uint dwGroupId, uint dwFlags, void* pvArg, PFN_CRYPT_XML_ENUM_ALG_INFO pfnEnumAlgInfo);
@DllImport("WINTRUST.dll")
int WinVerifyTrust(HWND hwnd, Guid* pgActionID, void* pWVTData);
@DllImport("WINTRUST.dll")
HRESULT WinVerifyTrustEx(HWND hwnd, Guid* pgActionID, WINTRUST_DATA* pWinTrustData);
@DllImport("WINTRUST.dll")
void WintrustGetRegPolicyFlags(uint* pdwPolicyFlags);
@DllImport("WINTRUST.dll")
BOOL WintrustSetRegPolicyFlags(uint dwPolicyFlags);
@DllImport("WINTRUST.dll")
BOOL WintrustAddActionID(Guid* pgActionID, uint fdwFlags, CRYPT_REGISTER_ACTIONID* psProvInfo);
@DllImport("WINTRUST.dll")
BOOL WintrustRemoveActionID(Guid* pgActionID);
@DllImport("WINTRUST.dll")
BOOL WintrustLoadFunctionPointers(Guid* pgActionID, CRYPT_PROVIDER_FUNCTIONS* pPfns);
@DllImport("WINTRUST.dll")
BOOL WintrustAddDefaultForUsage(const(byte)* pszUsageOID, CRYPT_PROVIDER_REGDEFUSAGE* psDefUsage);
@DllImport("WINTRUST.dll")
BOOL WintrustGetDefaultForUsage(uint dwAction, const(byte)* pszUsageOID, CRYPT_PROVIDER_DEFUSAGE* psUsage);
@DllImport("WINTRUST.dll")
CRYPT_PROVIDER_SGNR* WTHelperGetProvSignerFromChain(CRYPT_PROVIDER_DATA* pProvData, uint idxSigner, BOOL fCounterSigner, uint idxCounterSigner);
@DllImport("WINTRUST.dll")
CRYPT_PROVIDER_CERT* WTHelperGetProvCertFromChain(CRYPT_PROVIDER_SGNR* pSgnr, uint idxCert);
@DllImport("WINTRUST.dll")
CRYPT_PROVIDER_DATA* WTHelperProvDataFromStateData(HANDLE hStateData);
@DllImport("WINTRUST.dll")
CRYPT_PROVIDER_PRIVDATA* WTHelperGetProvPrivateDataFromChain(CRYPT_PROVIDER_DATA* pProvData, Guid* pgProviderID);
@DllImport("WINTRUST.dll")
BOOL WTHelperCertIsSelfSigned(uint dwEncoding, CERT_INFO* pCert);
@DllImport("WINTRUST.dll")
HRESULT WTHelperCertCheckValidSignature(CRYPT_PROVIDER_DATA* pProvData);
@DllImport("WINTRUST.dll")
BOOL OpenPersonalTrustDBDialogEx(HWND hwndParent, uint dwFlags, void** pvReserved);
@DllImport("WINTRUST.dll")
BOOL OpenPersonalTrustDBDialog(HWND hwndParent);
@DllImport("WINTRUST.dll")
void WintrustSetDefaultIncludePEPageHashes(BOOL fIncludePEPageHashes);
@DllImport("CRYPTUI.dll")
BOOL CryptUIDlgViewContext(uint dwContextType, const(void)* pvContext, HWND hwnd, const(wchar)* pwszTitle, uint dwFlags, void* pvReserved);
@DllImport("CRYPTUI.dll")
CERT_CONTEXT* CryptUIDlgSelectCertificateFromStore(void* hCertStore, HWND hwnd, const(wchar)* pwszTitle, const(wchar)* pwszDisplayString, uint dwDontUseColumn, uint dwFlags, void* pvReserved);
@DllImport("CRYPTUI.dll")
HRESULT CertSelectionGetSerializedBlob(CERT_SELECTUI_INPUT* pcsi, void** ppOutBuffer, uint* pulOutBufferSize);
@DllImport("CRYPTUI.dll")
BOOL CryptUIDlgCertMgr(CRYPTUI_CERT_MGR_STRUCT* pCryptUICertMgr);
@DllImport("CRYPTUI.dll")
BOOL CryptUIWizDigitalSign(uint dwFlags, HWND hwndParent, const(wchar)* pwszWizardTitle, CRYPTUI_WIZ_DIGITAL_SIGN_INFO* pDigitalSignInfo, CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT** ppSignContext);
@DllImport("CRYPTUI.dll")
BOOL CryptUIWizFreeDigitalSignContext(CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT* pSignContext);
@DllImport("CRYPTUI.dll")
BOOL CryptUIDlgViewCertificateW(CRYPTUI_VIEWCERTIFICATE_STRUCTW* pCertViewInfo, int* pfPropertiesChanged);
@DllImport("CRYPTUI.dll")
BOOL CryptUIDlgViewCertificateA(CRYPTUI_VIEWCERTIFICATE_STRUCTA* pCertViewInfo, int* pfPropertiesChanged);
@DllImport("CRYPTUI.dll")
BOOL CryptUIWizExport(uint dwFlags, HWND hwndParent, const(wchar)* pwszWizardTitle, CRYPTUI_WIZ_EXPORT_INFO* pExportInfo, void* pvoid);
@DllImport("CRYPTUI.dll")
BOOL CryptUIWizImport(uint dwFlags, HWND hwndParent, const(wchar)* pwszWizardTitle, CRYPTUI_WIZ_IMPORT_SRC_INFO* pImportSrc, void* hDestCertStore);
@DllImport("CRYPT32.dll")
BOOL CryptSIPGetSignedDataMsg(SIP_SUBJECTINFO* pSubjectInfo, uint* pdwEncodingType, uint dwIndex, uint* pcbSignedDataMsg, ubyte* pbSignedDataMsg);
@DllImport("CRYPT32.dll")
BOOL CryptSIPPutSignedDataMsg(SIP_SUBJECTINFO* pSubjectInfo, uint dwEncodingType, uint* pdwIndex, uint cbSignedDataMsg, ubyte* pbSignedDataMsg);
@DllImport("CRYPT32.dll")
BOOL CryptSIPCreateIndirectData(SIP_SUBJECTINFO* pSubjectInfo, uint* pcbIndirectData, SIP_INDIRECT_DATA* pIndirectData);
@DllImport("CRYPT32.dll")
BOOL CryptSIPVerifyIndirectData(SIP_SUBJECTINFO* pSubjectInfo, SIP_INDIRECT_DATA* pIndirectData);
@DllImport("CRYPT32.dll")
BOOL CryptSIPRemoveSignedDataMsg(SIP_SUBJECTINFO* pSubjectInfo, uint dwIndex);
@DllImport("CRYPT32.dll")
BOOL CryptSIPLoad(const(Guid)* pgSubject, uint dwFlags, SIP_DISPATCH_INFO* pSipDispatch);
@DllImport("CRYPT32.dll")
BOOL CryptSIPRetrieveSubjectGuid(const(wchar)* FileName, HANDLE hFileIn, Guid* pgSubject);
@DllImport("CRYPT32.dll")
BOOL CryptSIPRetrieveSubjectGuidForCatalogFile(const(wchar)* FileName, HANDLE hFileIn, Guid* pgSubject);
@DllImport("CRYPT32.dll")
BOOL CryptSIPAddProvider(SIP_ADD_NEWPROVIDER* psNewProv);
@DllImport("CRYPT32.dll")
BOOL CryptSIPRemoveProvider(Guid* pgProv);
@DllImport("CRYPT32.dll")
BOOL CryptSIPGetCaps(SIP_SUBJECTINFO* pSubjInfo, SIP_CAP_SET_V3* pCaps);
@DllImport("CRYPT32.dll")
BOOL CryptSIPGetSealedDigest(SIP_SUBJECTINFO* pSubjectInfo, char* pSig, uint dwSig, char* pbDigest, uint* pcbDigest);
@DllImport("WINTRUST.dll")
HANDLE CryptCATOpen(const(wchar)* pwszFileName, uint fdwOpenFlags, uint hProv, uint dwPublicVersion, uint dwEncodingType);
@DllImport("WINTRUST.dll")
BOOL CryptCATClose(HANDLE hCatalog);
@DllImport("WINTRUST.dll")
CRYPTCATSTORE* CryptCATStoreFromHandle(HANDLE hCatalog);
@DllImport("WINTRUST.dll")
HANDLE CryptCATHandleFromStore(CRYPTCATSTORE* pCatStore);
@DllImport("WINTRUST.dll")
BOOL CryptCATPersistStore(HANDLE hCatalog);
@DllImport("WINTRUST.dll")
CRYPTCATATTRIBUTE* CryptCATGetCatAttrInfo(HANDLE hCatalog, const(wchar)* pwszReferenceTag);
@DllImport("WINTRUST.dll")
CRYPTCATATTRIBUTE* CryptCATPutCatAttrInfo(HANDLE hCatalog, const(wchar)* pwszReferenceTag, uint dwAttrTypeAndAction, uint cbData, ubyte* pbData);
@DllImport("WINTRUST.dll")
CRYPTCATATTRIBUTE* CryptCATEnumerateCatAttr(HANDLE hCatalog, CRYPTCATATTRIBUTE* pPrevAttr);
@DllImport("WINTRUST.dll")
CRYPTCATMEMBER* CryptCATGetMemberInfo(HANDLE hCatalog, const(wchar)* pwszReferenceTag);
@DllImport("WINTRUST.dll")
CRYPTCATMEMBER* CryptCATAllocSortedMemberInfo(HANDLE hCatalog, const(wchar)* pwszReferenceTag);
@DllImport("WINTRUST.dll")
void CryptCATFreeSortedMemberInfo(HANDLE hCatalog, CRYPTCATMEMBER* pCatMember);
@DllImport("WINTRUST.dll")
CRYPTCATATTRIBUTE* CryptCATGetAttrInfo(HANDLE hCatalog, CRYPTCATMEMBER* pCatMember, const(wchar)* pwszReferenceTag);
@DllImport("WINTRUST.dll")
CRYPTCATMEMBER* CryptCATPutMemberInfo(HANDLE hCatalog, const(wchar)* pwszFileName, const(wchar)* pwszReferenceTag, Guid* pgSubjectType, uint dwCertVersion, uint cbSIPIndirectData, ubyte* pbSIPIndirectData);
@DllImport("WINTRUST.dll")
CRYPTCATATTRIBUTE* CryptCATPutAttrInfo(HANDLE hCatalog, CRYPTCATMEMBER* pCatMember, const(wchar)* pwszReferenceTag, uint dwAttrTypeAndAction, uint cbData, ubyte* pbData);
@DllImport("WINTRUST.dll")
CRYPTCATMEMBER* CryptCATEnumerateMember(HANDLE hCatalog, CRYPTCATMEMBER* pPrevMember);
@DllImport("WINTRUST.dll")
CRYPTCATATTRIBUTE* CryptCATEnumerateAttr(HANDLE hCatalog, CRYPTCATMEMBER* pCatMember, CRYPTCATATTRIBUTE* pPrevAttr);
@DllImport("WINTRUST.dll")
CRYPTCATCDF* CryptCATCDFOpen(const(wchar)* pwszFilePath, PFN_CDF_PARSE_ERROR_CALLBACK pfnParseError);
@DllImport("WINTRUST.dll")
BOOL CryptCATCDFClose(CRYPTCATCDF* pCDF);
@DllImport("WINTRUST.dll")
CRYPTCATATTRIBUTE* CryptCATCDFEnumCatAttributes(CRYPTCATCDF* pCDF, CRYPTCATATTRIBUTE* pPrevAttr, PFN_CDF_PARSE_ERROR_CALLBACK pfnParseError);
@DllImport("WINTRUST.dll")
CRYPTCATMEMBER* CryptCATCDFEnumMembers(CRYPTCATCDF* pCDF, CRYPTCATMEMBER* pPrevMember, PFN_CDF_PARSE_ERROR_CALLBACK pfnParseError);
@DllImport("WINTRUST.dll")
CRYPTCATATTRIBUTE* CryptCATCDFEnumAttributes(CRYPTCATCDF* pCDF, CRYPTCATMEMBER* pMember, CRYPTCATATTRIBUTE* pPrevAttr, PFN_CDF_PARSE_ERROR_CALLBACK pfnParseError);
@DllImport("WINTRUST.dll")
BOOL IsCatalogFile(HANDLE hFile, ushort* pwszFileName);
@DllImport("WINTRUST.dll")
BOOL CryptCATAdminAcquireContext(int* phCatAdmin, const(Guid)* pgSubsystem, uint dwFlags);
@DllImport("WINTRUST.dll")
BOOL CryptCATAdminAcquireContext2(int* phCatAdmin, const(Guid)* pgSubsystem, const(wchar)* pwszHashAlgorithm, CERT_STRONG_SIGN_PARA* pStrongHashPolicy, uint dwFlags);
@DllImport("WINTRUST.dll")
BOOL CryptCATAdminReleaseContext(int hCatAdmin, uint dwFlags);
@DllImport("WINTRUST.dll")
BOOL CryptCATAdminReleaseCatalogContext(int hCatAdmin, int hCatInfo, uint dwFlags);
@DllImport("WINTRUST.dll")
int CryptCATAdminEnumCatalogFromHash(int hCatAdmin, char* pbHash, uint cbHash, uint dwFlags, int* phPrevCatInfo);
@DllImport("WINTRUST.dll")
BOOL CryptCATAdminCalcHashFromFileHandle(HANDLE hFile, uint* pcbHash, char* pbHash, uint dwFlags);
@DllImport("WINTRUST.dll")
BOOL CryptCATAdminCalcHashFromFileHandle2(int hCatAdmin, HANDLE hFile, uint* pcbHash, char* pbHash, uint dwFlags);
@DllImport("WINTRUST.dll")
int CryptCATAdminAddCatalog(int hCatAdmin, const(wchar)* pwszCatalogFile, const(wchar)* pwszSelectBaseName, uint dwFlags);
@DllImport("WINTRUST.dll")
BOOL CryptCATAdminRemoveCatalog(int hCatAdmin, const(wchar)* pwszCatalogFile, uint dwFlags);
@DllImport("WINTRUST.dll")
BOOL CryptCATCatalogInfoFromContext(int hCatInfo, CATALOG_INFO* psCatInfo, uint dwFlags);
@DllImport("WINTRUST.dll")
BOOL CryptCATAdminResolveCatalogPath(int hCatAdmin, ushort* pwszCatalogFile, CATALOG_INFO* psCatInfo, uint dwFlags);
@DllImport("WINTRUST.dll")
BOOL CryptCATAdminPauseServiceForBackup(uint dwFlags, BOOL fResume);
@DllImport("ADVAPI32.dll")
BOOL SaferGetPolicyInformation(uint dwScopeId, SAFER_POLICY_INFO_CLASS SaferPolicyInfoClass, uint InfoBufferSize, char* InfoBuffer, uint* InfoBufferRetSize, void* lpReserved);
@DllImport("ADVAPI32.dll")
BOOL SaferSetPolicyInformation(uint dwScopeId, SAFER_POLICY_INFO_CLASS SaferPolicyInfoClass, uint InfoBufferSize, char* InfoBuffer, void* lpReserved);
@DllImport("ADVAPI32.dll")
BOOL SaferCreateLevel(uint dwScopeId, uint dwLevelId, uint OpenFlags, SAFER_LEVEL_HANDLE__** pLevelHandle, void* lpReserved);
@DllImport("ADVAPI32.dll")
BOOL SaferCloseLevel(SAFER_LEVEL_HANDLE__* hLevelHandle);
@DllImport("ADVAPI32.dll")
BOOL SaferIdentifyLevel(uint dwNumProperties, char* pCodeProperties, SAFER_LEVEL_HANDLE__** pLevelHandle, void* lpReserved);
@DllImport("ADVAPI32.dll")
BOOL SaferComputeTokenFromLevel(SAFER_LEVEL_HANDLE__* LevelHandle, HANDLE InAccessToken, int* OutAccessToken, uint dwFlags, void* lpReserved);
@DllImport("ADVAPI32.dll")
BOOL SaferGetLevelInformation(SAFER_LEVEL_HANDLE__* LevelHandle, SAFER_OBJECT_INFO_CLASS dwInfoType, char* lpQueryBuffer, uint dwInBufferSize, uint* lpdwOutBufferSize);
@DllImport("ADVAPI32.dll")
BOOL SaferSetLevelInformation(SAFER_LEVEL_HANDLE__* LevelHandle, SAFER_OBJECT_INFO_CLASS dwInfoType, char* lpQueryBuffer, uint dwInBufferSize);
@DllImport("ADVAPI32.dll")
BOOL SaferRecordEventLogEntry(SAFER_LEVEL_HANDLE__* hLevel, const(wchar)* szTargetPath, void* lpReserved);
@DllImport("ADVAPI32.dll")
BOOL SaferiIsExecutableFileType(const(wchar)* szFullPathname, ubyte bFromShellExecute);
@DllImport("SLC.dll")
HRESULT SLOpen(void** phSLC);
@DllImport("SLC.dll")
HRESULT SLClose(void* hSLC);
@DllImport("SLC.dll")
HRESULT SLInstallProofOfPurchase(void* hSLC, const(wchar)* pwszPKeyAlgorithm, const(wchar)* pwszPKeyString, uint cbPKeySpecificData, char* pbPKeySpecificData, Guid* pPkeyId);
@DllImport("SLC.dll")
HRESULT SLUninstallProofOfPurchase(void* hSLC, const(Guid)* pPKeyId);
@DllImport("SLC.dll")
HRESULT SLInstallLicense(void* hSLC, uint cbLicenseBlob, char* pbLicenseBlob, Guid* pLicenseFileId);
@DllImport("SLC.dll")
HRESULT SLUninstallLicense(void* hSLC, const(Guid)* pLicenseFileId);
@DllImport("SLC.dll")
HRESULT SLConsumeRight(void* hSLC, const(Guid)* pAppId, const(Guid)* pProductSkuId, const(wchar)* pwszRightName, void* pvReserved);
@DllImport("SLC.dll")
HRESULT SLGetProductSkuInformation(void* hSLC, const(Guid)* pProductSkuId, const(wchar)* pwszValueName, SLDATATYPE* peDataType, uint* pcbValue, ubyte** ppbValue);
@DllImport("SLC.dll")
HRESULT SLGetPKeyInformation(void* hSLC, const(Guid)* pPKeyId, const(wchar)* pwszValueName, SLDATATYPE* peDataType, uint* pcbValue, ubyte** ppbValue);
@DllImport("SLC.dll")
HRESULT SLGetLicenseInformation(void* hSLC, const(Guid)* pSLLicenseId, const(wchar)* pwszValueName, SLDATATYPE* peDataType, uint* pcbValue, ubyte** ppbValue);
@DllImport("SLC.dll")
HRESULT SLGetLicensingStatusInformation(void* hSLC, const(Guid)* pAppID, const(Guid)* pProductSkuId, const(wchar)* pwszRightName, uint* pnStatusCount, SL_LICENSING_STATUS** ppLicensingStatus);
@DllImport("SLC.dll")
HRESULT SLGetPolicyInformation(void* hSLC, const(wchar)* pwszValueName, SLDATATYPE* peDataType, uint* pcbValue, ubyte** ppbValue);
@DllImport("SLC.dll")
HRESULT SLGetPolicyInformationDWORD(void* hSLC, const(wchar)* pwszValueName, uint* pdwValue);
@DllImport("SLC.dll")
HRESULT SLGetServiceInformation(void* hSLC, const(wchar)* pwszValueName, SLDATATYPE* peDataType, uint* pcbValue, ubyte** ppbValue);
@DllImport("SLC.dll")
HRESULT SLGetApplicationInformation(void* hSLC, const(Guid)* pApplicationId, const(wchar)* pwszValueName, SLDATATYPE* peDataType, uint* pcbValue, ubyte** ppbValue);
@DllImport("slcext.dll")
HRESULT SLActivateProduct(void* hSLC, const(Guid)* pProductSkuId, uint cbAppSpecificData, const(void)* pvAppSpecificData, const(SL_ACTIVATION_INFO_HEADER)* pActivationInfo, const(wchar)* pwszProxyServer, ushort wProxyPort);
@DllImport("slcext.dll")
HRESULT SLGetServerStatus(const(wchar)* pwszServerURL, const(wchar)* pwszAcquisitionType, const(wchar)* pwszProxyServer, ushort wProxyPort, int* phrStatus);
@DllImport("SLC.dll")
HRESULT SLGenerateOfflineInstallationId(void* hSLC, const(Guid)* pProductSkuId, ushort** ppwszInstallationId);
@DllImport("SLC.dll")
HRESULT SLGenerateOfflineInstallationIdEx(void* hSLC, const(Guid)* pProductSkuId, const(SL_ACTIVATION_INFO_HEADER)* pActivationInfo, ushort** ppwszInstallationId);
@DllImport("SLC.dll")
HRESULT SLDepositOfflineConfirmationId(void* hSLC, const(Guid)* pProductSkuId, const(wchar)* pwszInstallationId, const(wchar)* pwszConfirmationId);
@DllImport("SLC.dll")
HRESULT SLDepositOfflineConfirmationIdEx(void* hSLC, const(Guid)* pProductSkuId, const(SL_ACTIVATION_INFO_HEADER)* pActivationInfo, const(wchar)* pwszInstallationId, const(wchar)* pwszConfirmationId);
@DllImport("SLC.dll")
HRESULT SLGetPKeyId(void* hSLC, const(wchar)* pwszPKeyAlgorithm, const(wchar)* pwszPKeyString, uint cbPKeySpecificData, char* pbPKeySpecificData, Guid* pPKeyId);
@DllImport("SLC.dll")
HRESULT SLGetInstalledProductKeyIds(void* hSLC, const(Guid)* pProductSkuId, uint* pnProductKeyIds, Guid** ppProductKeyIds);
@DllImport("SLC.dll")
HRESULT SLSetCurrentProductKey(void* hSLC, const(Guid)* pProductSkuId, const(Guid)* pProductKeyId);
@DllImport("SLC.dll")
HRESULT SLGetSLIDList(void* hSLC, SLIDTYPE eQueryIdType, const(Guid)* pQueryId, SLIDTYPE eReturnIdType, uint* pnReturnIds, Guid** ppReturnIds);
@DllImport("SLC.dll")
HRESULT SLGetLicenseFileId(void* hSLC, uint cbLicenseBlob, char* pbLicenseBlob, Guid* pLicenseFileId);
@DllImport("SLC.dll")
HRESULT SLGetLicense(void* hSLC, const(Guid)* pLicenseFileId, uint* pcbLicenseFile, ubyte** ppbLicenseFile);
@DllImport("SLC.dll")
HRESULT SLFireEvent(void* hSLC, const(wchar)* pwszEventId, const(Guid)* pApplicationId);
@DllImport("SLC.dll")
HRESULT SLRegisterEvent(void* hSLC, const(wchar)* pwszEventId, const(Guid)* pApplicationId, HANDLE hEvent);
@DllImport("SLC.dll")
HRESULT SLUnregisterEvent(void* hSLC, const(wchar)* pwszEventId, const(Guid)* pApplicationId, HANDLE hEvent);
@DllImport("SLC.dll")
HRESULT SLGetWindowsInformation(const(wchar)* pwszValueName, SLDATATYPE* peDataType, uint* pcbValue, ubyte** ppbValue);
@DllImport("SLC.dll")
HRESULT SLGetWindowsInformationDWORD(const(wchar)* pwszValueName, uint* pdwValue);
@DllImport("SLWGA.dll")
HRESULT SLIsGenuineLocal(const(Guid)* pAppId, SL_GENUINE_STATE* pGenuineState, SL_NONGENUINE_UI_OPTIONS* pUIOptions);
@DllImport("slcext.dll")
HRESULT SLAcquireGenuineTicket(void** ppTicketBlob, uint* pcbTicketBlob, const(wchar)* pwszTemplateId, const(wchar)* pwszServerUrl, const(wchar)* pwszClientToken);
@DllImport("SLC.dll")
HRESULT SLSetGenuineInformation(const(Guid)* pQueryId, const(wchar)* pwszValueName, SLDATATYPE eDataType, uint cbValue, char* pbValue);
@DllImport("slcext.dll")
HRESULT SLGetReferralInformation(void* hSLC, SLREFERRALTYPE eReferralType, const(Guid)* pSkuOrAppId, const(wchar)* pwszValueName, ushort** ppwszValue);
@DllImport("SLC.dll")
HRESULT SLGetGenuineInformation(const(Guid)* pQueryId, const(wchar)* pwszValueName, SLDATATYPE* peDataType, uint* pcbValue, ubyte** ppbValue);
@DllImport("api-ms-win-core-slapi-l1-1-0.dll")
HRESULT SLQueryLicenseValueFromApp(const(wchar)* valueName, uint* valueType, char* dataBuffer, uint dataSize, uint* resultDataSize);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqCreateSession(DdqAccessLevel accessLevel, HDIAGNOSTIC_DATA_QUERY_SESSION__** hSession);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqCloseSession(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetSessionAccessLevel(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, DdqAccessLevel* accessLevel);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticDataAccessLevelAllowed(DdqAccessLevel* accessLevel);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordStats(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, const(DIAGNOSTIC_DATA_SEARCH_CRITERIA)* searchCriteria, uint* recordCount, long* minRowId, long* maxRowId);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordPayload(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, long rowId, ushort** payload);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordLocaleTags(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, const(wchar)* locale, HDIAGNOSTIC_EVENT_TAG_DESCRIPTION__** hTagDescription);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqFreeDiagnosticRecordLocaleTags(HDIAGNOSTIC_EVENT_TAG_DESCRIPTION__* hTagDescription);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordLocaleTagAtIndex(HDIAGNOSTIC_EVENT_TAG_DESCRIPTION__* hTagDescription, uint index, DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION* tagDescription);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordLocaleTagCount(HDIAGNOSTIC_EVENT_TAG_DESCRIPTION__* hTagDescription, uint* tagDescriptionCount);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordProducers(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION__** hProducerDescription);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqFreeDiagnosticRecordProducers(HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION__* hProducerDescription);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordProducerAtIndex(HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION__* hProducerDescription, uint index, DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION* producerDescription);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordProducerCount(HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION__* hProducerDescription, uint* producerDescriptionCount);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordProducerCategories(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, const(wchar)* producerName, HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION__** hCategoryDescription);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqFreeDiagnosticRecordProducerCategories(HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION__* hCategoryDescription);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordCategoryAtIndex(HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION__* hCategoryDescription, uint index, DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION* categoryDescription);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordCategoryCount(HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION__* hCategoryDescription, uint* categoryDescriptionCount);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqIsDiagnosticRecordSampledIn(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, const(Guid)* providerGroup, const(Guid)* providerId, const(wchar)* providerName, const(uint)* eventId, const(wchar)* eventName, const(uint)* eventVersion, const(ulong)* eventKeywords, int* isSampledIn);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordPage(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, DIAGNOSTIC_DATA_SEARCH_CRITERIA* searchCriteria, uint offset, uint pageRecordCount, long baseRowId, HDIAGNOSTIC_RECORD__** hRecord);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqFreeDiagnosticRecordPage(HDIAGNOSTIC_RECORD__* hRecord);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordAtIndex(HDIAGNOSTIC_RECORD__* hRecord, uint index, DIAGNOSTIC_DATA_RECORD* record);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordCount(HDIAGNOSTIC_RECORD__* hRecord, uint* recordCount);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticReportStoreReportCount(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, uint reportStoreType, uint* reportCount);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqCancelDiagnosticRecordOperation(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticReport(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, uint reportStoreType, HDIAGNOSTIC_REPORT__** hReport);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqFreeDiagnosticReport(HDIAGNOSTIC_REPORT__* hReport);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticReportAtIndex(HDIAGNOSTIC_REPORT__* hReport, uint index, DIAGNOSTIC_REPORT_DATA* report);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticReportCount(HDIAGNOSTIC_REPORT__* hReport, uint* reportCount);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqExtractDiagnosticReport(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, uint reportStoreType, const(wchar)* reportKey, const(wchar)* destinationPath);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordTagDistribution(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, char* producerNames, uint producerNameCount, char* tagStats, uint* statCount);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordBinaryDistribution(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, char* producerNames, uint producerNameCount, uint topNBinaries, char* binaryStats, uint* statCount);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetDiagnosticRecordSummary(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, char* producerNames, uint producerNameCount, DIAGNOSTIC_DATA_GENERAL_STATS* generalStats);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqSetTranscriptConfiguration(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, const(DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION)* desiredConfig);
@DllImport("DiagnosticDataQuery.dll")
HRESULT DdqGetTranscriptConfiguration(HDIAGNOSTIC_DATA_QUERY_SESSION__* hSession, DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION* currentConfig);
@DllImport("ADVAPI32.dll")
BOOL SetThreadToken(int* Thread, HANDLE Token);
@DllImport("ADVAPI32.dll")
BOOL OpenProcessToken(HANDLE ProcessHandle, uint DesiredAccess, int* TokenHandle);
@DllImport("ADVAPI32.dll")
BOOL OpenThreadToken(HANDLE ThreadHandle, uint DesiredAccess, BOOL OpenAsSelf, int* TokenHandle);
@DllImport("KERNEL32.dll")
BOOL InstallELAMCertificateInfo(HANDLE ELAMFile);
@DllImport("ADVAPI32.dll")
BOOL AccessCheckAndAuditAlarmA(const(char)* SubsystemName, void* HandleId, const(char)* ObjectTypeName, const(char)* ObjectName, void* SecurityDescriptor, uint DesiredAccess, GENERIC_MAPPING* GenericMapping, BOOL ObjectCreation, uint* GrantedAccess, int* AccessStatus, int* pfGenerateOnClose);
@DllImport("ADVAPI32.dll")
BOOL AccessCheckByTypeAndAuditAlarmA(const(char)* SubsystemName, void* HandleId, const(char)* ObjectTypeName, const(char)* ObjectName, void* SecurityDescriptor, void* PrincipalSelfSid, uint DesiredAccess, AUDIT_EVENT_TYPE AuditType, uint Flags, char* ObjectTypeList, uint ObjectTypeListLength, GENERIC_MAPPING* GenericMapping, BOOL ObjectCreation, uint* GrantedAccess, int* AccessStatus, int* pfGenerateOnClose);
@DllImport("ADVAPI32.dll")
BOOL AccessCheckByTypeResultListAndAuditAlarmA(const(char)* SubsystemName, void* HandleId, const(char)* ObjectTypeName, const(char)* ObjectName, void* SecurityDescriptor, void* PrincipalSelfSid, uint DesiredAccess, AUDIT_EVENT_TYPE AuditType, uint Flags, char* ObjectTypeList, uint ObjectTypeListLength, GENERIC_MAPPING* GenericMapping, BOOL ObjectCreation, char* GrantedAccess, char* AccessStatusList, int* pfGenerateOnClose);
@DllImport("ADVAPI32.dll")
BOOL AccessCheckByTypeResultListAndAuditAlarmByHandleA(const(char)* SubsystemName, void* HandleId, HANDLE ClientToken, const(char)* ObjectTypeName, const(char)* ObjectName, void* SecurityDescriptor, void* PrincipalSelfSid, uint DesiredAccess, AUDIT_EVENT_TYPE AuditType, uint Flags, char* ObjectTypeList, uint ObjectTypeListLength, GENERIC_MAPPING* GenericMapping, BOOL ObjectCreation, char* GrantedAccess, char* AccessStatusList, int* pfGenerateOnClose);
@DllImport("ADVAPI32.dll")
BOOL ObjectOpenAuditAlarmA(const(char)* SubsystemName, void* HandleId, const(char)* ObjectTypeName, const(char)* ObjectName, void* pSecurityDescriptor, HANDLE ClientToken, uint DesiredAccess, uint GrantedAccess, PRIVILEGE_SET* Privileges, BOOL ObjectCreation, BOOL AccessGranted, int* GenerateOnClose);
@DllImport("ADVAPI32.dll")
BOOL ObjectPrivilegeAuditAlarmA(const(char)* SubsystemName, void* HandleId, HANDLE ClientToken, uint DesiredAccess, PRIVILEGE_SET* Privileges, BOOL AccessGranted);
@DllImport("ADVAPI32.dll")
BOOL ObjectCloseAuditAlarmA(const(char)* SubsystemName, void* HandleId, BOOL GenerateOnClose);
@DllImport("ADVAPI32.dll")
BOOL ObjectDeleteAuditAlarmA(const(char)* SubsystemName, void* HandleId, BOOL GenerateOnClose);
@DllImport("ADVAPI32.dll")
BOOL PrivilegedServiceAuditAlarmA(const(char)* SubsystemName, const(char)* ServiceName, HANDLE ClientToken, PRIVILEGE_SET* Privileges, BOOL AccessGranted);
@DllImport("ADVAPI32.dll")
BOOL AddConditionalAce(ACL* pAcl, uint dwAceRevision, uint AceFlags, ubyte AceType, uint AccessMask, void* pSid, const(wchar)* ConditionStr, uint* ReturnLength);
@DllImport("ADVAPI32.dll")
BOOL SetFileSecurityA(const(char)* lpFileName, uint SecurityInformation, void* pSecurityDescriptor);
@DllImport("ADVAPI32.dll")
BOOL GetFileSecurityA(const(char)* lpFileName, uint RequestedInformation, char* pSecurityDescriptor, uint nLength, uint* lpnLengthNeeded);
@DllImport("ADVAPI32.dll")
BOOL LookupAccountSidA(const(char)* lpSystemName, void* Sid, const(char)* Name, uint* cchName, const(char)* ReferencedDomainName, uint* cchReferencedDomainName, SID_NAME_USE* peUse);
@DllImport("ADVAPI32.dll")
BOOL LookupAccountSidW(const(wchar)* lpSystemName, void* Sid, const(wchar)* Name, uint* cchName, const(wchar)* ReferencedDomainName, uint* cchReferencedDomainName, SID_NAME_USE* peUse);
@DllImport("ADVAPI32.dll")
BOOL LookupAccountNameA(const(char)* lpSystemName, const(char)* lpAccountName, char* Sid, uint* cbSid, const(char)* ReferencedDomainName, uint* cchReferencedDomainName, SID_NAME_USE* peUse);
@DllImport("ADVAPI32.dll")
BOOL LookupAccountNameW(const(wchar)* lpSystemName, const(wchar)* lpAccountName, char* Sid, uint* cbSid, const(wchar)* ReferencedDomainName, uint* cchReferencedDomainName, SID_NAME_USE* peUse);
@DllImport("ADVAPI32.dll")
BOOL LookupPrivilegeValueA(const(char)* lpSystemName, const(char)* lpName, LUID* lpLuid);
@DllImport("ADVAPI32.dll")
BOOL LookupPrivilegeValueW(const(wchar)* lpSystemName, const(wchar)* lpName, LUID* lpLuid);
@DllImport("ADVAPI32.dll")
BOOL LookupPrivilegeNameA(const(char)* lpSystemName, LUID* lpLuid, const(char)* lpName, uint* cchName);
@DllImport("ADVAPI32.dll")
BOOL LookupPrivilegeNameW(const(wchar)* lpSystemName, LUID* lpLuid, const(wchar)* lpName, uint* cchName);
@DllImport("ADVAPI32.dll")
BOOL LookupPrivilegeDisplayNameA(const(char)* lpSystemName, const(char)* lpName, const(char)* lpDisplayName, uint* cchDisplayName, uint* lpLanguageId);
@DllImport("ADVAPI32.dll")
BOOL LookupPrivilegeDisplayNameW(const(wchar)* lpSystemName, const(wchar)* lpName, const(wchar)* lpDisplayName, uint* cchDisplayName, uint* lpLanguageId);
@DllImport("ADVAPI32.dll")
BOOL LogonUserA(const(char)* lpszUsername, const(char)* lpszDomain, const(char)* lpszPassword, uint dwLogonType, uint dwLogonProvider, int* phToken);
@DllImport("ADVAPI32.dll")
BOOL LogonUserW(const(wchar)* lpszUsername, const(wchar)* lpszDomain, const(wchar)* lpszPassword, uint dwLogonType, uint dwLogonProvider, int* phToken);
@DllImport("ADVAPI32.dll")
BOOL LogonUserExA(const(char)* lpszUsername, const(char)* lpszDomain, const(char)* lpszPassword, uint dwLogonType, uint dwLogonProvider, int* phToken, void** ppLogonSid, char* ppProfileBuffer, uint* pdwProfileLength, QUOTA_LIMITS* pQuotaLimits);
@DllImport("ADVAPI32.dll")
BOOL LogonUserExW(const(wchar)* lpszUsername, const(wchar)* lpszDomain, const(wchar)* lpszPassword, uint dwLogonType, uint dwLogonProvider, int* phToken, void** ppLogonSid, char* ppProfileBuffer, uint* pdwProfileLength, QUOTA_LIMITS* pQuotaLimits);
@DllImport("ADVAPI32.dll")
LSTATUS RegGetKeySecurity(HKEY hKey, uint SecurityInformation, char* pSecurityDescriptor, uint* lpcbSecurityDescriptor);
@DllImport("ADVAPI32.dll")
LSTATUS RegSetKeySecurity(HKEY hKey, uint SecurityInformation, void* pSecurityDescriptor);
@DllImport("ntdll.dll")
NTSTATUS RtlConvertSidToUnicodeString(UNICODE_STRING* UnicodeString, void* Sid, ubyte AllocateDestinationString);
alias HCERTCHAINENGINE = int;
alias HCRYPTASYNC = int;
alias LsaHandle = int;
struct GENERIC_MAPPING
{
uint GenericRead;
uint GenericWrite;
uint GenericExecute;
uint GenericAll;
}
struct LUID_AND_ATTRIBUTES
{
LUID Luid;
uint Attributes;
}
struct SID_IDENTIFIER_AUTHORITY
{
ubyte Value;
}
struct SID
{
ubyte Revision;
ubyte SubAuthorityCount;
SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
uint SubAuthority;
}
enum SID_NAME_USE
{
SidTypeUser = 1,
SidTypeGroup = 2,
SidTypeDomain = 3,
SidTypeAlias = 4,
SidTypeWellKnownGroup = 5,
SidTypeDeletedAccount = 6,
SidTypeInvalid = 7,
SidTypeUnknown = 8,
SidTypeComputer = 9,
SidTypeLabel = 10,
SidTypeLogonSession = 11,
}
struct SID_AND_ATTRIBUTES
{
void* Sid;
uint Attributes;
}
struct SID_AND_ATTRIBUTES_HASH
{
uint SidCount;
SID_AND_ATTRIBUTES* SidAttr;
uint Hash;
}
enum WELL_KNOWN_SID_TYPE
{
WinNullSid = 0,
WinWorldSid = 1,
WinLocalSid = 2,
WinCreatorOwnerSid = 3,
WinCreatorGroupSid = 4,
WinCreatorOwnerServerSid = 5,
WinCreatorGroupServerSid = 6,
WinNtAuthoritySid = 7,
WinDialupSid = 8,
WinNetworkSid = 9,
WinBatchSid = 10,
WinInteractiveSid = 11,
WinServiceSid = 12,
WinAnonymousSid = 13,
WinProxySid = 14,
WinEnterpriseControllersSid = 15,
WinSelfSid = 16,
WinAuthenticatedUserSid = 17,
WinRestrictedCodeSid = 18,
WinTerminalServerSid = 19,
WinRemoteLogonIdSid = 20,
WinLogonIdsSid = 21,
WinLocalSystemSid = 22,
WinLocalServiceSid = 23,
WinNetworkServiceSid = 24,
WinBuiltinDomainSid = 25,
WinBuiltinAdministratorsSid = 26,
WinBuiltinUsersSid = 27,
WinBuiltinGuestsSid = 28,
WinBuiltinPowerUsersSid = 29,
WinBuiltinAccountOperatorsSid = 30,
WinBuiltinSystemOperatorsSid = 31,
WinBuiltinPrintOperatorsSid = 32,
WinBuiltinBackupOperatorsSid = 33,
WinBuiltinReplicatorSid = 34,
WinBuiltinPreWindows2000CompatibleAccessSid = 35,
WinBuiltinRemoteDesktopUsersSid = 36,
WinBuiltinNetworkConfigurationOperatorsSid = 37,
WinAccountAdministratorSid = 38,
WinAccountGuestSid = 39,
WinAccountKrbtgtSid = 40,
WinAccountDomainAdminsSid = 41,
WinAccountDomainUsersSid = 42,
WinAccountDomainGuestsSid = 43,
WinAccountComputersSid = 44,
WinAccountControllersSid = 45,
WinAccountCertAdminsSid = 46,
WinAccountSchemaAdminsSid = 47,
WinAccountEnterpriseAdminsSid = 48,
WinAccountPolicyAdminsSid = 49,
WinAccountRasAndIasServersSid = 50,
WinNTLMAuthenticationSid = 51,
WinDigestAuthenticationSid = 52,
WinSChannelAuthenticationSid = 53,
WinThisOrganizationSid = 54,
WinOtherOrganizationSid = 55,
WinBuiltinIncomingForestTrustBuildersSid = 56,
WinBuiltinPerfMonitoringUsersSid = 57,
WinBuiltinPerfLoggingUsersSid = 58,
WinBuiltinAuthorizationAccessSid = 59,
WinBuiltinTerminalServerLicenseServersSid = 60,
WinBuiltinDCOMUsersSid = 61,
WinBuiltinIUsersSid = 62,
WinIUserSid = 63,
WinBuiltinCryptoOperatorsSid = 64,
WinUntrustedLabelSid = 65,
WinLowLabelSid = 66,
WinMediumLabelSid = 67,
WinHighLabelSid = 68,
WinSystemLabelSid = 69,
WinWriteRestrictedCodeSid = 70,
WinCreatorOwnerRightsSid = 71,
WinCacheablePrincipalsGroupSid = 72,
WinNonCacheablePrincipalsGroupSid = 73,
WinEnterpriseReadonlyControllersSid = 74,
WinAccountReadonlyControllersSid = 75,
WinBuiltinEventLogReadersGroup = 76,
WinNewEnterpriseReadonlyControllersSid = 77,
WinBuiltinCertSvcDComAccessGroup = 78,
WinMediumPlusLabelSid = 79,
WinLocalLogonSid = 80,
WinConsoleLogonSid = 81,
WinThisOrganizationCertificateSid = 82,
WinApplicationPackageAuthoritySid = 83,
WinBuiltinAnyPackageSid = 84,
WinCapabilityInternetClientSid = 85,
WinCapabilityInternetClientServerSid = 86,
WinCapabilityPrivateNetworkClientServerSid = 87,
WinCapabilityPicturesLibrarySid = 88,
WinCapabilityVideosLibrarySid = 89,
WinCapabilityMusicLibrarySid = 90,
WinCapabilityDocumentsLibrarySid = 91,
WinCapabilitySharedUserCertificatesSid = 92,
WinCapabilityEnterpriseAuthenticationSid = 93,
WinCapabilityRemovableStorageSid = 94,
WinBuiltinRDSRemoteAccessServersSid = 95,
WinBuiltinRDSEndpointServersSid = 96,
WinBuiltinRDSManagementServersSid = 97,
WinUserModeDriversSid = 98,
WinBuiltinHyperVAdminsSid = 99,
WinAccountCloneableControllersSid = 100,
WinBuiltinAccessControlAssistanceOperatorsSid = 101,
WinBuiltinRemoteManagementUsersSid = 102,
WinAuthenticationAuthorityAssertedSid = 103,
WinAuthenticationServiceAssertedSid = 104,
WinLocalAccountSid = 105,
WinLocalAccountAndAdministratorSid = 106,
WinAccountProtectedUsersSid = 107,
WinCapabilityAppointmentsSid = 108,
WinCapabilityContactsSid = 109,
WinAccountDefaultSystemManagedSid = 110,
WinBuiltinDefaultSystemManagedGroupSid = 111,
WinBuiltinStorageReplicaAdminsSid = 112,
WinAccountKeyAdminsSid = 113,
WinAccountEnterpriseKeyAdminsSid = 114,
WinAuthenticationKeyTrustSid = 115,
WinAuthenticationKeyPropertyMFASid = 116,
WinAuthenticationKeyPropertyAttestationSid = 117,
WinAuthenticationFreshKeyAuthSid = 118,
WinBuiltinDeviceOwnersSid = 119,
}
struct ACL
{
ubyte AclRevision;
ubyte Sbz1;
ushort AclSize;
ushort AceCount;
ushort Sbz2;
}
struct ACE_HEADER
{
ubyte AceType;
ubyte AceFlags;
ushort AceSize;
}
struct ACCESS_ALLOWED_ACE
{
ACE_HEADER Header;
uint Mask;
uint SidStart;
}
struct ACCESS_DENIED_ACE
{
ACE_HEADER Header;
uint Mask;
uint SidStart;
}
struct SYSTEM_AUDIT_ACE
{
ACE_HEADER Header;
uint Mask;
uint SidStart;
}
struct SYSTEM_ALARM_ACE
{
ACE_HEADER Header;
uint Mask;
uint SidStart;
}
struct SYSTEM_RESOURCE_ATTRIBUTE_ACE
{
ACE_HEADER Header;
uint Mask;
uint SidStart;
}
struct SYSTEM_SCOPED_POLICY_ID_ACE
{
ACE_HEADER Header;
uint Mask;
uint SidStart;
}
struct SYSTEM_MANDATORY_LABEL_ACE
{
ACE_HEADER Header;
uint Mask;
uint SidStart;
}
struct ACCESS_ALLOWED_OBJECT_ACE
{
ACE_HEADER Header;
uint Mask;
uint Flags;
Guid ObjectType;
Guid InheritedObjectType;
uint SidStart;
}
struct ACCESS_DENIED_OBJECT_ACE
{
ACE_HEADER Header;
uint Mask;
uint Flags;
Guid ObjectType;
Guid InheritedObjectType;
uint SidStart;
}
struct SYSTEM_AUDIT_OBJECT_ACE
{
ACE_HEADER Header;
uint Mask;
uint Flags;
Guid ObjectType;
Guid InheritedObjectType;
uint SidStart;
}
struct SYSTEM_ALARM_OBJECT_ACE
{
ACE_HEADER Header;
uint Mask;
uint Flags;
Guid ObjectType;
Guid InheritedObjectType;
uint SidStart;
}
struct ACCESS_ALLOWED_CALLBACK_ACE
{
ACE_HEADER Header;
uint Mask;
uint SidStart;
}
struct ACCESS_DENIED_CALLBACK_ACE
{
ACE_HEADER Header;
uint Mask;
uint SidStart;
}
struct SYSTEM_AUDIT_CALLBACK_ACE
{
ACE_HEADER Header;
uint Mask;
uint SidStart;
}
struct SYSTEM_ALARM_CALLBACK_ACE
{
ACE_HEADER Header;
uint Mask;
uint SidStart;
}
struct ACCESS_ALLOWED_CALLBACK_OBJECT_ACE
{
ACE_HEADER Header;
uint Mask;
uint Flags;
Guid ObjectType;
Guid InheritedObjectType;
uint SidStart;
}
struct ACCESS_DENIED_CALLBACK_OBJECT_ACE
{
ACE_HEADER Header;
uint Mask;
uint Flags;
Guid ObjectType;
Guid InheritedObjectType;
uint SidStart;
}
struct SYSTEM_AUDIT_CALLBACK_OBJECT_ACE
{
ACE_HEADER Header;
uint Mask;
uint Flags;
Guid ObjectType;
Guid InheritedObjectType;
uint SidStart;
}
struct SYSTEM_ALARM_CALLBACK_OBJECT_ACE
{
ACE_HEADER Header;
uint Mask;
uint Flags;
Guid ObjectType;
Guid InheritedObjectType;
uint SidStart;
}
enum ACL_INFORMATION_CLASS
{
AclRevisionInformation = 1,
AclSizeInformation = 2,
}
struct ACL_REVISION_INFORMATION
{
uint AclRevision;
}
struct ACL_SIZE_INFORMATION
{
uint AceCount;
uint AclBytesInUse;
uint AclBytesFree;
}
struct SECURITY_DESCRIPTOR
{
ubyte Revision;
ubyte Sbz1;
ushort Control;
void* Owner;
void* Group;
ACL* Sacl;
ACL* Dacl;
}
struct OBJECT_TYPE_LIST
{
ushort Level;
ushort Sbz;
Guid* ObjectType;
}
enum AUDIT_EVENT_TYPE
{
AuditEventObjectAccess = 0,
AuditEventDirectoryServiceAccess = 1,
}
struct PRIVILEGE_SET
{
uint PrivilegeCount;
uint Control;
LUID_AND_ATTRIBUTES Privilege;
}
enum SECURITY_IMPERSONATION_LEVEL
{
SecurityAnonymous = 0,
SecurityIdentification = 1,
SecurityImpersonation = 2,
SecurityDelegation = 3,
}
enum TOKEN_TYPE
{
TokenPrimary = 1,
TokenImpersonation = 2,
}
enum TOKEN_ELEVATION_TYPE
{
TokenElevationTypeDefault = 1,
TokenElevationTypeFull = 2,
TokenElevationTypeLimited = 3,
}
enum TOKEN_INFORMATION_CLASS
{
TokenUser = 1,
TokenGroups = 2,
TokenPrivileges = 3,
TokenOwner = 4,
TokenPrimaryGroup = 5,
TokenDefaultDacl = 6,
TokenSource = 7,
TokenType = 8,
TokenImpersonationLevel = 9,
TokenStatistics = 10,
TokenRestrictedSids = 11,
TokenSessionId = 12,
TokenGroupsAndPrivileges = 13,
TokenSessionReference = 14,
TokenSandBoxInert = 15,
TokenAuditPolicy = 16,
TokenOrigin = 17,
TokenElevationType = 18,
TokenLinkedToken = 19,
TokenElevation = 20,
TokenHasRestrictions = 21,
TokenAccessInformation = 22,
TokenVirtualizationAllowed = 23,
TokenVirtualizationEnabled = 24,
TokenIntegrityLevel = 25,
TokenUIAccess = 26,
TokenMandatoryPolicy = 27,
TokenLogonSid = 28,
TokenIsAppContainer = 29,
TokenCapabilities = 30,
TokenAppContainerSid = 31,
TokenAppContainerNumber = 32,
TokenUserClaimAttributes = 33,
TokenDeviceClaimAttributes = 34,
TokenRestrictedUserClaimAttributes = 35,
TokenRestrictedDeviceClaimAttributes = 36,
TokenDeviceGroups = 37,
TokenRestrictedDeviceGroups = 38,
TokenSecurityAttributes = 39,
TokenIsRestricted = 40,
TokenProcessTrustLevel = 41,
TokenPrivateNameSpace = 42,
TokenSingletonAttributes = 43,
TokenBnoIsolation = 44,
TokenChildProcessFlags = 45,
TokenIsLessPrivilegedAppContainer = 46,
TokenIsSandboxed = 47,
TokenOriginatingProcessTrustLevel = 48,
MaxTokenInfoClass = 49,
}
struct TOKEN_USER
{
SID_AND_ATTRIBUTES User;
}
struct TOKEN_GROUPS
{
uint GroupCount;
SID_AND_ATTRIBUTES Groups;
}
struct TOKEN_PRIVILEGES
{
uint PrivilegeCount;
LUID_AND_ATTRIBUTES Privileges;
}
struct TOKEN_OWNER
{
void* Owner;
}
struct TOKEN_PRIMARY_GROUP
{
void* PrimaryGroup;
}
struct TOKEN_DEFAULT_DACL
{
ACL* DefaultDacl;
}
struct TOKEN_USER_CLAIMS
{
void* UserClaims;
}
struct TOKEN_DEVICE_CLAIMS
{
void* DeviceClaims;
}
struct TOKEN_GROUPS_AND_PRIVILEGES
{
uint SidCount;
uint SidLength;
SID_AND_ATTRIBUTES* Sids;
uint RestrictedSidCount;
uint RestrictedSidLength;
SID_AND_ATTRIBUTES* RestrictedSids;
uint PrivilegeCount;
uint PrivilegeLength;
LUID_AND_ATTRIBUTES* Privileges;
LUID AuthenticationId;
}
struct TOKEN_LINKED_TOKEN
{
HANDLE LinkedToken;
}
struct TOKEN_ELEVATION
{
uint TokenIsElevated;
}
struct TOKEN_MANDATORY_LABEL
{
SID_AND_ATTRIBUTES Label;
}
struct TOKEN_MANDATORY_POLICY
{
uint Policy;
}
struct TOKEN_ACCESS_INFORMATION
{
SID_AND_ATTRIBUTES_HASH* SidHash;
SID_AND_ATTRIBUTES_HASH* RestrictedSidHash;
TOKEN_PRIVILEGES* Privileges;
LUID AuthenticationId;
TOKEN_TYPE TokenType;
SECURITY_IMPERSONATION_LEVEL ImpersonationLevel;
TOKEN_MANDATORY_POLICY MandatoryPolicy;
uint Flags;
uint AppContainerNumber;
void* PackageSid;
SID_AND_ATTRIBUTES_HASH* CapabilitiesHash;
void* TrustLevelSid;
void* SecurityAttributes;
}
struct TOKEN_AUDIT_POLICY
{
ubyte PerUserPolicy;
}
struct TOKEN_SOURCE
{
byte SourceName;
LUID SourceIdentifier;
}
struct TOKEN_STATISTICS
{
LUID TokenId;
LUID AuthenticationId;
LARGE_INTEGER ExpirationTime;
TOKEN_TYPE TokenType;
SECURITY_IMPERSONATION_LEVEL ImpersonationLevel;
uint DynamicCharged;
uint DynamicAvailable;
uint GroupCount;
uint PrivilegeCount;
LUID ModifiedId;
}
struct TOKEN_CONTROL
{
LUID TokenId;
LUID AuthenticationId;
LUID ModifiedId;
TOKEN_SOURCE TokenSource;
}
struct TOKEN_ORIGIN
{
LUID OriginatingLogonSession;
}
enum MANDATORY_LEVEL
{
MandatoryLevelUntrusted = 0,
MandatoryLevelLow = 1,
MandatoryLevelMedium = 2,
MandatoryLevelHigh = 3,
MandatoryLevelSystem = 4,
MandatoryLevelSecureProcess = 5,
MandatoryLevelCount = 6,
}
struct TOKEN_APPCONTAINER_INFORMATION
{
void* TokenAppContainer;
}
struct CLAIM_SECURITY_ATTRIBUTE_FQBN_VALUE
{
ulong Version;
const(wchar)* Name;
}
struct CLAIM_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE
{
void* pValue;
uint ValueLength;
}
struct CLAIM_SECURITY_ATTRIBUTE_V1
{
const(wchar)* Name;
ushort ValueType;
ushort Reserved;
uint Flags;
uint ValueCount;
_Values_e__Union Values;
}
struct CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1
{
uint Name;
ushort ValueType;
ushort Reserved;
uint Flags;
uint ValueCount;
_Values_e__Union Values;
}
struct CLAIM_SECURITY_ATTRIBUTES_INFORMATION
{
ushort Version;
ushort Reserved;
uint AttributeCount;
_Attribute_e__Union Attribute;
}
struct SECURITY_QUALITY_OF_SERVICE
{
uint Length;
SECURITY_IMPERSONATION_LEVEL ImpersonationLevel;
ubyte ContextTrackingMode;
ubyte EffectiveOnly;
}
struct SECURITY_CAPABILITIES
{
void* AppContainerSid;
SID_AND_ATTRIBUTES* Capabilities;
uint CapabilityCount;
uint Reserved;
}
struct QUOTA_LIMITS
{
uint PagedPoolLimit;
uint NonPagedPoolLimit;
uint MinimumWorkingSetSize;
uint MaximumWorkingSetSize;
uint PagefileLimit;
LARGE_INTEGER TimeLimit;
}
struct UNICODE_STRING
{
ushort Length;
ushort MaximumLength;
const(wchar)* Buffer;
}
struct SEC_WINNT_AUTH_IDENTITY_W
{
ushort* User;
uint UserLength;
ushort* Domain;
uint DomainLength;
ushort* Password;
uint PasswordLength;
uint Flags;
}
struct SEC_WINNT_AUTH_IDENTITY_A
{
ubyte* User;
uint UserLength;
ubyte* Domain;
uint DomainLength;
ubyte* Password;
uint PasswordLength;
uint Flags;
}
struct CMS_KEY_INFO
{
uint dwVersion;
uint Algid;
ubyte* pbOID;
uint cbOID;
}
struct HMAC_Info
{
uint HashAlgid;
ubyte* pbInnerString;
uint cbInnerString;
ubyte* pbOuterString;
uint cbOuterString;
}
struct SCHANNEL_ALG
{
uint dwUse;
uint Algid;
uint cBits;
uint dwFlags;
uint dwReserved;
}
struct PROV_ENUMALGS
{
uint aiAlgid;
uint dwBitLen;
uint dwNameLen;
byte szName;
}
struct PROV_ENUMALGS_EX
{
uint aiAlgid;
uint dwDefaultLen;
uint dwMinLen;
uint dwMaxLen;
uint dwProtocols;
uint dwNameLen;
byte szName;
uint dwLongNameLen;
byte szLongName;
}
struct PUBLICKEYSTRUC
{
ubyte bType;
ubyte bVersion;
ushort reserved;
uint aiKeyAlg;
}
struct RSAPUBKEY
{
uint magic;
uint bitlen;
uint pubexp;
}
struct PUBKEY
{
uint magic;
uint bitlen;
}
struct DSSSEED
{
uint counter;
ubyte seed;
}
struct PUBKEYVER3
{
uint magic;
uint bitlenP;
uint bitlenQ;
uint bitlenJ;
DSSSEED DSSSeed;
}
struct PRIVKEYVER3
{
uint magic;
uint bitlenP;
uint bitlenQ;
uint bitlenJ;
uint bitlenX;
DSSSEED DSSSeed;
}
struct KEY_TYPE_SUBTYPE
{
uint dwKeySpec;
Guid Type;
Guid Subtype;
}
struct CERT_FORTEZZA_DATA_PROP
{
ubyte SerialNumber;
int CertIndex;
ubyte CertLabel;
}
struct CRYPT_RC4_KEY_STATE
{
ubyte Key;
ubyte SBox;
ubyte i;
ubyte j;
}
struct CRYPT_DES_KEY_STATE
{
ubyte Key;
ubyte IV;
ubyte Feedback;
}
struct CRYPT_3DES_KEY_STATE
{
ubyte Key;
ubyte IV;
ubyte Feedback;
}
struct CRYPT_AES_128_KEY_STATE
{
ubyte Key;
ubyte IV;
ubyte EncryptionState;
ubyte DecryptionState;
ubyte Feedback;
}
struct CRYPT_AES_256_KEY_STATE
{
ubyte Key;
ubyte IV;
ubyte EncryptionState;
ubyte DecryptionState;
ubyte Feedback;
}
struct CRYPTOAPI_BLOB
{
uint cbData;
ubyte* pbData;
}
struct CMS_DH_KEY_INFO
{
uint dwVersion;
uint Algid;
const(char)* pszContentEncObjId;
CRYPTOAPI_BLOB PubInfo;
void* pReserved;
}
struct BCRYPT_KEY_LENGTHS_STRUCT
{
uint dwMinLength;
uint dwMaxLength;
uint dwIncrement;
}
struct BCRYPT_OID
{
uint cbOID;
ubyte* pbOID;
}
struct BCRYPT_OID_LIST
{
uint dwOIDCount;
BCRYPT_OID* pOIDs;
}
struct BCRYPT_PKCS1_PADDING_INFO
{
const(wchar)* pszAlgId;
}
struct BCRYPT_PSS_PADDING_INFO
{
const(wchar)* pszAlgId;
uint cbSalt;
}
struct BCRYPT_OAEP_PADDING_INFO
{
const(wchar)* pszAlgId;
ubyte* pbLabel;
uint cbLabel;
}
struct BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO
{
uint cbSize;
uint dwInfoVersion;
ubyte* pbNonce;
uint cbNonce;
ubyte* pbAuthData;
uint cbAuthData;
ubyte* pbTag;
uint cbTag;
ubyte* pbMacContext;
uint cbMacContext;
uint cbAAD;
ulong cbData;
uint dwFlags;
}
struct BCryptBuffer
{
uint cbBuffer;
uint BufferType;
void* pvBuffer;
}
struct BCryptBufferDesc
{
uint ulVersion;
uint cBuffers;
BCryptBuffer* pBuffers;
}
struct BCRYPT_KEY_BLOB
{
uint Magic;
}
struct BCRYPT_RSAKEY_BLOB
{
uint Magic;
uint BitLength;
uint cbPublicExp;
uint cbModulus;
uint cbPrime1;
uint cbPrime2;
}
struct BCRYPT_ECCKEY_BLOB
{
uint dwMagic;
uint cbKey;
}
struct SSL_ECCKEY_BLOB
{
uint dwCurveType;
uint cbKey;
}
enum ECC_CURVE_TYPE_ENUM
{
BCRYPT_ECC_PRIME_SHORT_WEIERSTRASS_CURVE = 1,
BCRYPT_ECC_PRIME_TWISTED_EDWARDS_CURVE = 2,
BCRYPT_ECC_PRIME_MONTGOMERY_CURVE = 3,
}
enum ECC_CURVE_ALG_ID_ENUM
{
BCRYPT_NO_CURVE_GENERATION_ALG_ID = 0,
}
struct BCRYPT_ECCFULLKEY_BLOB
{
uint dwMagic;
uint dwVersion;
ECC_CURVE_TYPE_ENUM dwCurveType;
ECC_CURVE_ALG_ID_ENUM dwCurveGenerationAlgId;
uint cbFieldLength;
uint cbSubgroupOrder;
uint cbCofactor;
uint cbSeed;
}
struct BCRYPT_DH_KEY_BLOB
{
uint dwMagic;
uint cbKey;
}
struct BCRYPT_DH_PARAMETER_HEADER
{
uint cbLength;
uint dwMagic;
uint cbKeyLength;
}
struct BCRYPT_DSA_KEY_BLOB
{
uint dwMagic;
uint cbKey;
ubyte Count;
ubyte Seed;
ubyte q;
}
enum HASHALGORITHM_ENUM
{
DSA_HASH_ALGORITHM_SHA1 = 0,
DSA_HASH_ALGORITHM_SHA256 = 1,
DSA_HASH_ALGORITHM_SHA512 = 2,
}
enum DSAFIPSVERSION_ENUM
{
DSA_FIPS186_2 = 0,
DSA_FIPS186_3 = 1,
}
struct BCRYPT_DSA_KEY_BLOB_V2
{
uint dwMagic;
uint cbKey;
HASHALGORITHM_ENUM hashAlgorithm;
DSAFIPSVERSION_ENUM standardVersion;
uint cbSeedLength;
uint cbGroupSize;
ubyte Count;
}
struct BCRYPT_KEY_DATA_BLOB_HEADER
{
uint dwMagic;
uint dwVersion;
uint cbKeyData;
}
struct BCRYPT_DSA_PARAMETER_HEADER
{
uint cbLength;
uint dwMagic;
uint cbKeyLength;
ubyte Count;
ubyte Seed;
ubyte q;
}
struct BCRYPT_DSA_PARAMETER_HEADER_V2
{
uint cbLength;
uint dwMagic;
uint cbKeyLength;
HASHALGORITHM_ENUM hashAlgorithm;
DSAFIPSVERSION_ENUM standardVersion;
uint cbSeedLength;
uint cbGroupSize;
ubyte Count;
}
struct BCRYPT_ECC_CURVE_NAMES
{
uint dwEccCurveNames;
ushort** pEccCurveNames;
}
enum BCRYPT_HASH_OPERATION_TYPE
{
BCRYPT_HASH_OPERATION_HASH_DATA = 1,
BCRYPT_HASH_OPERATION_FINISH_HASH = 2,
}
struct BCRYPT_MULTI_HASH_OPERATION
{
uint iHash;
BCRYPT_HASH_OPERATION_TYPE hashOperation;
ubyte* pbBuffer;
uint cbBuffer;
}
enum BCRYPT_MULTI_OPERATION_TYPE
{
BCRYPT_OPERATION_TYPE_HASH = 1,
}
struct BCRYPT_MULTI_OBJECT_LENGTH_STRUCT
{
uint cbPerObject;
uint cbPerElement;
}
struct BCRYPT_ALGORITHM_IDENTIFIER
{
const(wchar)* pszName;
uint dwClass;
uint dwFlags;
}
struct BCRYPT_PROVIDER_NAME
{
const(wchar)* pszProviderName;
}
struct BCRYPT_INTERFACE_VERSION
{
ushort MajorVersion;
ushort MinorVersion;
}
struct CRYPT_INTERFACE_REG
{
uint dwInterface;
uint dwFlags;
uint cFunctions;
ushort** rgpszFunctions;
}
struct CRYPT_IMAGE_REG
{
const(wchar)* pszImage;
uint cInterfaces;
CRYPT_INTERFACE_REG** rgpInterfaces;
}
struct CRYPT_PROVIDER_REG
{
uint cAliases;
ushort** rgpszAliases;
CRYPT_IMAGE_REG* pUM;
CRYPT_IMAGE_REG* pKM;
}
struct CRYPT_PROVIDERS
{
uint cProviders;
ushort** rgpszProviders;
}
struct CRYPT_CONTEXT_CONFIG
{
uint dwFlags;
uint dwReserved;
}
struct CRYPT_CONTEXT_FUNCTION_CONFIG
{
uint dwFlags;
uint dwReserved;
}
struct CRYPT_CONTEXTS
{
uint cContexts;
ushort** rgpszContexts;
}
struct CRYPT_CONTEXT_FUNCTIONS
{
uint cFunctions;
ushort** rgpszFunctions;
}
struct CRYPT_CONTEXT_FUNCTION_PROVIDERS
{
uint cProviders;
ushort** rgpszProviders;
}
struct CRYPT_PROPERTY_REF
{
const(wchar)* pszProperty;
uint cbValue;
ubyte* pbValue;
}
struct CRYPT_IMAGE_REF
{
const(wchar)* pszImage;
uint dwFlags;
}
struct CRYPT_PROVIDER_REF
{
uint dwInterface;
const(wchar)* pszFunction;
const(wchar)* pszProvider;
uint cProperties;
CRYPT_PROPERTY_REF** rgpProperties;
CRYPT_IMAGE_REF* pUM;
CRYPT_IMAGE_REF* pKM;
}
struct CRYPT_PROVIDER_REFS
{
uint cProviders;
CRYPT_PROVIDER_REF** rgpProviders;
}
alias PFN_NCRYPT_ALLOC = extern(Windows) void* function(uint cbSize);
alias PFN_NCRYPT_FREE = extern(Windows) void function(void* pv);
struct NCRYPT_ALLOC_PARA
{
uint cbSize;
PFN_NCRYPT_ALLOC pfnAlloc;
PFN_NCRYPT_FREE pfnFree;
}
struct NCRYPT_CIPHER_PADDING_INFO
{
uint cbSize;
uint dwFlags;
ubyte* pbIV;
uint cbIV;
ubyte* pbOtherInfo;
uint cbOtherInfo;
}
struct NCRYPT_PLATFORM_ATTEST_PADDING_INFO
{
uint magic;
uint pcrMask;
}
struct NCRYPT_KEY_ATTEST_PADDING_INFO
{
uint magic;
ubyte* pbKeyBlob;
uint cbKeyBlob;
ubyte* pbKeyAuth;
uint cbKeyAuth;
}
struct NCRYPT_ISOLATED_KEY_ATTESTED_ATTRIBUTES
{
uint Version;
uint Flags;
uint cbPublicKeyBlob;
}
struct NCRYPT_VSM_KEY_ATTESTATION_STATEMENT
{
uint Magic;
uint Version;
uint cbSignature;
uint cbReport;
uint cbAttributes;
}
struct NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS
{
uint Version;
ulong TrustletId;
uint MinSvn;
uint FlagsMask;
uint FlagsExpected;
uint _bitfield;
}
struct NCRYPT_EXPORTED_ISOLATED_KEY_HEADER
{
uint Version;
uint KeyUsage;
uint _bitfield;
uint cbAlgName;
uint cbNonce;
uint cbAuthTag;
uint cbWrappingKey;
uint cbIsolatedKey;
}
struct NCRYPT_EXPORTED_ISOLATED_KEY_ENVELOPE
{
NCRYPT_EXPORTED_ISOLATED_KEY_HEADER Header;
}
struct __NCRYPT_PCP_TPM_WEB_AUTHN_ATTESTATION_STATEMENT
{
uint Magic;
uint Version;
uint HeaderSize;
uint cbCertifyInfo;
uint cbSignature;
uint cbTpmPublic;
}
struct NCRYPT_TPM_PLATFORM_ATTESTATION_STATEMENT
{
uint Magic;
uint Version;
uint pcrAlg;
uint cbSignature;
uint cbQuote;
uint cbPcrs;
}
struct NCryptAlgorithmName
{
const(wchar)* pszName;
uint dwClass;
uint dwAlgOperations;
uint dwFlags;
}
struct NCryptKeyName
{
const(wchar)* pszName;
const(wchar)* pszAlgid;
uint dwLegacyKeySpec;
uint dwFlags;
}
struct NCryptProviderName
{
const(wchar)* pszName;
const(wchar)* pszComment;
}
struct NCRYPT_UI_POLICY
{
uint dwVersion;
uint dwFlags;
const(wchar)* pszCreationTitle;
const(wchar)* pszFriendlyName;
const(wchar)* pszDescription;
}
struct __NCRYPT_KEY_ACCESS_POLICY_BLOB
{
uint dwVersion;
uint dwPolicyFlags;
uint cbUserSid;
uint cbApplicationSid;
}
struct NCRYPT_SUPPORTED_LENGTHS
{
uint dwMinLength;
uint dwMaxLength;
uint dwIncrement;
uint dwDefaultLength;
}
struct __NCRYPT_PCP_HMAC_AUTH_SIGNATURE_INFO
{
uint dwVersion;
int iExpiration;
ubyte pabNonce;
ubyte pabPolicyRef;
ubyte pabHMAC;
}
struct __NCRYPT_PCP_TPM_FW_VERSION_INFO
{
ushort major1;
ushort major2;
ushort minor1;
ushort minor2;
}
struct __NCRYPT_PCP_RAW_POLICYDIGEST
{
uint dwVersion;
uint cbDigest;
}
struct NCRYPT_KEY_BLOB_HEADER
{
uint cbSize;
uint dwMagic;
uint cbAlgName;
uint cbKeyData;
}
struct NCRYPT_TPM_LOADABLE_KEY_BLOB_HEADER
{
uint magic;
uint cbHeader;
uint cbPublic;
uint cbPrivate;
uint cbName;
}
struct CRYPT_BIT_BLOB
{
uint cbData;
ubyte* pbData;
uint cUnusedBits;
}
struct CRYPT_ALGORITHM_IDENTIFIER
{
const(char)* pszObjId;
CRYPTOAPI_BLOB Parameters;
}
struct CRYPT_OBJID_TABLE
{
uint dwAlgId;
const(char)* pszObjId;
}
struct CRYPT_HASH_INFO
{
CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
CRYPTOAPI_BLOB Hash;
}
struct CERT_EXTENSION
{
const(char)* pszObjId;
BOOL fCritical;
CRYPTOAPI_BLOB Value;
}
struct CRYPT_ATTRIBUTE_TYPE_VALUE
{
const(char)* pszObjId;
CRYPTOAPI_BLOB Value;
}
struct CRYPT_ATTRIBUTE
{
const(char)* pszObjId;
uint cValue;
CRYPTOAPI_BLOB* rgValue;
}
struct CRYPT_ATTRIBUTES
{
uint cAttr;
CRYPT_ATTRIBUTE* rgAttr;
}
struct CERT_RDN_ATTR
{
const(char)* pszObjId;
uint dwValueType;
CRYPTOAPI_BLOB Value;
}
struct CERT_RDN
{
uint cRDNAttr;
CERT_RDN_ATTR* rgRDNAttr;
}
struct CERT_NAME_INFO
{
uint cRDN;
CERT_RDN* rgRDN;
}
struct CERT_NAME_VALUE
{
uint dwValueType;
CRYPTOAPI_BLOB Value;
}
struct CERT_PUBLIC_KEY_INFO
{
CRYPT_ALGORITHM_IDENTIFIER Algorithm;
CRYPT_BIT_BLOB PublicKey;
}
struct CRYPT_ECC_PRIVATE_KEY_INFO
{
uint dwVersion;
CRYPTOAPI_BLOB PrivateKey;
const(char)* szCurveOid;
CRYPT_BIT_BLOB PublicKey;
}
struct CRYPT_PRIVATE_KEY_INFO
{
uint Version;
CRYPT_ALGORITHM_IDENTIFIER Algorithm;
CRYPTOAPI_BLOB PrivateKey;
CRYPT_ATTRIBUTES* pAttributes;
}
struct CRYPT_ENCRYPTED_PRIVATE_KEY_INFO
{
CRYPT_ALGORITHM_IDENTIFIER EncryptionAlgorithm;
CRYPTOAPI_BLOB EncryptedPrivateKey;
}
alias PCRYPT_DECRYPT_PRIVATE_KEY_FUNC = extern(Windows) BOOL function(CRYPT_ALGORITHM_IDENTIFIER Algorithm, CRYPTOAPI_BLOB EncryptedPrivateKey, char* pbClearTextKey, uint* pcbClearTextKey, void* pVoidDecryptFunc);
alias PCRYPT_ENCRYPT_PRIVATE_KEY_FUNC = extern(Windows) BOOL function(CRYPT_ALGORITHM_IDENTIFIER* pAlgorithm, CRYPTOAPI_BLOB* pClearTextPrivateKey, char* pbEncryptedKey, uint* pcbEncryptedKey, void* pVoidEncryptFunc);
alias PCRYPT_RESOLVE_HCRYPTPROV_FUNC = extern(Windows) BOOL function(CRYPT_PRIVATE_KEY_INFO* pPrivateKeyInfo, uint* phCryptProv, void* pVoidResolveFunc);
struct CRYPT_PKCS8_IMPORT_PARAMS
{
CRYPTOAPI_BLOB PrivateKey;
PCRYPT_RESOLVE_HCRYPTPROV_FUNC pResolvehCryptProvFunc;
void* pVoidResolveFunc;
PCRYPT_DECRYPT_PRIVATE_KEY_FUNC pDecryptPrivateKeyFunc;
void* pVoidDecryptFunc;
}
struct CRYPT_PKCS8_EXPORT_PARAMS
{
uint hCryptProv;
uint dwKeySpec;
const(char)* pszPrivateKeyObjId;
PCRYPT_ENCRYPT_PRIVATE_KEY_FUNC pEncryptPrivateKeyFunc;
void* pVoidEncryptFunc;
}
struct CERT_INFO
{
uint dwVersion;
CRYPTOAPI_BLOB SerialNumber;
CRYPT_ALGORITHM_IDENTIFIER SignatureAlgorithm;
CRYPTOAPI_BLOB Issuer;
FILETIME NotBefore;
FILETIME NotAfter;
CRYPTOAPI_BLOB Subject;
CERT_PUBLIC_KEY_INFO SubjectPublicKeyInfo;
CRYPT_BIT_BLOB IssuerUniqueId;
CRYPT_BIT_BLOB SubjectUniqueId;
uint cExtension;
CERT_EXTENSION* rgExtension;
}
struct CRL_ENTRY
{
CRYPTOAPI_BLOB SerialNumber;
FILETIME RevocationDate;
uint cExtension;
CERT_EXTENSION* rgExtension;
}
struct CRL_INFO
{
uint dwVersion;
CRYPT_ALGORITHM_IDENTIFIER SignatureAlgorithm;
CRYPTOAPI_BLOB Issuer;
FILETIME ThisUpdate;
FILETIME NextUpdate;
uint cCRLEntry;
CRL_ENTRY* rgCRLEntry;
uint cExtension;
CERT_EXTENSION* rgExtension;
}
struct CERT_OR_CRL_BLOB
{
uint dwChoice;
uint cbEncoded;
ubyte* pbEncoded;
}
struct CERT_OR_CRL_BUNDLE
{
uint cItem;
CERT_OR_CRL_BLOB* rgItem;
}
struct CERT_REQUEST_INFO
{
uint dwVersion;
CRYPTOAPI_BLOB Subject;
CERT_PUBLIC_KEY_INFO SubjectPublicKeyInfo;
uint cAttribute;
CRYPT_ATTRIBUTE* rgAttribute;
}
struct CERT_KEYGEN_REQUEST_INFO
{
uint dwVersion;
CERT_PUBLIC_KEY_INFO SubjectPublicKeyInfo;
const(wchar)* pwszChallengeString;
}
struct CERT_SIGNED_CONTENT_INFO
{
CRYPTOAPI_BLOB ToBeSigned;
CRYPT_ALGORITHM_IDENTIFIER SignatureAlgorithm;
CRYPT_BIT_BLOB Signature;
}
struct CTL_USAGE
{
uint cUsageIdentifier;
byte** rgpszUsageIdentifier;
}
struct CTL_ENTRY
{
CRYPTOAPI_BLOB SubjectIdentifier;
uint cAttribute;
CRYPT_ATTRIBUTE* rgAttribute;
}
struct CTL_INFO
{
uint dwVersion;
CTL_USAGE SubjectUsage;
CRYPTOAPI_BLOB ListIdentifier;
CRYPTOAPI_BLOB SequenceNumber;
FILETIME ThisUpdate;
FILETIME NextUpdate;
CRYPT_ALGORITHM_IDENTIFIER SubjectAlgorithm;
uint cCTLEntry;
CTL_ENTRY* rgCTLEntry;
uint cExtension;
CERT_EXTENSION* rgExtension;
}
struct CRYPT_TIME_STAMP_REQUEST_INFO
{
const(char)* pszTimeStampAlgorithm;
const(char)* pszContentType;
CRYPTOAPI_BLOB Content;
uint cAttribute;
CRYPT_ATTRIBUTE* rgAttribute;
}
struct CRYPT_ENROLLMENT_NAME_VALUE_PAIR
{
const(wchar)* pwszName;
const(wchar)* pwszValue;
}
struct CRYPT_CSP_PROVIDER
{
uint dwKeySpec;
const(wchar)* pwszProviderName;
CRYPT_BIT_BLOB Signature;
}
alias PFN_CRYPT_ALLOC = extern(Windows) void* function(uint cbSize);
alias PFN_CRYPT_FREE = extern(Windows) void function(void* pv);
struct CRYPT_ENCODE_PARA
{
uint cbSize;
PFN_CRYPT_ALLOC pfnAlloc;
PFN_CRYPT_FREE pfnFree;
}
struct CRYPT_DECODE_PARA
{
uint cbSize;
PFN_CRYPT_ALLOC pfnAlloc;
PFN_CRYPT_FREE pfnFree;
}
struct CERT_EXTENSIONS
{
uint cExtension;
CERT_EXTENSION* rgExtension;
}
struct CERT_AUTHORITY_KEY_ID_INFO
{
CRYPTOAPI_BLOB KeyId;
CRYPTOAPI_BLOB CertIssuer;
CRYPTOAPI_BLOB CertSerialNumber;
}
struct CERT_PRIVATE_KEY_VALIDITY
{
FILETIME NotBefore;
FILETIME NotAfter;
}
struct CERT_KEY_ATTRIBUTES_INFO
{
CRYPTOAPI_BLOB KeyId;
CRYPT_BIT_BLOB IntendedKeyUsage;
CERT_PRIVATE_KEY_VALIDITY* pPrivateKeyUsagePeriod;
}
struct CERT_POLICY_ID
{
uint cCertPolicyElementId;
byte** rgpszCertPolicyElementId;
}
struct CERT_KEY_USAGE_RESTRICTION_INFO
{
uint cCertPolicyId;
CERT_POLICY_ID* rgCertPolicyId;
CRYPT_BIT_BLOB RestrictedKeyUsage;
}
struct CERT_OTHER_NAME
{
const(char)* pszObjId;
CRYPTOAPI_BLOB Value;
}
struct CERT_ALT_NAME_ENTRY
{
uint dwAltNameChoice;
_Anonymous_e__Union Anonymous;
}
struct CERT_ALT_NAME_INFO
{
uint cAltEntry;
CERT_ALT_NAME_ENTRY* rgAltEntry;
}
struct CERT_BASIC_CONSTRAINTS_INFO
{
CRYPT_BIT_BLOB SubjectType;
BOOL fPathLenConstraint;
uint dwPathLenConstraint;
uint cSubtreesConstraint;
CRYPTOAPI_BLOB* rgSubtreesConstraint;
}
struct CERT_BASIC_CONSTRAINTS2_INFO
{
BOOL fCA;
BOOL fPathLenConstraint;
uint dwPathLenConstraint;
}
struct CERT_POLICY_QUALIFIER_INFO
{
const(char)* pszPolicyQualifierId;
CRYPTOAPI_BLOB Qualifier;
}
struct CERT_POLICY_INFO
{
const(char)* pszPolicyIdentifier;
uint cPolicyQualifier;
CERT_POLICY_QUALIFIER_INFO* rgPolicyQualifier;
}
struct CERT_POLICIES_INFO
{
uint cPolicyInfo;
CERT_POLICY_INFO* rgPolicyInfo;
}
struct CERT_POLICY_QUALIFIER_NOTICE_REFERENCE
{
const(char)* pszOrganization;
uint cNoticeNumbers;
int* rgNoticeNumbers;
}
struct CERT_POLICY_QUALIFIER_USER_NOTICE
{
CERT_POLICY_QUALIFIER_NOTICE_REFERENCE* pNoticeReference;
const(wchar)* pszDisplayText;
}
struct CPS_URLS
{
const(wchar)* pszURL;
CRYPT_ALGORITHM_IDENTIFIER* pAlgorithm;
CRYPTOAPI_BLOB* pDigest;
}
struct CERT_POLICY95_QUALIFIER1
{
const(wchar)* pszPracticesReference;
const(char)* pszNoticeIdentifier;
const(char)* pszNSINoticeIdentifier;
uint cCPSURLs;
CPS_URLS* rgCPSURLs;
}
struct CERT_POLICY_MAPPING
{
const(char)* pszIssuerDomainPolicy;
const(char)* pszSubjectDomainPolicy;
}
struct CERT_POLICY_MAPPINGS_INFO
{
uint cPolicyMapping;
CERT_POLICY_MAPPING* rgPolicyMapping;
}
struct CERT_POLICY_CONSTRAINTS_INFO
{
BOOL fRequireExplicitPolicy;
uint dwRequireExplicitPolicySkipCerts;
BOOL fInhibitPolicyMapping;
uint dwInhibitPolicyMappingSkipCerts;
}
struct CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY
{
const(char)* pszObjId;
uint cValue;
CRYPTOAPI_BLOB* rgValue;
}
struct CRYPT_CONTENT_INFO
{
const(char)* pszObjId;
CRYPTOAPI_BLOB Content;
}
struct CRYPT_SEQUENCE_OF_ANY
{
uint cValue;
CRYPTOAPI_BLOB* rgValue;
}
struct CERT_AUTHORITY_KEY_ID2_INFO
{
CRYPTOAPI_BLOB KeyId;
CERT_ALT_NAME_INFO AuthorityCertIssuer;
CRYPTOAPI_BLOB AuthorityCertSerialNumber;
}
struct CERT_ACCESS_DESCRIPTION
{
const(char)* pszAccessMethod;
CERT_ALT_NAME_ENTRY AccessLocation;
}
struct CERT_AUTHORITY_INFO_ACCESS
{
uint cAccDescr;
CERT_ACCESS_DESCRIPTION* rgAccDescr;
}
struct CRL_DIST_POINT_NAME
{
uint dwDistPointNameChoice;
_Anonymous_e__Union Anonymous;
}
struct CRL_DIST_POINT
{
CRL_DIST_POINT_NAME DistPointName;
CRYPT_BIT_BLOB ReasonFlags;
CERT_ALT_NAME_INFO CRLIssuer;
}
struct CRL_DIST_POINTS_INFO
{
uint cDistPoint;
CRL_DIST_POINT* rgDistPoint;
}
struct CROSS_CERT_DIST_POINTS_INFO
{
uint dwSyncDeltaTime;
uint cDistPoint;
CERT_ALT_NAME_INFO* rgDistPoint;
}
struct CERT_PAIR
{
CRYPTOAPI_BLOB Forward;
CRYPTOAPI_BLOB Reverse;
}
struct CRL_ISSUING_DIST_POINT
{
CRL_DIST_POINT_NAME DistPointName;
BOOL fOnlyContainsUserCerts;
BOOL fOnlyContainsCACerts;
CRYPT_BIT_BLOB OnlySomeReasonFlags;
BOOL fIndirectCRL;
}
struct CERT_GENERAL_SUBTREE
{
CERT_ALT_NAME_ENTRY Base;
uint dwMinimum;
BOOL fMaximum;
uint dwMaximum;
}
struct CERT_NAME_CONSTRAINTS_INFO
{
uint cPermittedSubtree;
CERT_GENERAL_SUBTREE* rgPermittedSubtree;
uint cExcludedSubtree;
CERT_GENERAL_SUBTREE* rgExcludedSubtree;
}
struct CERT_DSS_PARAMETERS
{
CRYPTOAPI_BLOB p;
CRYPTOAPI_BLOB q;
CRYPTOAPI_BLOB g;
}
struct CERT_DH_PARAMETERS
{
CRYPTOAPI_BLOB p;
CRYPTOAPI_BLOB g;
}
struct CERT_ECC_SIGNATURE
{
CRYPTOAPI_BLOB r;
CRYPTOAPI_BLOB s;
}
struct CERT_X942_DH_VALIDATION_PARAMS
{
CRYPT_BIT_BLOB seed;
uint pgenCounter;
}
struct CERT_X942_DH_PARAMETERS
{
CRYPTOAPI_BLOB p;
CRYPTOAPI_BLOB g;
CRYPTOAPI_BLOB q;
CRYPTOAPI_BLOB j;
CERT_X942_DH_VALIDATION_PARAMS* pValidationParams;
}
struct CRYPT_X942_OTHER_INFO
{
const(char)* pszContentEncryptionObjId;
ubyte rgbCounter;
ubyte rgbKeyLength;
CRYPTOAPI_BLOB PubInfo;
}
struct CRYPT_ECC_CMS_SHARED_INFO
{
CRYPT_ALGORITHM_IDENTIFIER Algorithm;
CRYPTOAPI_BLOB EntityUInfo;
ubyte rgbSuppPubInfo;
}
struct CRYPT_RC2_CBC_PARAMETERS
{
uint dwVersion;
BOOL fIV;
ubyte rgbIV;
}
struct CRYPT_SMIME_CAPABILITY
{
const(char)* pszObjId;
CRYPTOAPI_BLOB Parameters;
}
struct CRYPT_SMIME_CAPABILITIES
{
uint cCapability;
CRYPT_SMIME_CAPABILITY* rgCapability;
}
struct CERT_QC_STATEMENT
{
const(char)* pszStatementId;
CRYPTOAPI_BLOB StatementInfo;
}
struct CERT_QC_STATEMENTS_EXT_INFO
{
uint cStatement;
CERT_QC_STATEMENT* rgStatement;
}
struct CRYPT_MASK_GEN_ALGORITHM
{
const(char)* pszObjId;
CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
}
struct CRYPT_RSA_SSA_PSS_PARAMETERS
{
CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
CRYPT_MASK_GEN_ALGORITHM MaskGenAlgorithm;
uint dwSaltLength;
uint dwTrailerField;
}
struct CRYPT_PSOURCE_ALGORITHM
{
const(char)* pszObjId;
CRYPTOAPI_BLOB EncodingParameters;
}
struct CRYPT_RSAES_OAEP_PARAMETERS
{
CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
CRYPT_MASK_GEN_ALGORITHM MaskGenAlgorithm;
CRYPT_PSOURCE_ALGORITHM PSourceAlgorithm;
}
struct CMC_TAGGED_ATTRIBUTE
{
uint dwBodyPartID;
CRYPT_ATTRIBUTE Attribute;
}
struct CMC_TAGGED_CERT_REQUEST
{
uint dwBodyPartID;
CRYPTOAPI_BLOB SignedCertRequest;
}
struct CMC_TAGGED_REQUEST
{
uint dwTaggedRequestChoice;
_Anonymous_e__Union Anonymous;
}
struct CMC_TAGGED_CONTENT_INFO
{
uint dwBodyPartID;
CRYPTOAPI_BLOB EncodedContentInfo;
}
struct CMC_TAGGED_OTHER_MSG
{
uint dwBodyPartID;
const(char)* pszObjId;
CRYPTOAPI_BLOB Value;
}
struct CMC_DATA_INFO
{
uint cTaggedAttribute;
CMC_TAGGED_ATTRIBUTE* rgTaggedAttribute;
uint cTaggedRequest;
CMC_TAGGED_REQUEST* rgTaggedRequest;
uint cTaggedContentInfo;
CMC_TAGGED_CONTENT_INFO* rgTaggedContentInfo;
uint cTaggedOtherMsg;
CMC_TAGGED_OTHER_MSG* rgTaggedOtherMsg;
}
struct CMC_RESPONSE_INFO
{
uint cTaggedAttribute;
CMC_TAGGED_ATTRIBUTE* rgTaggedAttribute;
uint cTaggedContentInfo;
CMC_TAGGED_CONTENT_INFO* rgTaggedContentInfo;
uint cTaggedOtherMsg;
CMC_TAGGED_OTHER_MSG* rgTaggedOtherMsg;
}
struct CMC_PEND_INFO
{
CRYPTOAPI_BLOB PendToken;
FILETIME PendTime;
}
struct CMC_STATUS_INFO
{
uint dwStatus;
uint cBodyList;
uint* rgdwBodyList;
const(wchar)* pwszStatusString;
uint dwOtherInfoChoice;
_Anonymous_e__Union Anonymous;
}
struct CMC_ADD_EXTENSIONS_INFO
{
uint dwCmcDataReference;
uint cCertReference;
uint* rgdwCertReference;
uint cExtension;
CERT_EXTENSION* rgExtension;
}
struct CMC_ADD_ATTRIBUTES_INFO
{
uint dwCmcDataReference;
uint cCertReference;
uint* rgdwCertReference;
uint cAttribute;
CRYPT_ATTRIBUTE* rgAttribute;
}
struct CERT_TEMPLATE_EXT
{
const(char)* pszObjId;
uint dwMajorVersion;
BOOL fMinorVersion;
uint dwMinorVersion;
}
struct CERT_HASHED_URL
{
CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
CRYPTOAPI_BLOB Hash;
const(wchar)* pwszUrl;
}
struct CERT_LOGOTYPE_DETAILS
{
const(wchar)* pwszMimeType;
uint cHashedUrl;
CERT_HASHED_URL* rgHashedUrl;
}
struct CERT_LOGOTYPE_REFERENCE
{
uint cHashedUrl;
CERT_HASHED_URL* rgHashedUrl;
}
struct CERT_LOGOTYPE_IMAGE_INFO
{
uint dwLogotypeImageInfoChoice;
uint dwFileSize;
uint dwXSize;
uint dwYSize;
uint dwLogotypeImageResolutionChoice;
_Anonymous_e__Union Anonymous;
const(wchar)* pwszLanguage;
}
struct CERT_LOGOTYPE_IMAGE
{
CERT_LOGOTYPE_DETAILS LogotypeDetails;
CERT_LOGOTYPE_IMAGE_INFO* pLogotypeImageInfo;
}
struct CERT_LOGOTYPE_AUDIO_INFO
{
uint dwFileSize;
uint dwPlayTime;
uint dwChannels;
uint dwSampleRate;
const(wchar)* pwszLanguage;
}
struct CERT_LOGOTYPE_AUDIO
{
CERT_LOGOTYPE_DETAILS LogotypeDetails;
CERT_LOGOTYPE_AUDIO_INFO* pLogotypeAudioInfo;
}
struct CERT_LOGOTYPE_DATA
{
uint cLogotypeImage;
CERT_LOGOTYPE_IMAGE* rgLogotypeImage;
uint cLogotypeAudio;
CERT_LOGOTYPE_AUDIO* rgLogotypeAudio;
}
struct CERT_LOGOTYPE_INFO
{
uint dwLogotypeInfoChoice;
_Anonymous_e__Union Anonymous;
}
struct CERT_OTHER_LOGOTYPE_INFO
{
const(char)* pszObjId;
CERT_LOGOTYPE_INFO LogotypeInfo;
}
struct CERT_LOGOTYPE_EXT_INFO
{
uint cCommunityLogo;
CERT_LOGOTYPE_INFO* rgCommunityLogo;
CERT_LOGOTYPE_INFO* pIssuerLogo;
CERT_LOGOTYPE_INFO* pSubjectLogo;
uint cOtherLogo;
CERT_OTHER_LOGOTYPE_INFO* rgOtherLogo;
}
struct CERT_BIOMETRIC_DATA
{
uint dwTypeOfBiometricDataChoice;
_Anonymous_e__Union Anonymous;
CERT_HASHED_URL HashedUrl;
}
struct CERT_BIOMETRIC_EXT_INFO
{
uint cBiometricData;
CERT_BIOMETRIC_DATA* rgBiometricData;
}
struct OCSP_SIGNATURE_INFO
{
CRYPT_ALGORITHM_IDENTIFIER SignatureAlgorithm;
CRYPT_BIT_BLOB Signature;
uint cCertEncoded;
CRYPTOAPI_BLOB* rgCertEncoded;
}
struct OCSP_SIGNED_REQUEST_INFO
{
CRYPTOAPI_BLOB ToBeSigned;
OCSP_SIGNATURE_INFO* pOptionalSignatureInfo;
}
struct OCSP_CERT_ID
{
CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
CRYPTOAPI_BLOB IssuerNameHash;
CRYPTOAPI_BLOB IssuerKeyHash;
CRYPTOAPI_BLOB SerialNumber;
}
struct OCSP_REQUEST_ENTRY
{
OCSP_CERT_ID CertId;
uint cExtension;
CERT_EXTENSION* rgExtension;
}
struct OCSP_REQUEST_INFO
{
uint dwVersion;
CERT_ALT_NAME_ENTRY* pRequestorName;
uint cRequestEntry;
OCSP_REQUEST_ENTRY* rgRequestEntry;
uint cExtension;
CERT_EXTENSION* rgExtension;
}
struct OCSP_RESPONSE_INFO
{
uint dwStatus;
const(char)* pszObjId;
CRYPTOAPI_BLOB Value;
}
struct OCSP_BASIC_SIGNED_RESPONSE_INFO
{
CRYPTOAPI_BLOB ToBeSigned;
OCSP_SIGNATURE_INFO SignatureInfo;
}
struct OCSP_BASIC_REVOKED_INFO
{
FILETIME RevocationDate;
uint dwCrlReasonCode;
}
struct OCSP_BASIC_RESPONSE_ENTRY
{
OCSP_CERT_ID CertId;
uint dwCertStatus;
_Anonymous_e__Union Anonymous;
FILETIME ThisUpdate;
FILETIME NextUpdate;
uint cExtension;
CERT_EXTENSION* rgExtension;
}
struct OCSP_BASIC_RESPONSE_INFO
{
uint dwVersion;
uint dwResponderIdChoice;
_Anonymous_e__Union Anonymous;
FILETIME ProducedAt;
uint cResponseEntry;
OCSP_BASIC_RESPONSE_ENTRY* rgResponseEntry;
uint cExtension;
CERT_EXTENSION* rgExtension;
}
struct CERT_SUPPORTED_ALGORITHM_INFO
{
CRYPT_ALGORITHM_IDENTIFIER Algorithm;
CRYPT_BIT_BLOB IntendedKeyUsage;
CERT_POLICIES_INFO IntendedCertPolicies;
}
struct CERT_TPM_SPECIFICATION_INFO
{
const(wchar)* pwszFamily;
uint dwLevel;
uint dwRevision;
}
struct CRYPT_OID_FUNC_ENTRY
{
const(char)* pszOID;
void* pvFuncAddr;
}
alias PFN_CRYPT_ENUM_OID_FUNC = extern(Windows) BOOL function(uint dwEncodingType, const(char)* pszFuncName, const(char)* pszOID, uint cValue, char* rgdwValueType, char* rgpwszValueName, char* rgpbValueData, char* rgcbValueData, void* pvArg);
struct CRYPT_OID_INFO
{
uint cbSize;
const(char)* pszOID;
const(wchar)* pwszName;
uint dwGroupId;
_Anonymous_e__Union Anonymous;
CRYPTOAPI_BLOB ExtraInfo;
}
alias PFN_CRYPT_ENUM_OID_INFO = extern(Windows) BOOL function(CRYPT_OID_INFO* pInfo, void* pvArg);
struct CERT_STRONG_SIGN_SERIALIZED_INFO
{
uint dwFlags;
const(wchar)* pwszCNGSignHashAlgids;
const(wchar)* pwszCNGPubKeyMinBitLengths;
}
struct CERT_STRONG_SIGN_PARA
{
uint cbSize;
uint dwInfoChoice;
_Anonymous_e__Union Anonymous;
}
struct CERT_ISSUER_SERIAL_NUMBER
{
CRYPTOAPI_BLOB Issuer;
CRYPTOAPI_BLOB SerialNumber;
}
struct CERT_ID
{
uint dwIdChoice;
_Anonymous_e__Union Anonymous;
}
struct CMSG_SIGNER_ENCODE_INFO
{
uint cbSize;
CERT_INFO* pCertInfo;
_Anonymous_e__Union Anonymous;
uint dwKeySpec;
CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
void* pvHashAuxInfo;
uint cAuthAttr;
CRYPT_ATTRIBUTE* rgAuthAttr;
uint cUnauthAttr;
CRYPT_ATTRIBUTE* rgUnauthAttr;
}
struct CMSG_SIGNED_ENCODE_INFO
{
uint cbSize;
uint cSigners;
CMSG_SIGNER_ENCODE_INFO* rgSigners;
uint cCertEncoded;
CRYPTOAPI_BLOB* rgCertEncoded;
uint cCrlEncoded;
CRYPTOAPI_BLOB* rgCrlEncoded;
}
struct CMSG_ENVELOPED_ENCODE_INFO
{
uint cbSize;
uint hCryptProv;
CRYPT_ALGORITHM_IDENTIFIER ContentEncryptionAlgorithm;
void* pvEncryptionAuxInfo;
uint cRecipients;
CERT_INFO** rgpRecipients;
}
struct CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO
{
uint cbSize;
CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm;
void* pvKeyEncryptionAuxInfo;
uint hCryptProv;
CRYPT_BIT_BLOB RecipientPublicKey;
CERT_ID RecipientId;
}
struct CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO
{
uint cbSize;
CRYPT_BIT_BLOB RecipientPublicKey;
CERT_ID RecipientId;
FILETIME Date;
CRYPT_ATTRIBUTE_TYPE_VALUE* pOtherAttr;
}
struct CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO
{
uint cbSize;
CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm;
void* pvKeyEncryptionAuxInfo;
CRYPT_ALGORITHM_IDENTIFIER KeyWrapAlgorithm;
void* pvKeyWrapAuxInfo;
uint hCryptProv;
uint dwKeySpec;
uint dwKeyChoice;
_Anonymous_e__Union Anonymous;
CRYPTOAPI_BLOB UserKeyingMaterial;
uint cRecipientEncryptedKeys;
CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO** rgpRecipientEncryptedKeys;
}
struct CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO
{
uint cbSize;
CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm;
void* pvKeyEncryptionAuxInfo;
uint hCryptProv;
uint dwKeyChoice;
_Anonymous_e__Union Anonymous;
CRYPTOAPI_BLOB KeyId;
FILETIME Date;
CRYPT_ATTRIBUTE_TYPE_VALUE* pOtherAttr;
}
struct CMSG_RECIPIENT_ENCODE_INFO
{
uint dwRecipientChoice;
_Anonymous_e__Union Anonymous;
}
struct CMSG_RC2_AUX_INFO
{
uint cbSize;
uint dwBitLen;
}
struct CMSG_SP3_COMPATIBLE_AUX_INFO
{
uint cbSize;
uint dwFlags;
}
struct CMSG_RC4_AUX_INFO
{
uint cbSize;
uint dwBitLen;
}
struct CMSG_SIGNED_AND_ENVELOPED_ENCODE_INFO
{
uint cbSize;
CMSG_SIGNED_ENCODE_INFO SignedInfo;
CMSG_ENVELOPED_ENCODE_INFO EnvelopedInfo;
}
struct CMSG_HASHED_ENCODE_INFO
{
uint cbSize;
uint hCryptProv;
CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
void* pvHashAuxInfo;
}
struct CMSG_ENCRYPTED_ENCODE_INFO
{
uint cbSize;
CRYPT_ALGORITHM_IDENTIFIER ContentEncryptionAlgorithm;
void* pvEncryptionAuxInfo;
}
alias PFN_CMSG_STREAM_OUTPUT = extern(Windows) BOOL function(const(void)* pvArg, char* pbData, uint cbData, BOOL fFinal);
struct CMSG_STREAM_INFO
{
uint cbContent;
PFN_CMSG_STREAM_OUTPUT pfnStreamOutput;
void* pvArg;
}
struct CMSG_SIGNER_INFO
{
uint dwVersion;
CRYPTOAPI_BLOB Issuer;
CRYPTOAPI_BLOB SerialNumber;
CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
CRYPT_ALGORITHM_IDENTIFIER HashEncryptionAlgorithm;
CRYPTOAPI_BLOB EncryptedHash;
CRYPT_ATTRIBUTES AuthAttrs;
CRYPT_ATTRIBUTES UnauthAttrs;
}
struct CMSG_CMS_SIGNER_INFO
{
uint dwVersion;
CERT_ID SignerId;
CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
CRYPT_ALGORITHM_IDENTIFIER HashEncryptionAlgorithm;
CRYPTOAPI_BLOB EncryptedHash;
CRYPT_ATTRIBUTES AuthAttrs;
CRYPT_ATTRIBUTES UnauthAttrs;
}
struct CMSG_KEY_TRANS_RECIPIENT_INFO
{
uint dwVersion;
CERT_ID RecipientId;
CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm;
CRYPTOAPI_BLOB EncryptedKey;
}
struct CMSG_RECIPIENT_ENCRYPTED_KEY_INFO
{
CERT_ID RecipientId;
CRYPTOAPI_BLOB EncryptedKey;
FILETIME Date;
CRYPT_ATTRIBUTE_TYPE_VALUE* pOtherAttr;
}
struct CMSG_KEY_AGREE_RECIPIENT_INFO
{
uint dwVersion;
uint dwOriginatorChoice;
_Anonymous_e__Union Anonymous;
CRYPTOAPI_BLOB UserKeyingMaterial;
CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm;
uint cRecipientEncryptedKeys;
CMSG_RECIPIENT_ENCRYPTED_KEY_INFO** rgpRecipientEncryptedKeys;
}
struct CMSG_MAIL_LIST_RECIPIENT_INFO
{
uint dwVersion;
CRYPTOAPI_BLOB KeyId;
CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm;
CRYPTOAPI_BLOB EncryptedKey;
FILETIME Date;
CRYPT_ATTRIBUTE_TYPE_VALUE* pOtherAttr;
}
struct CMSG_CMS_RECIPIENT_INFO
{
uint dwRecipientChoice;
_Anonymous_e__Union Anonymous;
}
struct CMSG_CTRL_VERIFY_SIGNATURE_EX_PARA
{
uint cbSize;
uint hCryptProv;
uint dwSignerIndex;
uint dwSignerType;
void* pvSigner;
}
struct CMSG_CTRL_DECRYPT_PARA
{
uint cbSize;
_Anonymous_e__Union Anonymous;
uint dwKeySpec;
uint dwRecipientIndex;
}
struct CMSG_CTRL_KEY_TRANS_DECRYPT_PARA
{
uint cbSize;
_Anonymous_e__Union Anonymous;
uint dwKeySpec;
CMSG_KEY_TRANS_RECIPIENT_INFO* pKeyTrans;
uint dwRecipientIndex;
}
struct CMSG_CTRL_KEY_AGREE_DECRYPT_PARA
{
uint cbSize;
_Anonymous_e__Union Anonymous;
uint dwKeySpec;
CMSG_KEY_AGREE_RECIPIENT_INFO* pKeyAgree;
uint dwRecipientIndex;
uint dwRecipientEncryptedKeyIndex;
CRYPT_BIT_BLOB OriginatorPublicKey;
}
struct CMSG_CTRL_MAIL_LIST_DECRYPT_PARA
{
uint cbSize;
uint hCryptProv;
CMSG_MAIL_LIST_RECIPIENT_INFO* pMailList;
uint dwRecipientIndex;
uint dwKeyChoice;
_Anonymous_e__Union Anonymous;
}
struct CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA
{
uint cbSize;
uint dwSignerIndex;
CRYPTOAPI_BLOB blob;
}
struct CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA
{
uint cbSize;
uint dwSignerIndex;
uint dwUnauthAttrIndex;
}
alias PFN_CMSG_ALLOC = extern(Windows) void* function(uint cb);
alias PFN_CMSG_FREE = extern(Windows) void function(void* pv);
alias PFN_CMSG_GEN_ENCRYPT_KEY = extern(Windows) BOOL function(uint* phCryptProv, CRYPT_ALGORITHM_IDENTIFIER* paiEncrypt, void* pvEncryptAuxInfo, CERT_PUBLIC_KEY_INFO* pPublicKeyInfo, PFN_CMSG_ALLOC pfnAlloc, uint* phEncryptKey, ubyte** ppbEncryptParameters, uint* pcbEncryptParameters);
alias PFN_CMSG_EXPORT_ENCRYPT_KEY = extern(Windows) BOOL function(uint hCryptProv, uint hEncryptKey, CERT_PUBLIC_KEY_INFO* pPublicKeyInfo, char* pbData, uint* pcbData);
alias PFN_CMSG_IMPORT_ENCRYPT_KEY = extern(Windows) BOOL function(uint hCryptProv, uint dwKeySpec, CRYPT_ALGORITHM_IDENTIFIER* paiEncrypt, CRYPT_ALGORITHM_IDENTIFIER* paiPubKey, char* pbEncodedKey, uint cbEncodedKey, uint* phEncryptKey);
struct CMSG_CONTENT_ENCRYPT_INFO
{
uint cbSize;
uint hCryptProv;
CRYPT_ALGORITHM_IDENTIFIER ContentEncryptionAlgorithm;
void* pvEncryptionAuxInfo;
uint cRecipients;
CMSG_RECIPIENT_ENCODE_INFO* rgCmsRecipients;
PFN_CMSG_ALLOC pfnAlloc;
PFN_CMSG_FREE pfnFree;
uint dwEncryptFlags;
_Anonymous_e__Union Anonymous;
uint dwFlags;
BOOL fCNG;
ubyte* pbCNGContentEncryptKeyObject;
ubyte* pbContentEncryptKey;
uint cbContentEncryptKey;
}
alias PFN_CMSG_GEN_CONTENT_ENCRYPT_KEY = extern(Windows) BOOL function(CMSG_CONTENT_ENCRYPT_INFO* pContentEncryptInfo, uint dwFlags, void* pvReserved);
struct CMSG_KEY_TRANS_ENCRYPT_INFO
{
uint cbSize;
uint dwRecipientIndex;
CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm;
CRYPTOAPI_BLOB EncryptedKey;
uint dwFlags;
}
alias PFN_CMSG_EXPORT_KEY_TRANS = extern(Windows) BOOL function(CMSG_CONTENT_ENCRYPT_INFO* pContentEncryptInfo, CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO* pKeyTransEncodeInfo, CMSG_KEY_TRANS_ENCRYPT_INFO* pKeyTransEncryptInfo, uint dwFlags, void* pvReserved);
struct CMSG_KEY_AGREE_KEY_ENCRYPT_INFO
{
uint cbSize;
CRYPTOAPI_BLOB EncryptedKey;
}
struct CMSG_KEY_AGREE_ENCRYPT_INFO
{
uint cbSize;
uint dwRecipientIndex;
CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm;
CRYPTOAPI_BLOB UserKeyingMaterial;
uint dwOriginatorChoice;
_Anonymous_e__Union Anonymous;
uint cKeyAgreeKeyEncryptInfo;
CMSG_KEY_AGREE_KEY_ENCRYPT_INFO** rgpKeyAgreeKeyEncryptInfo;
uint dwFlags;
}
alias PFN_CMSG_EXPORT_KEY_AGREE = extern(Windows) BOOL function(CMSG_CONTENT_ENCRYPT_INFO* pContentEncryptInfo, CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO* pKeyAgreeEncodeInfo, CMSG_KEY_AGREE_ENCRYPT_INFO* pKeyAgreeEncryptInfo, uint dwFlags, void* pvReserved);
struct CMSG_MAIL_LIST_ENCRYPT_INFO
{
uint cbSize;
uint dwRecipientIndex;
CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm;
CRYPTOAPI_BLOB EncryptedKey;
uint dwFlags;
}
alias PFN_CMSG_EXPORT_MAIL_LIST = extern(Windows) BOOL function(CMSG_CONTENT_ENCRYPT_INFO* pContentEncryptInfo, CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO* pMailListEncodeInfo, CMSG_MAIL_LIST_ENCRYPT_INFO* pMailListEncryptInfo, uint dwFlags, void* pvReserved);
alias PFN_CMSG_IMPORT_KEY_TRANS = extern(Windows) BOOL function(CRYPT_ALGORITHM_IDENTIFIER* pContentEncryptionAlgorithm, CMSG_CTRL_KEY_TRANS_DECRYPT_PARA* pKeyTransDecryptPara, uint dwFlags, void* pvReserved, uint* phContentEncryptKey);
alias PFN_CMSG_IMPORT_KEY_AGREE = extern(Windows) BOOL function(CRYPT_ALGORITHM_IDENTIFIER* pContentEncryptionAlgorithm, CMSG_CTRL_KEY_AGREE_DECRYPT_PARA* pKeyAgreeDecryptPara, uint dwFlags, void* pvReserved, uint* phContentEncryptKey);
alias PFN_CMSG_IMPORT_MAIL_LIST = extern(Windows) BOOL function(CRYPT_ALGORITHM_IDENTIFIER* pContentEncryptionAlgorithm, CMSG_CTRL_MAIL_LIST_DECRYPT_PARA* pMailListDecryptPara, uint dwFlags, void* pvReserved, uint* phContentEncryptKey);
struct CMSG_CNG_CONTENT_DECRYPT_INFO
{
uint cbSize;
CRYPT_ALGORITHM_IDENTIFIER ContentEncryptionAlgorithm;
PFN_CMSG_ALLOC pfnAlloc;
PFN_CMSG_FREE pfnFree;
uint hNCryptKey;
ubyte* pbContentEncryptKey;
uint cbContentEncryptKey;
void* hCNGContentEncryptKey;
ubyte* pbCNGContentEncryptKeyObject;
}
alias PFN_CMSG_CNG_IMPORT_KEY_TRANS = extern(Windows) BOOL function(CMSG_CNG_CONTENT_DECRYPT_INFO* pCNGContentDecryptInfo, CMSG_CTRL_KEY_TRANS_DECRYPT_PARA* pKeyTransDecryptPara, uint dwFlags, void* pvReserved);
alias PFN_CMSG_CNG_IMPORT_KEY_AGREE = extern(Windows) BOOL function(CMSG_CNG_CONTENT_DECRYPT_INFO* pCNGContentDecryptInfo, CMSG_CTRL_KEY_AGREE_DECRYPT_PARA* pKeyAgreeDecryptPara, uint dwFlags, void* pvReserved);
alias PFN_CMSG_CNG_IMPORT_CONTENT_ENCRYPT_KEY = extern(Windows) BOOL function(CMSG_CNG_CONTENT_DECRYPT_INFO* pCNGContentDecryptInfo, uint dwFlags, void* pvReserved);
struct CERT_CONTEXT
{
uint dwCertEncodingType;
ubyte* pbCertEncoded;
uint cbCertEncoded;
CERT_INFO* pCertInfo;
void* hCertStore;
}
struct CRL_CONTEXT
{
uint dwCertEncodingType;
ubyte* pbCrlEncoded;
uint cbCrlEncoded;
CRL_INFO* pCrlInfo;
void* hCertStore;
}
struct CTL_CONTEXT
{
uint dwMsgAndCertEncodingType;
ubyte* pbCtlEncoded;
uint cbCtlEncoded;
CTL_INFO* pCtlInfo;
void* hCertStore;
void* hCryptMsg;
ubyte* pbCtlContent;
uint cbCtlContent;
}
enum CertKeyType
{
KeyTypeOther = 0,
KeyTypeVirtualSmartCard = 1,
KeyTypePhysicalSmartCard = 2,
KeyTypePassport = 3,
KeyTypePassportRemote = 4,
KeyTypePassportSmartCard = 5,
KeyTypeHardware = 6,
KeyTypeSoftware = 7,
KeyTypeSelfSigned = 8,
}
struct CRYPT_KEY_PROV_PARAM
{
uint dwParam;
ubyte* pbData;
uint cbData;
uint dwFlags;
}
struct CRYPT_KEY_PROV_INFO
{
const(wchar)* pwszContainerName;
const(wchar)* pwszProvName;
uint dwProvType;
uint dwFlags;
uint cProvParam;
CRYPT_KEY_PROV_PARAM* rgProvParam;
uint dwKeySpec;
}
struct CERT_KEY_CONTEXT
{
uint cbSize;
_Anonymous_e__Union Anonymous;
uint dwKeySpec;
}
struct ROOT_INFO_LUID
{
uint LowPart;
int HighPart;
}
struct CRYPT_SMART_CARD_ROOT_INFO
{
ubyte rgbCardID;
ROOT_INFO_LUID luid;
}
struct CERT_SYSTEM_STORE_RELOCATE_PARA
{
_Anonymous1_e__Union Anonymous1;
_Anonymous2_e__Union Anonymous2;
}
struct CERT_REGISTRY_STORE_CLIENT_GPT_PARA
{
HKEY hKeyBase;
const(wchar)* pwszRegPath;
}
struct CERT_REGISTRY_STORE_ROAMING_PARA
{
HKEY hKey;
const(wchar)* pwszStoreDirectory;
}
struct CERT_LDAP_STORE_OPENED_PARA
{
void* pvLdapSessionHandle;
const(wchar)* pwszLdapUrl;
}
struct CERT_STORE_PROV_INFO
{
uint cbSize;
uint cStoreProvFunc;
void** rgpvStoreProvFunc;
void* hStoreProv;
uint dwStoreProvFlags;
void* hStoreProvFuncAddr2;
}
alias PFN_CERT_DLL_OPEN_STORE_PROV_FUNC = extern(Windows) BOOL function(const(char)* lpszStoreProvider, uint dwEncodingType, uint hCryptProv, uint dwFlags, const(void)* pvPara, void* hCertStore, CERT_STORE_PROV_INFO* pStoreProvInfo);
alias PFN_CERT_STORE_PROV_CLOSE = extern(Windows) void function(void* hStoreProv, uint dwFlags);
alias PFN_CERT_STORE_PROV_READ_CERT = extern(Windows) BOOL function(void* hStoreProv, CERT_CONTEXT* pStoreCertContext, uint dwFlags, CERT_CONTEXT** ppProvCertContext);
alias PFN_CERT_STORE_PROV_WRITE_CERT = extern(Windows) BOOL function(void* hStoreProv, CERT_CONTEXT* pCertContext, uint dwFlags);
alias PFN_CERT_STORE_PROV_DELETE_CERT = extern(Windows) BOOL function(void* hStoreProv, CERT_CONTEXT* pCertContext, uint dwFlags);
alias PFN_CERT_STORE_PROV_SET_CERT_PROPERTY = extern(Windows) BOOL function(void* hStoreProv, CERT_CONTEXT* pCertContext, uint dwPropId, uint dwFlags, const(void)* pvData);
alias PFN_CERT_STORE_PROV_READ_CRL = extern(Windows) BOOL function(void* hStoreProv, CRL_CONTEXT* pStoreCrlContext, uint dwFlags, CRL_CONTEXT** ppProvCrlContext);
alias PFN_CERT_STORE_PROV_WRITE_CRL = extern(Windows) BOOL function(void* hStoreProv, CRL_CONTEXT* pCrlContext, uint dwFlags);
alias PFN_CERT_STORE_PROV_DELETE_CRL = extern(Windows) BOOL function(void* hStoreProv, CRL_CONTEXT* pCrlContext, uint dwFlags);
alias PFN_CERT_STORE_PROV_SET_CRL_PROPERTY = extern(Windows) BOOL function(void* hStoreProv, CRL_CONTEXT* pCrlContext, uint dwPropId, uint dwFlags, const(void)* pvData);
alias PFN_CERT_STORE_PROV_READ_CTL = extern(Windows) BOOL function(void* hStoreProv, CTL_CONTEXT* pStoreCtlContext, uint dwFlags, CTL_CONTEXT** ppProvCtlContext);
alias PFN_CERT_STORE_PROV_WRITE_CTL = extern(Windows) BOOL function(void* hStoreProv, CTL_CONTEXT* pCtlContext, uint dwFlags);
alias PFN_CERT_STORE_PROV_DELETE_CTL = extern(Windows) BOOL function(void* hStoreProv, CTL_CONTEXT* pCtlContext, uint dwFlags);
alias PFN_CERT_STORE_PROV_SET_CTL_PROPERTY = extern(Windows) BOOL function(void* hStoreProv, CTL_CONTEXT* pCtlContext, uint dwPropId, uint dwFlags, const(void)* pvData);
alias PFN_CERT_STORE_PROV_CONTROL = extern(Windows) BOOL function(void* hStoreProv, uint dwFlags, uint dwCtrlType, const(void)* pvCtrlPara);
struct CERT_STORE_PROV_FIND_INFO
{
uint cbSize;
uint dwMsgAndCertEncodingType;
uint dwFindFlags;
uint dwFindType;
const(void)* pvFindPara;
}
alias PFN_CERT_STORE_PROV_FIND_CERT = extern(Windows) BOOL function(void* hStoreProv, CERT_STORE_PROV_FIND_INFO* pFindInfo, CERT_CONTEXT* pPrevCertContext, uint dwFlags, void** ppvStoreProvFindInfo, CERT_CONTEXT** ppProvCertContext);
alias PFN_CERT_STORE_PROV_FREE_FIND_CERT = extern(Windows) BOOL function(void* hStoreProv, CERT_CONTEXT* pCertContext, void* pvStoreProvFindInfo, uint dwFlags);
alias PFN_CERT_STORE_PROV_GET_CERT_PROPERTY = extern(Windows) BOOL function(void* hStoreProv, CERT_CONTEXT* pCertContext, uint dwPropId, uint dwFlags, char* pvData, uint* pcbData);
alias PFN_CERT_STORE_PROV_FIND_CRL = extern(Windows) BOOL function(void* hStoreProv, CERT_STORE_PROV_FIND_INFO* pFindInfo, CRL_CONTEXT* pPrevCrlContext, uint dwFlags, void** ppvStoreProvFindInfo, CRL_CONTEXT** ppProvCrlContext);
alias PFN_CERT_STORE_PROV_FREE_FIND_CRL = extern(Windows) BOOL function(void* hStoreProv, CRL_CONTEXT* pCrlContext, void* pvStoreProvFindInfo, uint dwFlags);
alias PFN_CERT_STORE_PROV_GET_CRL_PROPERTY = extern(Windows) BOOL function(void* hStoreProv, CRL_CONTEXT* pCrlContext, uint dwPropId, uint dwFlags, char* pvData, uint* pcbData);
alias PFN_CERT_STORE_PROV_FIND_CTL = extern(Windows) BOOL function(void* hStoreProv, CERT_STORE_PROV_FIND_INFO* pFindInfo, CTL_CONTEXT* pPrevCtlContext, uint dwFlags, void** ppvStoreProvFindInfo, CTL_CONTEXT** ppProvCtlContext);
alias PFN_CERT_STORE_PROV_FREE_FIND_CTL = extern(Windows) BOOL function(void* hStoreProv, CTL_CONTEXT* pCtlContext, void* pvStoreProvFindInfo, uint dwFlags);
alias PFN_CERT_STORE_PROV_GET_CTL_PROPERTY = extern(Windows) BOOL function(void* hStoreProv, CTL_CONTEXT* pCtlContext, uint dwPropId, uint dwFlags, char* pvData, uint* pcbData);
struct CRL_FIND_ISSUED_FOR_PARA
{
CERT_CONTEXT* pSubjectCert;
CERT_CONTEXT* pIssuerCert;
}
struct CTL_ANY_SUBJECT_INFO
{
CRYPT_ALGORITHM_IDENTIFIER SubjectAlgorithm;
CRYPTOAPI_BLOB SubjectIdentifier;
}
struct CTL_FIND_USAGE_PARA
{
uint cbSize;
CTL_USAGE SubjectUsage;
CRYPTOAPI_BLOB ListIdentifier;
CERT_INFO* pSigner;
}
struct CTL_FIND_SUBJECT_PARA
{
uint cbSize;
CTL_FIND_USAGE_PARA* pUsagePara;
uint dwSubjectType;
void* pvSubject;
}
alias PFN_CERT_CREATE_CONTEXT_SORT_FUNC = extern(Windows) BOOL function(uint cbTotalEncoded, uint cbRemainEncoded, uint cEntry, void* pvSort);
struct CERT_CREATE_CONTEXT_PARA
{
uint cbSize;
PFN_CRYPT_FREE pfnFree;
void* pvFree;
PFN_CERT_CREATE_CONTEXT_SORT_FUNC pfnSort;
void* pvSort;
}
struct CERT_SYSTEM_STORE_INFO
{
uint cbSize;
}
struct CERT_PHYSICAL_STORE_INFO
{
uint cbSize;
const(char)* pszOpenStoreProvider;
uint dwOpenEncodingType;
uint dwOpenFlags;
CRYPTOAPI_BLOB OpenParameters;
uint dwFlags;
uint dwPriority;
}
alias PFN_CERT_ENUM_SYSTEM_STORE_LOCATION = extern(Windows) BOOL function(const(wchar)* pwszStoreLocation, uint dwFlags, void* pvReserved, void* pvArg);
alias PFN_CERT_ENUM_SYSTEM_STORE = extern(Windows) BOOL function(const(void)* pvSystemStore, uint dwFlags, CERT_SYSTEM_STORE_INFO* pStoreInfo, void* pvReserved, void* pvArg);
alias PFN_CERT_ENUM_PHYSICAL_STORE = extern(Windows) BOOL function(const(void)* pvSystemStore, uint dwFlags, const(wchar)* pwszStoreName, CERT_PHYSICAL_STORE_INFO* pStoreInfo, void* pvReserved, void* pvArg);
struct CTL_VERIFY_USAGE_PARA
{
uint cbSize;
CRYPTOAPI_BLOB ListIdentifier;
uint cCtlStore;
void** rghCtlStore;
uint cSignerStore;
void** rghSignerStore;
}
struct CTL_VERIFY_USAGE_STATUS
{
uint cbSize;
uint dwError;
uint dwFlags;
CTL_CONTEXT** ppCtl;
uint dwCtlEntryIndex;
CERT_CONTEXT** ppSigner;
uint dwSignerIndex;
}
struct CERT_REVOCATION_CRL_INFO
{
uint cbSize;
CRL_CONTEXT* pBaseCrlContext;
CRL_CONTEXT* pDeltaCrlContext;
CRL_ENTRY* pCrlEntry;
BOOL fDeltaCrlEntry;
}
struct CERT_REVOCATION_PARA
{
uint cbSize;
CERT_CONTEXT* pIssuerCert;
uint cCertStore;
void** rgCertStore;
void* hCrlStore;
FILETIME* pftTimeToUse;
}
struct CERT_REVOCATION_STATUS
{
uint cbSize;
uint dwIndex;
uint dwError;
uint dwReason;
BOOL fHasFreshnessTime;
uint dwFreshnessTime;
}
struct CRYPT_VERIFY_CERT_SIGN_STRONG_PROPERTIES_INFO
{
CRYPTOAPI_BLOB CertSignHashCNGAlgPropData;
CRYPTOAPI_BLOB CertIssuerPubKeyBitLengthPropData;
}
struct CRYPT_VERIFY_CERT_SIGN_WEAK_HASH_INFO
{
uint cCNGHashAlgid;
ushort** rgpwszCNGHashAlgid;
uint dwWeakIndex;
}
alias PFN_CRYPT_EXTRACT_ENCODED_SIGNATURE_PARAMETERS_FUNC = extern(Windows) BOOL function(uint dwCertEncodingType, CRYPT_ALGORITHM_IDENTIFIER* pSignatureAlgorithm, void** ppvDecodedSignPara, ushort** ppwszCNGHashAlgid);
alias PFN_CRYPT_SIGN_AND_ENCODE_HASH_FUNC = extern(Windows) BOOL function(uint hKey, uint dwCertEncodingType, CRYPT_ALGORITHM_IDENTIFIER* pSignatureAlgorithm, void* pvDecodedSignPara, const(wchar)* pwszCNGPubKeyAlgid, const(wchar)* pwszCNGHashAlgid, char* pbComputedHash, uint cbComputedHash, char* pbSignature, uint* pcbSignature);
alias PFN_CRYPT_VERIFY_ENCODED_SIGNATURE_FUNC = extern(Windows) BOOL function(uint dwCertEncodingType, CERT_PUBLIC_KEY_INFO* pPubKeyInfo, CRYPT_ALGORITHM_IDENTIFIER* pSignatureAlgorithm, void* pvDecodedSignPara, const(wchar)* pwszCNGPubKeyAlgid, const(wchar)* pwszCNGHashAlgid, char* pbComputedHash, uint cbComputedHash, char* pbSignature, uint cbSignature);
struct CRYPT_DEFAULT_CONTEXT_MULTI_OID_PARA
{
uint cOID;
byte** rgpszOID;
}
alias PFN_CRYPT_EXPORT_PUBLIC_KEY_INFO_EX2_FUNC = extern(Windows) BOOL function(uint hNCryptKey, uint dwCertEncodingType, const(char)* pszPublicKeyObjId, uint dwFlags, void* pvAuxInfo, char* pInfo, uint* pcbInfo);
alias PFN_CRYPT_EXPORT_PUBLIC_KEY_INFO_FROM_BCRYPT_HANDLE_FUNC = extern(Windows) BOOL function(void* hBCryptKey, uint dwCertEncodingType, const(char)* pszPublicKeyObjId, uint dwFlags, void* pvAuxInfo, char* pInfo, uint* pcbInfo);
alias PFN_IMPORT_PUBLIC_KEY_INFO_EX2_FUNC = extern(Windows) BOOL function(uint dwCertEncodingType, CERT_PUBLIC_KEY_INFO* pInfo, uint dwFlags, void* pvAuxInfo, void** phKey);
alias PFN_IMPORT_PRIV_KEY_FUNC = extern(Windows) BOOL function(uint hCryptProv, CRYPT_PRIVATE_KEY_INFO* pPrivateKeyInfo, uint dwFlags, void* pvAuxInfo);
alias PFN_EXPORT_PRIV_KEY_FUNC = extern(Windows) BOOL function(uint hCryptProv, uint dwKeySpec, const(char)* pszPrivateKeyObjId, uint dwFlags, void* pvAuxInfo, char* pPrivateKeyInfo, uint* pcbPrivateKeyInfo);
alias PFN_CRYPT_GET_SIGNER_CERTIFICATE = extern(Windows) CERT_CONTEXT* function(void* pvGetArg, uint dwCertEncodingType, CERT_INFO* pSignerId, void* hMsgCertStore);
struct CRYPT_SIGN_MESSAGE_PARA
{
uint cbSize;
uint dwMsgEncodingType;
CERT_CONTEXT* pSigningCert;
CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
void* pvHashAuxInfo;
uint cMsgCert;
CERT_CONTEXT** rgpMsgCert;
uint cMsgCrl;
CRL_CONTEXT** rgpMsgCrl;
uint cAuthAttr;
CRYPT_ATTRIBUTE* rgAuthAttr;
uint cUnauthAttr;
CRYPT_ATTRIBUTE* rgUnauthAttr;
uint dwFlags;
uint dwInnerContentType;
}
struct CRYPT_VERIFY_MESSAGE_PARA
{
uint cbSize;
uint dwMsgAndCertEncodingType;
uint hCryptProv;
PFN_CRYPT_GET_SIGNER_CERTIFICATE pfnGetSignerCertificate;
void* pvGetArg;
}
struct CRYPT_ENCRYPT_MESSAGE_PARA
{
uint cbSize;
uint dwMsgEncodingType;
uint hCryptProv;
CRYPT_ALGORITHM_IDENTIFIER ContentEncryptionAlgorithm;
void* pvEncryptionAuxInfo;
uint dwFlags;
uint dwInnerContentType;
}
struct CRYPT_DECRYPT_MESSAGE_PARA
{
uint cbSize;
uint dwMsgAndCertEncodingType;
uint cCertStore;
void** rghCertStore;
}
struct CRYPT_HASH_MESSAGE_PARA
{
uint cbSize;
uint dwMsgEncodingType;
uint hCryptProv;
CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
void* pvHashAuxInfo;
}
struct CRYPT_KEY_SIGN_MESSAGE_PARA
{
uint cbSize;
uint dwMsgAndCertEncodingType;
_Anonymous_e__Union Anonymous;
uint dwKeySpec;
CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
void* pvHashAuxInfo;
CRYPT_ALGORITHM_IDENTIFIER PubKeyAlgorithm;
}
struct CRYPT_KEY_VERIFY_MESSAGE_PARA
{
uint cbSize;
uint dwMsgEncodingType;
uint hCryptProv;
}
struct CERT_CHAIN
{
uint cCerts;
CRYPTOAPI_BLOB* certs;
CRYPT_KEY_PROV_INFO keyLocatorInfo;
}
alias PFN_CRYPT_ASYNC_PARAM_FREE_FUNC = extern(Windows) void function(const(char)* pszParamOid, void* pvParam);
struct CRYPT_BLOB_ARRAY
{
uint cBlob;
CRYPTOAPI_BLOB* rgBlob;
}
struct CRYPT_CREDENTIALS
{
uint cbSize;
const(char)* pszCredentialsOid;
void* pvCredentials;
}
struct CRYPT_PASSWORD_CREDENTIALSA
{
uint cbSize;
const(char)* pszUsername;
const(char)* pszPassword;
}
struct CRYPT_PASSWORD_CREDENTIALSW
{
uint cbSize;
const(wchar)* pszUsername;
const(wchar)* pszPassword;
}
alias PFN_FREE_ENCODED_OBJECT_FUNC = extern(Windows) void function(const(char)* pszObjectOid, CRYPT_BLOB_ARRAY* pObject, void* pvFreeContext);
struct CRYPTNET_URL_CACHE_PRE_FETCH_INFO
{
uint cbSize;
uint dwObjectType;
uint dwError;
uint dwReserved;
FILETIME ThisUpdateTime;
FILETIME NextUpdateTime;
FILETIME PublishTime;
}
struct CRYPTNET_URL_CACHE_FLUSH_INFO
{
uint cbSize;
uint dwExemptSeconds;
FILETIME ExpireTime;
}
struct CRYPTNET_URL_CACHE_RESPONSE_INFO
{
uint cbSize;
ushort wResponseType;
ushort wResponseFlags;
FILETIME LastModifiedTime;
uint dwMaxAge;
const(wchar)* pwszETag;
uint dwProxyId;
}
struct CRYPT_RETRIEVE_AUX_INFO
{
uint cbSize;
FILETIME* pLastSyncTime;
uint dwMaxUrlRetrievalByteCount;
CRYPTNET_URL_CACHE_PRE_FETCH_INFO* pPreFetchInfo;
CRYPTNET_URL_CACHE_FLUSH_INFO* pFlushInfo;
CRYPTNET_URL_CACHE_RESPONSE_INFO** ppResponseInfo;
const(wchar)* pwszCacheFileNamePrefix;
FILETIME* pftCacheResync;
BOOL fProxyCacheRetrieval;
uint dwHttpStatusCode;
ushort** ppwszErrorResponseHeaders;
CRYPTOAPI_BLOB** ppErrorContentBlob;
}
alias PFN_CRYPT_CANCEL_RETRIEVAL = extern(Windows) BOOL function(uint dwFlags, void* pvArg);
alias PFN_CRYPT_ASYNC_RETRIEVAL_COMPLETION_FUNC = extern(Windows) void function(void* pvCompletion, uint dwCompletionCode, const(char)* pszUrl, const(char)* pszObjectOid, void* pvObject);
struct CRYPT_ASYNC_RETRIEVAL_COMPLETION
{
PFN_CRYPT_ASYNC_RETRIEVAL_COMPLETION_FUNC pfnCompletion;
void* pvCompletion;
}
alias PFN_CANCEL_ASYNC_RETRIEVAL_FUNC = extern(Windows) BOOL function(HCRYPTASYNC hAsyncRetrieve);
struct CRYPT_URL_ARRAY
{
uint cUrl;
ushort** rgwszUrl;
}
struct CRYPT_URL_INFO
{
uint cbSize;
uint dwSyncDeltaTime;
uint cGroup;
uint* rgcGroupEntry;
}
struct CERT_CRL_CONTEXT_PAIR
{
CERT_CONTEXT* pCertContext;
CRL_CONTEXT* pCrlContext;
}
struct CRYPT_GET_TIME_VALID_OBJECT_EXTRA_INFO
{
uint cbSize;
int iDeltaCrlIndicator;
FILETIME* pftCacheResync;
FILETIME* pLastSyncTime;
FILETIME* pMaxAgeTime;
CERT_REVOCATION_CHAIN_PARA* pChainPara;
CRYPTOAPI_BLOB* pDeltaCrlIndicator;
}
alias PFN_CRYPT_ENUM_KEYID_PROP = extern(Windows) BOOL function(const(CRYPTOAPI_BLOB)* pKeyIdentifier, uint dwFlags, void* pvReserved, void* pvArg, uint cProp, char* rgdwPropId, char* rgpvData, char* rgcbData);
struct CERT_CHAIN_ENGINE_CONFIG
{
uint cbSize;
void* hRestrictedRoot;
void* hRestrictedTrust;
void* hRestrictedOther;
uint cAdditionalStore;
void** rghAdditionalStore;
uint dwFlags;
uint dwUrlRetrievalTimeout;
uint MaximumCachedCertificates;
uint CycleDetectionModulus;
void* hExclusiveRoot;
void* hExclusiveTrustedPeople;
uint dwExclusiveFlags;
}
struct CERT_TRUST_STATUS
{
uint dwErrorStatus;
uint dwInfoStatus;
}
struct CERT_REVOCATION_INFO
{
uint cbSize;
uint dwRevocationResult;
const(char)* pszRevocationOid;
void* pvOidSpecificInfo;
BOOL fHasFreshnessTime;
uint dwFreshnessTime;
CERT_REVOCATION_CRL_INFO* pCrlInfo;
}
struct CERT_TRUST_LIST_INFO
{
uint cbSize;
CTL_ENTRY* pCtlEntry;
CTL_CONTEXT* pCtlContext;
}
struct CERT_CHAIN_ELEMENT
{
uint cbSize;
CERT_CONTEXT* pCertContext;
CERT_TRUST_STATUS TrustStatus;
CERT_REVOCATION_INFO* pRevocationInfo;
CTL_USAGE* pIssuanceUsage;
CTL_USAGE* pApplicationUsage;
const(wchar)* pwszExtendedErrorInfo;
}
struct CERT_SIMPLE_CHAIN
{
uint cbSize;
CERT_TRUST_STATUS TrustStatus;
uint cElement;
CERT_CHAIN_ELEMENT** rgpElement;
CERT_TRUST_LIST_INFO* pTrustListInfo;
BOOL fHasRevocationFreshnessTime;
uint dwRevocationFreshnessTime;
}
struct CERT_CHAIN_CONTEXT
{
uint cbSize;
CERT_TRUST_STATUS TrustStatus;
uint cChain;
CERT_SIMPLE_CHAIN** rgpChain;
uint cLowerQualityChainContext;
CERT_CHAIN_CONTEXT** rgpLowerQualityChainContext;
BOOL fHasRevocationFreshnessTime;
uint dwRevocationFreshnessTime;
uint dwCreateFlags;
Guid ChainId;
}
struct CERT_USAGE_MATCH
{
uint dwType;
CTL_USAGE Usage;
}
struct CTL_USAGE_MATCH
{
uint dwType;
CTL_USAGE Usage;
}
struct CERT_CHAIN_PARA
{
uint cbSize;
CERT_USAGE_MATCH RequestedUsage;
}
struct CERT_REVOCATION_CHAIN_PARA
{
uint cbSize;
HCERTCHAINENGINE hChainEngine;
void* hAdditionalStore;
uint dwChainFlags;
uint dwUrlRetrievalTimeout;
FILETIME* pftCurrentTime;
FILETIME* pftCacheResync;
uint cbMaxUrlRetrievalByteCount;
}
struct CRL_REVOCATION_INFO
{
CRL_ENTRY* pCrlEntry;
CRL_CONTEXT* pCrlContext;
CERT_CHAIN_CONTEXT* pCrlIssuerChain;
}
alias PFN_CERT_CHAIN_FIND_BY_ISSUER_CALLBACK = extern(Windows) BOOL function(CERT_CONTEXT* pCert, void* pvFindArg);
struct CERT_CHAIN_FIND_BY_ISSUER_PARA
{
uint cbSize;
const(char)* pszUsageIdentifier;
uint dwKeySpec;
uint dwAcquirePrivateKeyFlags;
uint cIssuer;
CRYPTOAPI_BLOB* rgIssuer;
PFN_CERT_CHAIN_FIND_BY_ISSUER_CALLBACK pfnFindCallback;
void* pvFindArg;
}
struct CERT_CHAIN_POLICY_PARA
{
uint cbSize;
uint dwFlags;
void* pvExtraPolicyPara;
}
struct CERT_CHAIN_POLICY_STATUS
{
uint cbSize;
uint dwError;
int lChainIndex;
int lElementIndex;
void* pvExtraPolicyStatus;
}
struct AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_PARA
{
uint cbSize;
uint dwRegPolicySettings;
CMSG_SIGNER_INFO* pSignerInfo;
}
struct AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_STATUS
{
uint cbSize;
BOOL fCommercial;
}
struct AUTHENTICODE_TS_EXTRA_CERT_CHAIN_POLICY_PARA
{
uint cbSize;
uint dwRegPolicySettings;
BOOL fCommercial;
}
struct HTTPSPolicyCallbackData
{
_Anonymous_e__Union Anonymous;
uint dwAuthType;
uint fdwChecks;
ushort* pwszServerName;
}
struct EV_EXTRA_CERT_CHAIN_POLICY_PARA
{
uint cbSize;
uint dwRootProgramQualifierFlags;
}
struct EV_EXTRA_CERT_CHAIN_POLICY_STATUS
{
uint cbSize;
uint dwQualifiers;
uint dwIssuanceUsageIndex;
}
struct SSL_F12_EXTRA_CERT_CHAIN_POLICY_STATUS
{
uint cbSize;
uint dwErrorLevel;
uint dwErrorCategory;
uint dwReserved;
ushort wszErrorText;
}
struct SSL_HPKP_HEADER_EXTRA_CERT_CHAIN_POLICY_PARA
{
uint cbSize;
uint dwReserved;
const(wchar)* pwszServerName;
byte* rgpszHpkpValue;
}
struct SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_PARA
{
uint cbSize;
uint dwReserved;
const(wchar)* pwszServerName;
}
struct SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_STATUS
{
uint cbSize;
int lError;
ushort wszErrorText;
}
struct CRYPT_PKCS12_PBE_PARAMS
{
int iIterations;
uint cbSalt;
}
struct PKCS12_PBES2_EXPORT_PARAMS
{
uint dwSize;
void* hNcryptDescriptor;
const(wchar)* pwszPbes2Alg;
}
struct CERT_SERVER_OCSP_RESPONSE_CONTEXT
{
uint cbSize;
ubyte* pbEncodedOcspResponse;
uint cbEncodedOcspResponse;
}
alias PFN_CERT_SERVER_OCSP_RESPONSE_UPDATE_CALLBACK = extern(Windows) void function(CERT_CHAIN_CONTEXT* pChainContext, CERT_SERVER_OCSP_RESPONSE_CONTEXT* pServerOcspResponseContext, CRL_CONTEXT* pNewCrlContext, CRL_CONTEXT* pPrevCrlContext, void* pvArg, uint dwWriteOcspFileError);
struct CERT_SERVER_OCSP_RESPONSE_OPEN_PARA
{
uint cbSize;
uint dwFlags;
uint* pcbUsedSize;
const(wchar)* pwszOcspDirectory;
PFN_CERT_SERVER_OCSP_RESPONSE_UPDATE_CALLBACK pfnUpdateCallback;
void* pvUpdateCallbackArg;
}
struct CERT_SELECT_CHAIN_PARA
{
HCERTCHAINENGINE hChainEngine;
FILETIME* pTime;
void* hAdditionalStore;
CERT_CHAIN_PARA* pChainPara;
uint dwFlags;
}
struct CERT_SELECT_CRITERIA
{
uint dwType;
uint cPara;
void** ppPara;
}
struct CRYPT_TIMESTAMP_REQUEST
{
uint dwVersion;
CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
CRYPTOAPI_BLOB HashedMessage;
const(char)* pszTSAPolicyId;
CRYPTOAPI_BLOB Nonce;
BOOL fCertReq;
uint cExtension;
CERT_EXTENSION* rgExtension;
}
struct CRYPT_TIMESTAMP_RESPONSE
{
uint dwStatus;
uint cFreeText;
ushort** rgFreeText;
CRYPT_BIT_BLOB FailureInfo;
CRYPTOAPI_BLOB ContentInfo;
}
struct CRYPT_TIMESTAMP_ACCURACY
{
uint dwSeconds;
uint dwMillis;
uint dwMicros;
}
struct CRYPT_TIMESTAMP_INFO
{
uint dwVersion;
const(char)* pszTSAPolicyId;
CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
CRYPTOAPI_BLOB HashedMessage;
CRYPTOAPI_BLOB SerialNumber;
FILETIME ftTime;
CRYPT_TIMESTAMP_ACCURACY* pvAccuracy;
BOOL fOrdering;
CRYPTOAPI_BLOB Nonce;
CRYPTOAPI_BLOB Tsa;
uint cExtension;
CERT_EXTENSION* rgExtension;
}
struct CRYPT_TIMESTAMP_CONTEXT
{
uint cbEncoded;
ubyte* pbEncoded;
CRYPT_TIMESTAMP_INFO* pTimeStamp;
}
struct CRYPT_TIMESTAMP_PARA
{
const(char)* pszTSAPolicyId;
BOOL fRequestCerts;
CRYPTOAPI_BLOB Nonce;
uint cExtension;
CERT_EXTENSION* rgExtension;
}
alias PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FLUSH = extern(Windows) BOOL function(void* pContext, char* rgIdentifierOrNameList, uint dwIdentifierOrNameListCount);
alias PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_GET = extern(Windows) BOOL function(void* pPluginContext, CRYPTOAPI_BLOB* pIdentifier, uint dwNameType, CRYPTOAPI_BLOB* pNameBlob, ubyte** ppbContent, uint* pcbContent, ushort** ppwszPassword, CRYPTOAPI_BLOB** ppIdentifier);
alias PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_RELEASE = extern(Windows) void function(uint dwReason, void* pPluginContext);
alias PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_PASSWORD = extern(Windows) void function(void* pPluginContext, const(wchar)* pwszPassword);
alias PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE = extern(Windows) void function(void* pPluginContext, ubyte* pbData);
alias PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_IDENTIFIER = extern(Windows) void function(void* pPluginContext, CRYPTOAPI_BLOB* pIdentifier);
struct CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE
{
uint cbSize;
PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_GET pfnGet;
PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_RELEASE pfnRelease;
PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_PASSWORD pfnFreePassword;
PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE pfnFree;
PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_IDENTIFIER pfnFreeIdentifier;
}
alias PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_INITIALIZE = extern(Windows) BOOL function(PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FLUSH pfnFlush, void* pContext, uint* pdwExpectedObjectCount, CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE** ppFuncTable, void** ppPluginContext);
alias PFN_CERT_IS_WEAK_HASH = extern(Windows) BOOL function(uint dwHashUseType, const(wchar)* pwszCNGHashAlgid, uint dwChainFlags, CERT_CHAIN_CONTEXT* pSignerChainContext, FILETIME* pTimeStamp, const(wchar)* pwszFileName);
struct CRYPTPROTECT_PROMPTSTRUCT
{
uint cbSize;
uint dwPromptFlags;
HWND hwndApp;
const(wchar)* szPrompt;
}
struct SCARD_READERSTATEA
{
const(char)* szReader;
void* pvUserData;
uint dwCurrentState;
uint dwEventState;
uint cbAtr;
ubyte rgbAtr;
}
struct SCARD_READERSTATEW
{
const(wchar)* szReader;
void* pvUserData;
uint dwCurrentState;
uint dwEventState;
uint cbAtr;
ubyte rgbAtr;
}
struct SCARD_ATRMASK
{
uint cbAtr;
ubyte rgbAtr;
ubyte rgbMask;
}
alias LPOCNCONNPROCA = extern(Windows) uint function(uint param0, const(char)* param1, const(char)* param2, void* param3);
alias LPOCNCONNPROCW = extern(Windows) uint function(uint param0, const(wchar)* param1, const(wchar)* param2, void* param3);
alias LPOCNCHKPROC = extern(Windows) BOOL function(uint param0, uint param1, void* param2);
alias LPOCNDSCPROC = extern(Windows) void function(uint param0, uint param1, void* param2);
struct OPENCARD_SEARCH_CRITERIAA
{
uint dwStructSize;
const(char)* lpstrGroupNames;
uint nMaxGroupNames;
Guid* rgguidInterfaces;
uint cguidInterfaces;
const(char)* lpstrCardNames;
uint nMaxCardNames;
LPOCNCHKPROC lpfnCheck;
LPOCNCONNPROCA lpfnConnect;
LPOCNDSCPROC lpfnDisconnect;
void* pvUserData;
uint dwShareMode;
uint dwPreferredProtocols;
}
struct OPENCARD_SEARCH_CRITERIAW
{
uint dwStructSize;
const(wchar)* lpstrGroupNames;
uint nMaxGroupNames;
Guid* rgguidInterfaces;
uint cguidInterfaces;
const(wchar)* lpstrCardNames;
uint nMaxCardNames;
LPOCNCHKPROC lpfnCheck;
LPOCNCONNPROCW lpfnConnect;
LPOCNDSCPROC lpfnDisconnect;
void* pvUserData;
uint dwShareMode;
uint dwPreferredProtocols;
}
struct OPENCARDNAME_EXA
{
uint dwStructSize;
uint hSCardContext;
HWND hwndOwner;
uint dwFlags;
const(char)* lpstrTitle;
const(char)* lpstrSearchDesc;
HICON hIcon;
OPENCARD_SEARCH_CRITERIAA* pOpenCardSearchCriteria;
LPOCNCONNPROCA lpfnConnect;
void* pvUserData;
uint dwShareMode;
uint dwPreferredProtocols;
const(char)* lpstrRdr;
uint nMaxRdr;
const(char)* lpstrCard;
uint nMaxCard;
uint dwActiveProtocol;
uint hCardHandle;
}
struct OPENCARDNAME_EXW
{
uint dwStructSize;
uint hSCardContext;
HWND hwndOwner;
uint dwFlags;
const(wchar)* lpstrTitle;
const(wchar)* lpstrSearchDesc;
HICON hIcon;
OPENCARD_SEARCH_CRITERIAW* pOpenCardSearchCriteria;
LPOCNCONNPROCW lpfnConnect;
void* pvUserData;
uint dwShareMode;
uint dwPreferredProtocols;
const(wchar)* lpstrRdr;
uint nMaxRdr;
const(wchar)* lpstrCard;
uint nMaxCard;
uint dwActiveProtocol;
uint hCardHandle;
}
enum READER_SEL_REQUEST_MATCH_TYPE
{
RSR_MATCH_TYPE_READER_AND_CONTAINER = 1,
RSR_MATCH_TYPE_SERIAL_NUMBER = 2,
RSR_MATCH_TYPE_ALL_CARDS = 3,
}
struct READER_SEL_REQUEST
{
uint dwShareMode;
uint dwPreferredProtocols;
READER_SEL_REQUEST_MATCH_TYPE MatchType;
_Anonymous_e__Union Anonymous;
}
struct READER_SEL_RESPONSE
{
uint cbReaderNameOffset;
uint cchReaderNameLength;
uint cbCardNameOffset;
uint cchCardNameLength;
}
struct OPENCARDNAMEA
{
uint dwStructSize;
HWND hwndOwner;
uint hSCardContext;
const(char)* lpstrGroupNames;
uint nMaxGroupNames;
const(char)* lpstrCardNames;
uint nMaxCardNames;
Guid* rgguidInterfaces;
uint cguidInterfaces;
const(char)* lpstrRdr;
uint nMaxRdr;
const(char)* lpstrCard;
uint nMaxCard;
const(char)* lpstrTitle;
uint dwFlags;
void* pvUserData;
uint dwShareMode;
uint dwPreferredProtocols;
uint dwActiveProtocol;
LPOCNCONNPROCA lpfnConnect;
LPOCNCHKPROC lpfnCheck;
LPOCNDSCPROC lpfnDisconnect;
uint hCardHandle;
}
struct OPENCARDNAMEW
{
uint dwStructSize;
HWND hwndOwner;
uint hSCardContext;
const(wchar)* lpstrGroupNames;
uint nMaxGroupNames;
const(wchar)* lpstrCardNames;
uint nMaxCardNames;
Guid* rgguidInterfaces;
uint cguidInterfaces;
const(wchar)* lpstrRdr;
uint nMaxRdr;
const(wchar)* lpstrCard;
uint nMaxCard;
const(wchar)* lpstrTitle;
uint dwFlags;
void* pvUserData;
uint dwShareMode;
uint dwPreferredProtocols;
uint dwActiveProtocol;
LPOCNCONNPROCW lpfnConnect;
LPOCNCHKPROC lpfnCheck;
LPOCNDSCPROC lpfnDisconnect;
uint hCardHandle;
}
struct SERVICE_TRIGGER_CUSTOM_STATE_ID
{
uint Data;
}
struct SERVICE_CUSTOM_SYSTEM_STATE_CHANGE_DATA_ITEM
{
_u_e__Union u;
}
struct SERVICE_DESCRIPTIONA
{
const(char)* lpDescription;
}
struct SERVICE_DESCRIPTIONW
{
const(wchar)* lpDescription;
}
enum SC_ACTION_TYPE
{
SC_ACTION_NONE = 0,
SC_ACTION_RESTART = 1,
SC_ACTION_REBOOT = 2,
SC_ACTION_RUN_COMMAND = 3,
SC_ACTION_OWN_RESTART = 4,
}
struct SC_ACTION
{
SC_ACTION_TYPE Type;
uint Delay;
}
struct SERVICE_FAILURE_ACTIONSA
{
uint dwResetPeriod;
const(char)* lpRebootMsg;
const(char)* lpCommand;
uint cActions;
SC_ACTION* lpsaActions;
}
struct SERVICE_FAILURE_ACTIONSW
{
uint dwResetPeriod;
const(wchar)* lpRebootMsg;
const(wchar)* lpCommand;
uint cActions;
SC_ACTION* lpsaActions;
}
struct SERVICE_DELAYED_AUTO_START_INFO
{
BOOL fDelayedAutostart;
}
struct SERVICE_FAILURE_ACTIONS_FLAG
{
BOOL fFailureActionsOnNonCrashFailures;
}
struct SERVICE_SID_INFO
{
uint dwServiceSidType;
}
struct SERVICE_REQUIRED_PRIVILEGES_INFOA
{
const(char)* pmszRequiredPrivileges;
}
struct SERVICE_REQUIRED_PRIVILEGES_INFOW
{
const(wchar)* pmszRequiredPrivileges;
}
struct SERVICE_PRESHUTDOWN_INFO
{
uint dwPreshutdownTimeout;
}
struct SERVICE_TRIGGER_SPECIFIC_DATA_ITEM
{
uint dwDataType;
uint cbData;
ubyte* pData;
}
struct SERVICE_TRIGGER
{
uint dwTriggerType;
uint dwAction;
Guid* pTriggerSubtype;
uint cDataItems;
SERVICE_TRIGGER_SPECIFIC_DATA_ITEM* pDataItems;
}
struct SERVICE_TRIGGER_INFO
{
uint cTriggers;
SERVICE_TRIGGER* pTriggers;
ubyte* pReserved;
}
struct SERVICE_PREFERRED_NODE_INFO
{
ushort usPreferredNode;
ubyte fDelete;
}
struct SERVICE_TIMECHANGE_INFO
{
LARGE_INTEGER liNewTime;
LARGE_INTEGER liOldTime;
}
struct SERVICE_LAUNCH_PROTECTED_INFO
{
uint dwLaunchProtected;
}
struct SC_HANDLE__
{
int unused;
}
struct SERVICE_STATUS_HANDLE__
{
int unused;
}
enum SC_STATUS_TYPE
{
SC_STATUS_PROCESS_INFO = 0,
}
enum SC_ENUM_TYPE
{
SC_ENUM_PROCESS_INFO = 0,
}
struct SERVICE_STATUS
{
uint dwServiceType;
uint dwCurrentState;
uint dwControlsAccepted;
uint dwWin32ExitCode;
uint dwServiceSpecificExitCode;
uint dwCheckPoint;
uint dwWaitHint;
}
struct SERVICE_STATUS_PROCESS
{
uint dwServiceType;
uint dwCurrentState;
uint dwControlsAccepted;
uint dwWin32ExitCode;
uint dwServiceSpecificExitCode;
uint dwCheckPoint;
uint dwWaitHint;
uint dwProcessId;
uint dwServiceFlags;
}
struct ENUM_SERVICE_STATUSA
{
const(char)* lpServiceName;
const(char)* lpDisplayName;
SERVICE_STATUS ServiceStatus;
}
struct ENUM_SERVICE_STATUSW
{
const(wchar)* lpServiceName;
const(wchar)* lpDisplayName;
SERVICE_STATUS ServiceStatus;
}
struct ENUM_SERVICE_STATUS_PROCESSA
{
const(char)* lpServiceName;
const(char)* lpDisplayName;
SERVICE_STATUS_PROCESS ServiceStatusProcess;
}
struct ENUM_SERVICE_STATUS_PROCESSW
{
const(wchar)* lpServiceName;
const(wchar)* lpDisplayName;
SERVICE_STATUS_PROCESS ServiceStatusProcess;
}
struct QUERY_SERVICE_LOCK_STATUSA
{
uint fIsLocked;
const(char)* lpLockOwner;
uint dwLockDuration;
}
struct QUERY_SERVICE_LOCK_STATUSW
{
uint fIsLocked;
const(wchar)* lpLockOwner;
uint dwLockDuration;
}
struct QUERY_SERVICE_CONFIGA
{
uint dwServiceType;
uint dwStartType;
uint dwErrorControl;
const(char)* lpBinaryPathName;
const(char)* lpLoadOrderGroup;
uint dwTagId;
const(char)* lpDependencies;
const(char)* lpServiceStartName;
const(char)* lpDisplayName;
}
struct QUERY_SERVICE_CONFIGW
{
uint dwServiceType;
uint dwStartType;
uint dwErrorControl;
const(wchar)* lpBinaryPathName;
const(wchar)* lpLoadOrderGroup;
uint dwTagId;
const(wchar)* lpDependencies;
const(wchar)* lpServiceStartName;
const(wchar)* lpDisplayName;
}
alias SERVICE_MAIN_FUNCTIONW = extern(Windows) void function(uint dwNumServicesArgs, ushort** lpServiceArgVectors);
alias SERVICE_MAIN_FUNCTIONA = extern(Windows) void function(uint dwNumServicesArgs, byte** lpServiceArgVectors);
alias LPSERVICE_MAIN_FUNCTIONW = extern(Windows) void function(uint dwNumServicesArgs, ushort** lpServiceArgVectors);
alias LPSERVICE_MAIN_FUNCTIONA = extern(Windows) void function(uint dwNumServicesArgs, byte** lpServiceArgVectors);
struct SERVICE_TABLE_ENTRYA
{
const(char)* lpServiceName;
LPSERVICE_MAIN_FUNCTIONA lpServiceProc;
}
struct SERVICE_TABLE_ENTRYW
{
const(wchar)* lpServiceName;
LPSERVICE_MAIN_FUNCTIONW lpServiceProc;
}
alias HANDLER_FUNCTION = extern(Windows) void function(uint dwControl);
alias HANDLER_FUNCTION_EX = extern(Windows) uint function(uint dwControl, uint dwEventType, void* lpEventData, void* lpContext);
alias LPHANDLER_FUNCTION = extern(Windows) void function(uint dwControl);
alias LPHANDLER_FUNCTION_EX = extern(Windows) uint function(uint dwControl, uint dwEventType, void* lpEventData, void* lpContext);
alias PFN_SC_NOTIFY_CALLBACK = extern(Windows) void function(void* pParameter);
struct SERVICE_NOTIFY_1
{
uint dwVersion;
PFN_SC_NOTIFY_CALLBACK pfnNotifyCallback;
void* pContext;
uint dwNotificationStatus;
SERVICE_STATUS_PROCESS ServiceStatus;
}
struct SERVICE_NOTIFY_2A
{
uint dwVersion;
PFN_SC_NOTIFY_CALLBACK pfnNotifyCallback;
void* pContext;
uint dwNotificationStatus;
SERVICE_STATUS_PROCESS ServiceStatus;
uint dwNotificationTriggered;
const(char)* pszServiceNames;
}
struct SERVICE_NOTIFY_2W
{
uint dwVersion;
PFN_SC_NOTIFY_CALLBACK pfnNotifyCallback;
void* pContext;
uint dwNotificationStatus;
SERVICE_STATUS_PROCESS ServiceStatus;
uint dwNotificationTriggered;
const(wchar)* pszServiceNames;
}
struct SERVICE_CONTROL_STATUS_REASON_PARAMSA
{
uint dwReason;
const(char)* pszComment;
SERVICE_STATUS_PROCESS ServiceStatus;
}
struct SERVICE_CONTROL_STATUS_REASON_PARAMSW
{
uint dwReason;
const(wchar)* pszComment;
SERVICE_STATUS_PROCESS ServiceStatus;
}
struct SERVICE_START_REASON
{
uint dwReason;
}
enum SC_EVENT_TYPE
{
SC_EVENT_DATABASE_CHANGE = 0,
SC_EVENT_PROPERTY_CHANGE = 1,
SC_EVENT_STATUS_CHANGE = 2,
}
alias SC_NOTIFICATION_CALLBACK = extern(Windows) void function(uint dwNotify, void* pCallbackContext);
alias PSC_NOTIFICATION_CALLBACK = extern(Windows) void function();
struct _SC_NOTIFICATION_REGISTRATION
{
}
enum SERVICE_REGISTRY_STATE_TYPE
{
ServiceRegistryStateParameters = 0,
ServiceRegistryStatePersistent = 1,
MaxServiceRegistryStateType = 2,
}
enum SERVICE_DIRECTORY_TYPE
{
ServiceDirectoryPersistentState = 0,
ServiceDirectoryTypeMax = 1,
}
struct LSA_TRUST_INFORMATION
{
UNICODE_STRING Name;
void* Sid;
}
struct LSA_REFERENCED_DOMAIN_LIST
{
uint Entries;
LSA_TRUST_INFORMATION* Domains;
}
struct LSA_TRANSLATED_SID2
{
SID_NAME_USE Use;
void* Sid;
int DomainIndex;
uint Flags;
}
struct LSA_TRANSLATED_NAME
{
SID_NAME_USE Use;
UNICODE_STRING Name;
int DomainIndex;
}
struct POLICY_ACCOUNT_DOMAIN_INFO
{
UNICODE_STRING DomainName;
void* DomainSid;
}
struct POLICY_DNS_DOMAIN_INFO
{
UNICODE_STRING Name;
UNICODE_STRING DnsDomainName;
UNICODE_STRING DnsForestName;
Guid DomainGuid;
void* Sid;
}
enum LSA_LOOKUP_DOMAIN_INFO_CLASS
{
AccountDomainInformation = 5,
DnsDomainInformation = 12,
}
enum SECURITY_LOGON_TYPE
{
UndefinedLogonType = 0,
Interactive = 2,
Network = 3,
Batch = 4,
Service = 5,
Proxy = 6,
Unlock = 7,
NetworkCleartext = 8,
NewCredentials = 9,
RemoteInteractive = 10,
CachedInteractive = 11,
CachedRemoteInteractive = 12,
CachedUnlock = 13,
}
enum SE_ADT_PARAMETER_TYPE
{
SeAdtParmTypeNone = 0,
SeAdtParmTypeString = 1,
SeAdtParmTypeFileSpec = 2,
SeAdtParmTypeUlong = 3,
SeAdtParmTypeSid = 4,
SeAdtParmTypeLogonId = 5,
SeAdtParmTypeNoLogonId = 6,
SeAdtParmTypeAccessMask = 7,
SeAdtParmTypePrivs = 8,
SeAdtParmTypeObjectTypes = 9,
SeAdtParmTypeHexUlong = 10,
SeAdtParmTypePtr = 11,
SeAdtParmTypeTime = 12,
SeAdtParmTypeGuid = 13,
SeAdtParmTypeLuid = 14,
SeAdtParmTypeHexInt64 = 15,
SeAdtParmTypeStringList = 16,
SeAdtParmTypeSidList = 17,
SeAdtParmTypeDuration = 18,
SeAdtParmTypeUserAccountControl = 19,
SeAdtParmTypeNoUac = 20,
SeAdtParmTypeMessage = 21,
SeAdtParmTypeDateTime = 22,
SeAdtParmTypeSockAddr = 23,
SeAdtParmTypeSD = 24,
SeAdtParmTypeLogonHours = 25,
SeAdtParmTypeLogonIdNoSid = 26,
SeAdtParmTypeUlongNoConv = 27,
SeAdtParmTypeSockAddrNoPort = 28,
SeAdtParmTypeAccessReason = 29,
SeAdtParmTypeStagingReason = 30,
SeAdtParmTypeResourceAttribute = 31,
SeAdtParmTypeClaims = 32,
SeAdtParmTypeLogonIdAsSid = 33,
SeAdtParmTypeMultiSzString = 34,
SeAdtParmTypeLogonIdEx = 35,
}
struct SE_ADT_OBJECT_TYPE
{
Guid ObjectType;
ushort Flags;
ushort Level;
uint AccessMask;
}
struct SE_ADT_PARAMETER_ARRAY_ENTRY
{
SE_ADT_PARAMETER_TYPE Type;
uint Length;
uint Data;
void* Address;
}
struct SE_ADT_ACCESS_REASON
{
uint AccessMask;
uint AccessReasons;
uint ObjectTypeIndex;
uint AccessGranted;
void* SecurityDescriptor;
}
struct SE_ADT_CLAIMS
{
uint Length;
void* Claims;
}
struct SE_ADT_PARAMETER_ARRAY
{
uint CategoryId;
uint AuditId;
uint ParameterCount;
uint Length;
ushort FlatSubCategoryId;
ushort Type;
uint Flags;
SE_ADT_PARAMETER_ARRAY_ENTRY Parameters;
}
struct SE_ADT_PARAMETER_ARRAY_EX
{
uint CategoryId;
uint AuditId;
uint Version;
uint ParameterCount;
uint Length;
ushort FlatSubCategoryId;
ushort Type;
uint Flags;
SE_ADT_PARAMETER_ARRAY_ENTRY Parameters;
}
enum POLICY_AUDIT_EVENT_TYPE
{
AuditCategorySystem = 0,
AuditCategoryLogon = 1,
AuditCategoryObjectAccess = 2,
AuditCategoryPrivilegeUse = 3,
AuditCategoryDetailedTracking = 4,
AuditCategoryPolicyChange = 5,
AuditCategoryAccountManagement = 6,
AuditCategoryDirectoryServiceAccess = 7,
AuditCategoryAccountLogon = 8,
}
struct LSA_TRANSLATED_SID
{
SID_NAME_USE Use;
uint RelativeId;
int DomainIndex;
}
enum POLICY_LSA_SERVER_ROLE
{
PolicyServerRoleBackup = 2,
PolicyServerRolePrimary = 3,
}
enum POLICY_INFORMATION_CLASS
{
PolicyAuditLogInformation = 1,
PolicyAuditEventsInformation = 2,
PolicyPrimaryDomainInformation = 3,
PolicyPdAccountInformation = 4,
PolicyAccountDomainInformation = 5,
PolicyLsaServerRoleInformation = 6,
PolicyReplicaSourceInformation = 7,
PolicyDefaultQuotaInformation = 8,
PolicyModificationInformation = 9,
PolicyAuditFullSetInformation = 10,
PolicyAuditFullQueryInformation = 11,
PolicyDnsDomainInformation = 12,
PolicyDnsDomainInformationInt = 13,
PolicyLocalAccountDomainInformation = 14,
PolicyMachineAccountInformation = 15,
PolicyLastEntry = 16,
}
struct POLICY_AUDIT_LOG_INFO
{
uint AuditLogPercentFull;
uint MaximumLogSize;
LARGE_INTEGER AuditRetentionPeriod;
ubyte AuditLogFullShutdownInProgress;
LARGE_INTEGER TimeToShutdown;
uint NextAuditRecordId;
}
struct POLICY_AUDIT_EVENTS_INFO
{
ubyte AuditingMode;
uint* EventAuditingOptions;
uint MaximumAuditEventCount;
}
struct POLICY_AUDIT_SUBCATEGORIES_INFO
{
uint MaximumSubCategoryCount;
uint* EventAuditingOptions;
}
struct POLICY_AUDIT_CATEGORIES_INFO
{
uint MaximumCategoryCount;
POLICY_AUDIT_SUBCATEGORIES_INFO* SubCategoriesInfo;
}
struct POLICY_PRIMARY_DOMAIN_INFO
{
UNICODE_STRING Name;
void* Sid;
}
struct POLICY_PD_ACCOUNT_INFO
{
UNICODE_STRING Name;
}
struct POLICY_LSA_SERVER_ROLE_INFO
{
POLICY_LSA_SERVER_ROLE LsaServerRole;
}
struct POLICY_REPLICA_SOURCE_INFO
{
UNICODE_STRING ReplicaSource;
UNICODE_STRING ReplicaAccountName;
}
struct POLICY_DEFAULT_QUOTA_INFO
{
QUOTA_LIMITS QuotaLimits;
}
struct POLICY_MODIFICATION_INFO
{
LARGE_INTEGER ModifiedId;
LARGE_INTEGER DatabaseCreationTime;
}
struct POLICY_AUDIT_FULL_SET_INFO
{
ubyte ShutDownOnFull;
}
struct POLICY_AUDIT_FULL_QUERY_INFO
{
ubyte ShutDownOnFull;
ubyte LogIsFull;
}
enum POLICY_DOMAIN_INFORMATION_CLASS
{
PolicyDomainEfsInformation = 2,
PolicyDomainKerberosTicketInformation = 3,
}
struct POLICY_DOMAIN_EFS_INFO
{
uint InfoLength;
ubyte* EfsBlob;
}
struct POLICY_DOMAIN_KERBEROS_TICKET_INFO
{
uint AuthenticationOptions;
LARGE_INTEGER MaxServiceTicketAge;
LARGE_INTEGER MaxTicketAge;
LARGE_INTEGER MaxRenewAge;
LARGE_INTEGER MaxClockSkew;
LARGE_INTEGER Reserved;
}
struct POLICY_MACHINE_ACCT_INFO
{
uint Rid;
void* Sid;
}
enum POLICY_NOTIFICATION_INFORMATION_CLASS
{
PolicyNotifyAuditEventsInformation = 1,
PolicyNotifyAccountDomainInformation = 2,
PolicyNotifyServerRoleInformation = 3,
PolicyNotifyDnsDomainInformation = 4,
PolicyNotifyDomainEfsInformation = 5,
PolicyNotifyDomainKerberosTicketInformation = 6,
PolicyNotifyMachineAccountPasswordInformation = 7,
PolicyNotifyGlobalSaclInformation = 8,
PolicyNotifyMax = 9,
}
enum TRUSTED_INFORMATION_CLASS
{
TrustedDomainNameInformation = 1,
TrustedControllersInformation = 2,
TrustedPosixOffsetInformation = 3,
TrustedPasswordInformation = 4,
TrustedDomainInformationBasic = 5,
TrustedDomainInformationEx = 6,
TrustedDomainAuthInformation = 7,
TrustedDomainFullInformation = 8,
TrustedDomainAuthInformationInternal = 9,
TrustedDomainFullInformationInternal = 10,
TrustedDomainInformationEx2Internal = 11,
TrustedDomainFullInformation2Internal = 12,
TrustedDomainSupportedEncryptionTypes = 13,
}
struct TRUSTED_DOMAIN_NAME_INFO
{
UNICODE_STRING Name;
}
struct TRUSTED_CONTROLLERS_INFO
{
uint Entries;
UNICODE_STRING* Names;
}
struct TRUSTED_POSIX_OFFSET_INFO
{
uint Offset;
}
struct TRUSTED_PASSWORD_INFO
{
UNICODE_STRING Password;
UNICODE_STRING OldPassword;
}
struct TRUSTED_DOMAIN_INFORMATION_EX
{
UNICODE_STRING Name;
UNICODE_STRING FlatName;
void* Sid;
uint TrustDirection;
uint TrustType;
uint TrustAttributes;
}
struct TRUSTED_DOMAIN_INFORMATION_EX2
{
UNICODE_STRING Name;
UNICODE_STRING FlatName;
void* Sid;
uint TrustDirection;
uint TrustType;
uint TrustAttributes;
uint ForestTrustLength;
ubyte* ForestTrustInfo;
}
struct LSA_AUTH_INFORMATION
{
LARGE_INTEGER LastUpdateTime;
uint AuthType;
uint AuthInfoLength;
ubyte* AuthInfo;
}
struct TRUSTED_DOMAIN_AUTH_INFORMATION
{
uint IncomingAuthInfos;
LSA_AUTH_INFORMATION* IncomingAuthenticationInformation;
LSA_AUTH_INFORMATION* IncomingPreviousAuthenticationInformation;
uint OutgoingAuthInfos;
LSA_AUTH_INFORMATION* OutgoingAuthenticationInformation;
LSA_AUTH_INFORMATION* OutgoingPreviousAuthenticationInformation;
}
struct TRUSTED_DOMAIN_FULL_INFORMATION
{
TRUSTED_DOMAIN_INFORMATION_EX Information;
TRUSTED_POSIX_OFFSET_INFO PosixOffset;
TRUSTED_DOMAIN_AUTH_INFORMATION AuthInformation;
}
struct TRUSTED_DOMAIN_FULL_INFORMATION2
{
TRUSTED_DOMAIN_INFORMATION_EX2 Information;
TRUSTED_POSIX_OFFSET_INFO PosixOffset;
TRUSTED_DOMAIN_AUTH_INFORMATION AuthInformation;
}
struct TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES
{
uint SupportedEncryptionTypes;
}
enum LSA_FOREST_TRUST_RECORD_TYPE
{
ForestTrustTopLevelName = 0,
ForestTrustTopLevelNameEx = 1,
ForestTrustDomainInfo = 2,
ForestTrustRecordTypeLast = 2,
}
struct LSA_FOREST_TRUST_DOMAIN_INFO
{
void* Sid;
UNICODE_STRING DnsName;
UNICODE_STRING NetbiosName;
}
struct LSA_FOREST_TRUST_BINARY_DATA
{
uint Length;
ubyte* Buffer;
}
struct LSA_FOREST_TRUST_RECORD
{
uint Flags;
LSA_FOREST_TRUST_RECORD_TYPE ForestTrustType;
LARGE_INTEGER Time;
_ForestTrustData_e__Union ForestTrustData;
}
struct LSA_FOREST_TRUST_INFORMATION
{
uint RecordCount;
LSA_FOREST_TRUST_RECORD** Entries;
}
enum LSA_FOREST_TRUST_COLLISION_RECORD_TYPE
{
CollisionTdo = 0,
CollisionXref = 1,
CollisionOther = 2,
}
struct LSA_FOREST_TRUST_COLLISION_RECORD
{
uint Index;
LSA_FOREST_TRUST_COLLISION_RECORD_TYPE Type;
uint Flags;
UNICODE_STRING Name;
}
struct LSA_FOREST_TRUST_COLLISION_INFORMATION
{
uint RecordCount;
LSA_FOREST_TRUST_COLLISION_RECORD** Entries;
}
struct LSA_ENUMERATION_INFORMATION
{
void* Sid;
}
struct LSA_LAST_INTER_LOGON_INFO
{
LARGE_INTEGER LastSuccessfulLogon;
LARGE_INTEGER LastFailedLogon;
uint FailedAttemptCountSinceLastSuccessfulLogon;
}
struct SECURITY_LOGON_SESSION_DATA
{
uint Size;
LUID LogonId;
UNICODE_STRING UserName;
UNICODE_STRING LogonDomain;
UNICODE_STRING AuthenticationPackage;
uint LogonType;
uint Session;
void* Sid;
LARGE_INTEGER LogonTime;
UNICODE_STRING LogonServer;
UNICODE_STRING DnsDomainName;
UNICODE_STRING Upn;
uint UserFlags;
LSA_LAST_INTER_LOGON_INFO LastLogonInfo;
UNICODE_STRING LogonScript;
UNICODE_STRING ProfilePath;
UNICODE_STRING HomeDirectory;
UNICODE_STRING HomeDirectoryDrive;
LARGE_INTEGER LogoffTime;
LARGE_INTEGER KickOffTime;
LARGE_INTEGER PasswordLastSet;
LARGE_INTEGER PasswordCanChange;
LARGE_INTEGER PasswordMustChange;
}
struct CENTRAL_ACCESS_POLICY_ENTRY
{
UNICODE_STRING Name;
UNICODE_STRING Description;
UNICODE_STRING ChangeId;
uint LengthAppliesTo;
ubyte* AppliesTo;
uint LengthSD;
void* SD;
uint LengthStagedSD;
void* StagedSD;
uint Flags;
}
struct CENTRAL_ACCESS_POLICY
{
void* CAPID;
UNICODE_STRING Name;
UNICODE_STRING Description;
UNICODE_STRING ChangeId;
uint Flags;
uint CAPECount;
CENTRAL_ACCESS_POLICY_ENTRY** CAPEs;
}
enum NEGOTIATE_MESSAGES
{
NegEnumPackagePrefixes = 0,
NegGetCallerName = 1,
NegTransferCredentials = 2,
NegMsgReserved1 = 3,
NegCallPackageMax = 4,
}
struct NEGOTIATE_PACKAGE_PREFIX
{
uint PackageId;
void* PackageDataA;
void* PackageDataW;
uint PrefixLen;
ubyte Prefix;
}
struct NEGOTIATE_PACKAGE_PREFIXES
{
uint MessageType;
uint PrefixCount;
uint Offset;
uint Pad;
}
struct NEGOTIATE_CALLER_NAME_REQUEST
{
uint MessageType;
LUID LogonId;
}
struct NEGOTIATE_CALLER_NAME_RESPONSE
{
uint MessageType;
const(wchar)* CallerName;
}
struct DOMAIN_PASSWORD_INFORMATION
{
ushort MinPasswordLength;
ushort PasswordHistoryLength;
uint PasswordProperties;
LARGE_INTEGER MaxPasswordAge;
LARGE_INTEGER MinPasswordAge;
}
alias PSAM_PASSWORD_NOTIFICATION_ROUTINE = extern(Windows) NTSTATUS function(UNICODE_STRING* UserName, uint RelativeId, UNICODE_STRING* NewPassword);
alias PSAM_INIT_NOTIFICATION_ROUTINE = extern(Windows) ubyte function();
alias PSAM_PASSWORD_FILTER_ROUTINE = extern(Windows) ubyte function(UNICODE_STRING* AccountName, UNICODE_STRING* FullName, UNICODE_STRING* Password, ubyte SetOperation);
enum MSV1_0_LOGON_SUBMIT_TYPE
{
MsV1_0InteractiveLogon = 2,
MsV1_0Lm20Logon = 3,
MsV1_0NetworkLogon = 4,
MsV1_0SubAuthLogon = 5,
MsV1_0WorkstationUnlockLogon = 7,
MsV1_0S4ULogon = 12,
MsV1_0VirtualLogon = 82,
MsV1_0NoElevationLogon = 83,
MsV1_0LuidLogon = 84,
}
enum MSV1_0_PROFILE_BUFFER_TYPE
{
MsV1_0InteractiveProfile = 2,
MsV1_0Lm20LogonProfile = 3,
MsV1_0SmartCardProfile = 4,
}
struct MSV1_0_INTERACTIVE_LOGON
{
MSV1_0_LOGON_SUBMIT_TYPE MessageType;
UNICODE_STRING LogonDomainName;
UNICODE_STRING UserName;
UNICODE_STRING Password;
}
struct MSV1_0_INTERACTIVE_PROFILE
{
MSV1_0_PROFILE_BUFFER_TYPE MessageType;
ushort LogonCount;
ushort BadPasswordCount;
LARGE_INTEGER LogonTime;
LARGE_INTEGER LogoffTime;
LARGE_INTEGER KickOffTime;
LARGE_INTEGER PasswordLastSet;
LARGE_INTEGER PasswordCanChange;
LARGE_INTEGER PasswordMustChange;
UNICODE_STRING LogonScript;
UNICODE_STRING HomeDirectory;
UNICODE_STRING FullName;
UNICODE_STRING ProfilePath;
UNICODE_STRING HomeDirectoryDrive;
UNICODE_STRING LogonServer;
uint UserFlags;
}
struct MSV1_0_LM20_LOGON
{
MSV1_0_LOGON_SUBMIT_TYPE MessageType;
UNICODE_STRING LogonDomainName;
UNICODE_STRING UserName;
UNICODE_STRING Workstation;
ubyte ChallengeToClient;
STRING CaseSensitiveChallengeResponse;
STRING CaseInsensitiveChallengeResponse;
uint ParameterControl;
}
struct MSV1_0_SUBAUTH_LOGON
{
MSV1_0_LOGON_SUBMIT_TYPE MessageType;
UNICODE_STRING LogonDomainName;
UNICODE_STRING UserName;
UNICODE_STRING Workstation;
ubyte ChallengeToClient;
STRING AuthenticationInfo1;
STRING AuthenticationInfo2;
uint ParameterControl;
uint SubAuthPackageId;
}
struct MSV1_0_S4U_LOGON
{
MSV1_0_LOGON_SUBMIT_TYPE MessageType;
uint Flags;
UNICODE_STRING UserPrincipalName;
UNICODE_STRING DomainName;
}
struct MSV1_0_LM20_LOGON_PROFILE
{
MSV1_0_PROFILE_BUFFER_TYPE MessageType;
LARGE_INTEGER KickOffTime;
LARGE_INTEGER LogoffTime;
uint UserFlags;
ubyte UserSessionKey;
UNICODE_STRING LogonDomainName;
ubyte LanmanSessionKey;
UNICODE_STRING LogonServer;
UNICODE_STRING UserParameters;
}
enum MSV1_0_CREDENTIAL_KEY_TYPE
{
InvalidCredKey = 0,
DeprecatedIUMCredKey = 1,
DomainUserCredKey = 2,
LocalUserCredKey = 3,
ExternallySuppliedCredKey = 4,
}
struct MSV1_0_CREDENTIAL_KEY
{
ubyte Data;
}
struct MSV1_0_SUPPLEMENTAL_CREDENTIAL
{
uint Version;
uint Flags;
ubyte LmPassword;
ubyte NtPassword;
}
struct MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2
{
uint Version;
uint Flags;
ubyte NtPassword;
MSV1_0_CREDENTIAL_KEY CredentialKey;
}
struct MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3
{
uint Version;
uint Flags;
MSV1_0_CREDENTIAL_KEY_TYPE CredentialKeyType;
ubyte NtPassword;
MSV1_0_CREDENTIAL_KEY CredentialKey;
ubyte ShaPassword;
}
struct MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL
{
uint Version;
uint EncryptedCredsSize;
ubyte EncryptedCreds;
}
struct MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL
{
uint Version;
uint Flags;
MSV1_0_CREDENTIAL_KEY CredentialKey;
MSV1_0_CREDENTIAL_KEY_TYPE CredentialKeyType;
uint EncryptedCredsSize;
ubyte EncryptedCreds;
}
struct MSV1_0_NTLM3_RESPONSE
{
ubyte Response;
ubyte RespType;
ubyte HiRespType;
ushort Flags;
uint MsgWord;
ulong TimeStamp;
ubyte ChallengeFromClient;
uint AvPairsOff;
ubyte Buffer;
}
enum MSV1_0_AVID
{
MsvAvEOL = 0,
MsvAvNbComputerName = 1,
MsvAvNbDomainName = 2,
MsvAvDnsComputerName = 3,
MsvAvDnsDomainName = 4,
MsvAvDnsTreeName = 5,
MsvAvFlags = 6,
MsvAvTimestamp = 7,
MsvAvRestrictions = 8,
MsvAvTargetName = 9,
MsvAvChannelBindings = 10,
}
struct MSV1_0_AV_PAIR
{
ushort AvId;
ushort AvLen;
}
enum MSV1_0_PROTOCOL_MESSAGE_TYPE
{
MsV1_0Lm20ChallengeRequest = 0,
MsV1_0Lm20GetChallengeResponse = 1,
MsV1_0EnumerateUsers = 2,
MsV1_0GetUserInfo = 3,
MsV1_0ReLogonUsers = 4,
MsV1_0ChangePassword = 5,
MsV1_0ChangeCachedPassword = 6,
MsV1_0GenericPassthrough = 7,
MsV1_0CacheLogon = 8,
MsV1_0SubAuth = 9,
MsV1_0DeriveCredential = 10,
MsV1_0CacheLookup = 11,
MsV1_0SetProcessOption = 12,
MsV1_0ConfigLocalAliases = 13,
MsV1_0ClearCachedCredentials = 14,
MsV1_0LookupToken = 15,
MsV1_0ValidateAuth = 16,
MsV1_0CacheLookupEx = 17,
MsV1_0GetCredentialKey = 18,
MsV1_0SetThreadOption = 19,
MsV1_0DecryptDpapiMasterKey = 20,
MsV1_0GetStrongCredentialKey = 21,
MsV1_0TransferCred = 22,
MsV1_0ProvisionTbal = 23,
MsV1_0DeleteTbalSecrets = 24,
}
struct MSV1_0_CHANGEPASSWORD_REQUEST
{
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType;
UNICODE_STRING DomainName;
UNICODE_STRING AccountName;
UNICODE_STRING OldPassword;
UNICODE_STRING NewPassword;
ubyte Impersonating;
}
struct MSV1_0_CHANGEPASSWORD_RESPONSE
{
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType;
ubyte PasswordInfoValid;
DOMAIN_PASSWORD_INFORMATION DomainPasswordInfo;
}
struct MSV1_0_PASSTHROUGH_REQUEST
{
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType;
UNICODE_STRING DomainName;
UNICODE_STRING PackageName;
uint DataLength;
ubyte* LogonData;
uint Pad;
}
struct MSV1_0_PASSTHROUGH_RESPONSE
{
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType;
uint Pad;
uint DataLength;
ubyte* ValidationData;
}
struct MSV1_0_SUBAUTH_REQUEST
{
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType;
uint SubAuthPackageId;
uint SubAuthInfoLength;
ubyte* SubAuthSubmitBuffer;
}
struct MSV1_0_SUBAUTH_RESPONSE
{
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType;
uint SubAuthInfoLength;
ubyte* SubAuthReturnBuffer;
}
enum KERB_LOGON_SUBMIT_TYPE
{
KerbInteractiveLogon = 2,
KerbSmartCardLogon = 6,
KerbWorkstationUnlockLogon = 7,
KerbSmartCardUnlockLogon = 8,
KerbProxyLogon = 9,
KerbTicketLogon = 10,
KerbTicketUnlockLogon = 11,
KerbS4ULogon = 12,
KerbCertificateLogon = 13,
KerbCertificateS4ULogon = 14,
KerbCertificateUnlockLogon = 15,
KerbNoElevationLogon = 83,
KerbLuidLogon = 84,
}
struct KERB_INTERACTIVE_LOGON
{
KERB_LOGON_SUBMIT_TYPE MessageType;
UNICODE_STRING LogonDomainName;
UNICODE_STRING UserName;
UNICODE_STRING Password;
}
struct KERB_INTERACTIVE_UNLOCK_LOGON
{
KERB_INTERACTIVE_LOGON Logon;
LUID LogonId;
}
struct KERB_SMART_CARD_LOGON
{
KERB_LOGON_SUBMIT_TYPE MessageType;
UNICODE_STRING Pin;
uint CspDataLength;
ubyte* CspData;
}
struct KERB_SMART_CARD_UNLOCK_LOGON
{
KERB_SMART_CARD_LOGON Logon;
LUID LogonId;
}
struct KERB_CERTIFICATE_LOGON
{
KERB_LOGON_SUBMIT_TYPE MessageType;
UNICODE_STRING DomainName;
UNICODE_STRING UserName;
UNICODE_STRING Pin;
uint Flags;
uint CspDataLength;
ubyte* CspData;
}
struct KERB_CERTIFICATE_UNLOCK_LOGON
{
KERB_CERTIFICATE_LOGON Logon;
LUID LogonId;
}
struct KERB_CERTIFICATE_S4U_LOGON
{
KERB_LOGON_SUBMIT_TYPE MessageType;
uint Flags;
UNICODE_STRING UserPrincipalName;
UNICODE_STRING DomainName;
uint CertificateLength;
ubyte* Certificate;
}
struct KERB_TICKET_LOGON
{
KERB_LOGON_SUBMIT_TYPE MessageType;
uint Flags;
uint ServiceTicketLength;
uint TicketGrantingTicketLength;
ubyte* ServiceTicket;
ubyte* TicketGrantingTicket;
}
struct KERB_TICKET_UNLOCK_LOGON
{
KERB_TICKET_LOGON Logon;
LUID LogonId;
}
struct KERB_S4U_LOGON
{
KERB_LOGON_SUBMIT_TYPE MessageType;
uint Flags;
UNICODE_STRING ClientUpn;
UNICODE_STRING ClientRealm;
}
enum KERB_PROFILE_BUFFER_TYPE
{
KerbInteractiveProfile = 2,
KerbSmartCardProfile = 4,
KerbTicketProfile = 6,
}
struct KERB_INTERACTIVE_PROFILE
{
KERB_PROFILE_BUFFER_TYPE MessageType;
ushort LogonCount;
ushort BadPasswordCount;
LARGE_INTEGER LogonTime;
LARGE_INTEGER LogoffTime;
LARGE_INTEGER KickOffTime;
LARGE_INTEGER PasswordLastSet;
LARGE_INTEGER PasswordCanChange;
LARGE_INTEGER PasswordMustChange;
UNICODE_STRING LogonScript;
UNICODE_STRING HomeDirectory;
UNICODE_STRING FullName;
UNICODE_STRING ProfilePath;
UNICODE_STRING HomeDirectoryDrive;
UNICODE_STRING LogonServer;
uint UserFlags;
}
struct KERB_SMART_CARD_PROFILE
{
KERB_INTERACTIVE_PROFILE Profile;
uint CertificateSize;
ubyte* CertificateData;
}
struct KERB_CRYPTO_KEY
{
int KeyType;
uint Length;
ubyte* Value;
}
struct KERB_CRYPTO_KEY32
{
int KeyType;
uint Length;
uint Offset;
}
struct KERB_TICKET_PROFILE
{
KERB_INTERACTIVE_PROFILE Profile;
KERB_CRYPTO_KEY SessionKey;
}
enum KERB_PROTOCOL_MESSAGE_TYPE
{
KerbDebugRequestMessage = 0,
KerbQueryTicketCacheMessage = 1,
KerbChangeMachinePasswordMessage = 2,
KerbVerifyPacMessage = 3,
KerbRetrieveTicketMessage = 4,
KerbUpdateAddressesMessage = 5,
KerbPurgeTicketCacheMessage = 6,
KerbChangePasswordMessage = 7,
KerbRetrieveEncodedTicketMessage = 8,
KerbDecryptDataMessage = 9,
KerbAddBindingCacheEntryMessage = 10,
KerbSetPasswordMessage = 11,
KerbSetPasswordExMessage = 12,
KerbVerifyCredentialsMessage = 13,
KerbQueryTicketCacheExMessage = 14,
KerbPurgeTicketCacheExMessage = 15,
KerbRefreshSmartcardCredentialsMessage = 16,
KerbAddExtraCredentialsMessage = 17,
KerbQuerySupplementalCredentialsMessage = 18,
KerbTransferCredentialsMessage = 19,
KerbQueryTicketCacheEx2Message = 20,
KerbSubmitTicketMessage = 21,
KerbAddExtraCredentialsExMessage = 22,
KerbQueryKdcProxyCacheMessage = 23,
KerbPurgeKdcProxyCacheMessage = 24,
KerbQueryTicketCacheEx3Message = 25,
KerbCleanupMachinePkinitCredsMessage = 26,
KerbAddBindingCacheEntryExMessage = 27,
KerbQueryBindingCacheMessage = 28,
KerbPurgeBindingCacheMessage = 29,
KerbPinKdcMessage = 30,
KerbUnpinAllKdcsMessage = 31,
KerbQueryDomainExtendedPoliciesMessage = 32,
KerbQueryS4U2ProxyCacheMessage = 33,
KerbRetrieveKeyTabMessage = 34,
}
struct KERB_QUERY_TKT_CACHE_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
LUID LogonId;
}
struct KERB_TICKET_CACHE_INFO
{
UNICODE_STRING ServerName;
UNICODE_STRING RealmName;
LARGE_INTEGER StartTime;
LARGE_INTEGER EndTime;
LARGE_INTEGER RenewTime;
int EncryptionType;
uint TicketFlags;
}
struct KERB_TICKET_CACHE_INFO_EX
{
UNICODE_STRING ClientName;
UNICODE_STRING ClientRealm;
UNICODE_STRING ServerName;
UNICODE_STRING ServerRealm;
LARGE_INTEGER StartTime;
LARGE_INTEGER EndTime;
LARGE_INTEGER RenewTime;
int EncryptionType;
uint TicketFlags;
}
struct KERB_TICKET_CACHE_INFO_EX2
{
UNICODE_STRING ClientName;
UNICODE_STRING ClientRealm;
UNICODE_STRING ServerName;
UNICODE_STRING ServerRealm;
LARGE_INTEGER StartTime;
LARGE_INTEGER EndTime;
LARGE_INTEGER RenewTime;
int EncryptionType;
uint TicketFlags;
uint SessionKeyType;
uint BranchId;
}
struct KERB_TICKET_CACHE_INFO_EX3
{
UNICODE_STRING ClientName;
UNICODE_STRING ClientRealm;
UNICODE_STRING ServerName;
UNICODE_STRING ServerRealm;
LARGE_INTEGER StartTime;
LARGE_INTEGER EndTime;
LARGE_INTEGER RenewTime;
int EncryptionType;
uint TicketFlags;
uint SessionKeyType;
uint BranchId;
uint CacheFlags;
UNICODE_STRING KdcCalled;
}
struct KERB_QUERY_TKT_CACHE_RESPONSE
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
uint CountOfTickets;
KERB_TICKET_CACHE_INFO Tickets;
}
struct KERB_QUERY_TKT_CACHE_EX_RESPONSE
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
uint CountOfTickets;
KERB_TICKET_CACHE_INFO_EX Tickets;
}
struct KERB_QUERY_TKT_CACHE_EX2_RESPONSE
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
uint CountOfTickets;
KERB_TICKET_CACHE_INFO_EX2 Tickets;
}
struct KERB_QUERY_TKT_CACHE_EX3_RESPONSE
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
uint CountOfTickets;
KERB_TICKET_CACHE_INFO_EX3 Tickets;
}
struct SecHandle
{
uint dwLower;
uint dwUpper;
}
struct KERB_AUTH_DATA
{
uint Type;
uint Length;
ubyte* Data;
}
struct KERB_NET_ADDRESS
{
uint Family;
uint Length;
const(char)* Address;
}
struct KERB_NET_ADDRESSES
{
uint Number;
KERB_NET_ADDRESS Addresses;
}
struct KERB_EXTERNAL_NAME
{
short NameType;
ushort NameCount;
UNICODE_STRING Names;
}
struct KERB_EXTERNAL_TICKET
{
KERB_EXTERNAL_NAME* ServiceName;
KERB_EXTERNAL_NAME* TargetName;
KERB_EXTERNAL_NAME* ClientName;
UNICODE_STRING DomainName;
UNICODE_STRING TargetDomainName;
UNICODE_STRING AltTargetDomainName;
KERB_CRYPTO_KEY SessionKey;
uint TicketFlags;
uint Flags;
LARGE_INTEGER KeyExpirationTime;
LARGE_INTEGER StartTime;
LARGE_INTEGER EndTime;
LARGE_INTEGER RenewUntil;
LARGE_INTEGER TimeSkew;
uint EncodedTicketSize;
ubyte* EncodedTicket;
}
struct KERB_RETRIEVE_TKT_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
LUID LogonId;
UNICODE_STRING TargetName;
uint TicketFlags;
uint CacheOptions;
int EncryptionType;
SecHandle CredentialsHandle;
}
struct KERB_RETRIEVE_TKT_RESPONSE
{
KERB_EXTERNAL_TICKET Ticket;
}
struct KERB_PURGE_TKT_CACHE_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
LUID LogonId;
UNICODE_STRING ServerName;
UNICODE_STRING RealmName;
}
struct KERB_PURGE_TKT_CACHE_EX_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
LUID LogonId;
uint Flags;
KERB_TICKET_CACHE_INFO_EX TicketTemplate;
}
struct KERB_SUBMIT_TKT_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
LUID LogonId;
uint Flags;
KERB_CRYPTO_KEY32 Key;
uint KerbCredSize;
uint KerbCredOffset;
}
struct KERB_QUERY_KDC_PROXY_CACHE_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
uint Flags;
LUID LogonId;
}
struct KDC_PROXY_CACHE_ENTRY_DATA
{
ulong SinceLastUsed;
UNICODE_STRING DomainName;
UNICODE_STRING ProxyServerName;
UNICODE_STRING ProxyServerVdir;
ushort ProxyServerPort;
LUID LogonId;
UNICODE_STRING CredUserName;
UNICODE_STRING CredDomainName;
ubyte GlobalCache;
}
struct KERB_QUERY_KDC_PROXY_CACHE_RESPONSE
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
uint CountOfEntries;
KDC_PROXY_CACHE_ENTRY_DATA* Entries;
}
struct KERB_PURGE_KDC_PROXY_CACHE_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
uint Flags;
LUID LogonId;
}
struct KERB_PURGE_KDC_PROXY_CACHE_RESPONSE
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
uint CountOfPurged;
}
struct KERB_S4U2PROXY_CACHE_ENTRY_INFO
{
UNICODE_STRING ServerName;
uint Flags;
NTSTATUS LastStatus;
LARGE_INTEGER Expiry;
}
struct KERB_S4U2PROXY_CRED
{
UNICODE_STRING UserName;
UNICODE_STRING DomainName;
uint Flags;
NTSTATUS LastStatus;
LARGE_INTEGER Expiry;
uint CountOfEntries;
KERB_S4U2PROXY_CACHE_ENTRY_INFO* Entries;
}
struct KERB_QUERY_S4U2PROXY_CACHE_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
uint Flags;
LUID LogonId;
}
struct KERB_QUERY_S4U2PROXY_CACHE_RESPONSE
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
uint CountOfCreds;
KERB_S4U2PROXY_CRED* Creds;
}
struct KERB_RETRIEVE_KEY_TAB_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
uint Flags;
UNICODE_STRING UserName;
UNICODE_STRING DomainName;
UNICODE_STRING Password;
}
struct KERB_RETRIEVE_KEY_TAB_RESPONSE
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
uint KeyTabLength;
ubyte* KeyTab;
}
struct KERB_CHANGEPASSWORD_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
UNICODE_STRING DomainName;
UNICODE_STRING AccountName;
UNICODE_STRING OldPassword;
UNICODE_STRING NewPassword;
ubyte Impersonating;
}
struct KERB_SETPASSWORD_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
LUID LogonId;
SecHandle CredentialsHandle;
uint Flags;
UNICODE_STRING DomainName;
UNICODE_STRING AccountName;
UNICODE_STRING Password;
}
struct KERB_SETPASSWORD_EX_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
LUID LogonId;
SecHandle CredentialsHandle;
uint Flags;
UNICODE_STRING AccountRealm;
UNICODE_STRING AccountName;
UNICODE_STRING Password;
UNICODE_STRING ClientRealm;
UNICODE_STRING ClientName;
ubyte Impersonating;
UNICODE_STRING KdcAddress;
uint KdcAddressType;
}
struct KERB_DECRYPT_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
LUID LogonId;
uint Flags;
int CryptoType;
int KeyUsage;
KERB_CRYPTO_KEY Key;
uint EncryptedDataSize;
uint InitialVectorSize;
ubyte* InitialVector;
ubyte* EncryptedData;
}
struct KERB_DECRYPT_RESPONSE
{
ubyte DecryptedData;
}
struct KERB_ADD_BINDING_CACHE_ENTRY_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
UNICODE_STRING RealmName;
UNICODE_STRING KdcAddress;
uint AddressType;
}
struct KERB_REFRESH_SCCRED_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
UNICODE_STRING CredentialBlob;
LUID LogonId;
uint Flags;
}
struct KERB_ADD_CREDENTIALS_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
UNICODE_STRING UserName;
UNICODE_STRING DomainName;
UNICODE_STRING Password;
LUID LogonId;
uint Flags;
}
struct KERB_ADD_CREDENTIALS_REQUEST_EX
{
KERB_ADD_CREDENTIALS_REQUEST Credentials;
uint PrincipalNameCount;
UNICODE_STRING PrincipalNames;
}
struct KERB_TRANSFER_CRED_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
LUID OriginLogonId;
LUID DestinationLogonId;
uint Flags;
}
struct KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
LUID LogonId;
}
struct KERB_BINDING_CACHE_ENTRY_DATA
{
ulong DiscoveryTime;
UNICODE_STRING RealmName;
UNICODE_STRING KdcAddress;
uint AddressType;
uint Flags;
uint DcFlags;
uint CacheFlags;
UNICODE_STRING KdcName;
}
struct KERB_QUERY_BINDING_CACHE_RESPONSE
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
uint CountOfEntries;
KERB_BINDING_CACHE_ENTRY_DATA* Entries;
}
struct KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
UNICODE_STRING RealmName;
UNICODE_STRING KdcAddress;
uint AddressType;
uint DcFlags;
}
struct KERB_QUERY_BINDING_CACHE_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
}
struct KERB_PURGE_BINDING_CACHE_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
}
struct KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
uint Flags;
UNICODE_STRING DomainName;
}
struct KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE
{
KERB_PROTOCOL_MESSAGE_TYPE MessageType;
uint Flags;
uint ExtendedPolicies;
uint DsFlags;
}
enum KERB_CERTIFICATE_INFO_TYPE
{
CertHashInfo = 1,
}
struct KERB_CERTIFICATE_HASHINFO
{
ushort StoreNameLength;
ushort HashLength;
}
struct KERB_CERTIFICATE_INFO
{
uint CertInfoSize;
uint InfoType;
}
struct POLICY_AUDIT_SID_ARRAY
{
uint UsersCount;
void** UserSidArray;
}
struct AUDIT_POLICY_INFORMATION
{
Guid AuditSubCategoryGuid;
uint AuditingInformation;
Guid AuditCategoryGuid;
}
struct PKU2U_CERT_BLOB
{
uint CertOffset;
ushort CertLength;
}
struct PKU2U_CREDUI_CONTEXT
{
ulong Version;
ushort cbHeaderLength;
uint cbStructureLength;
ushort CertArrayCount;
uint CertArrayOffset;
}
enum PKU2U_LOGON_SUBMIT_TYPE
{
Pku2uCertificateS4ULogon = 14,
}
struct PKU2U_CERTIFICATE_S4U_LOGON
{
PKU2U_LOGON_SUBMIT_TYPE MessageType;
uint Flags;
UNICODE_STRING UserPrincipalName;
UNICODE_STRING DomainName;
uint CertificateLength;
ubyte* Certificate;
}
struct SecPkgInfoW
{
uint fCapabilities;
ushort wVersion;
ushort wRPCID;
uint cbMaxToken;
ushort* Name;
ushort* Comment;
}
struct SecPkgInfoA
{
uint fCapabilities;
ushort wVersion;
ushort wRPCID;
uint cbMaxToken;
byte* Name;
byte* Comment;
}
struct SecBuffer
{
uint cbBuffer;
uint BufferType;
void* pvBuffer;
}
struct SecBufferDesc
{
uint ulVersion;
uint cBuffers;
SecBuffer* pBuffers;
}
struct SEC_NEGOTIATION_INFO
{
uint Size;
uint NameLength;
ushort* Name;
void* Reserved;
}
struct SEC_CHANNEL_BINDINGS
{
uint dwInitiatorAddrType;
uint cbInitiatorLength;
uint dwInitiatorOffset;
uint dwAcceptorAddrType;
uint cbAcceptorLength;
uint dwAcceptorOffset;
uint cbApplicationDataLength;
uint dwApplicationDataOffset;
}
enum SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT
{
SecApplicationProtocolNegotiationExt_None = 0,
SecApplicationProtocolNegotiationExt_NPN = 1,
SecApplicationProtocolNegotiationExt_ALPN = 2,
}
struct SEC_APPLICATION_PROTOCOL_LIST
{
SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT ProtoNegoExt;
ushort ProtocolListSize;
ubyte ProtocolList;
}
struct SEC_APPLICATION_PROTOCOLS
{
uint ProtocolListsSize;
SEC_APPLICATION_PROTOCOL_LIST ProtocolLists;
}
struct SEC_SRTP_PROTECTION_PROFILES
{
ushort ProfilesSize;
ushort ProfilesList;
}
struct SEC_SRTP_MASTER_KEY_IDENTIFIER
{
ubyte MasterKeyIdentifierSize;
ubyte MasterKeyIdentifier;
}
struct SEC_TOKEN_BINDING
{
ubyte MajorVersion;
ubyte MinorVersion;
ushort KeyParametersSize;
ubyte KeyParameters;
}
struct SEC_PRESHAREDKEY
{
ushort KeySize;
ubyte Key;
}
struct SEC_PRESHAREDKEY_IDENTITY
{
ushort KeyIdentitySize;
ubyte KeyIdentity;
}
struct SEC_DTLS_MTU
{
ushort PathMTU;
}
struct SEC_FLAGS
{
ulong Flags;
}
enum SEC_TRAFFIC_SECRET_TYPE
{
SecTrafficSecret_None = 0,
SecTrafficSecret_Client = 1,
SecTrafficSecret_Server = 2,
}
struct SEC_TRAFFIC_SECRETS
{
ushort SymmetricAlgId;
ushort ChainingMode;
ushort HashAlgId;
ushort KeySize;
ushort IvSize;
ushort MsgSequenceStart;
ushort MsgSequenceEnd;
SEC_TRAFFIC_SECRET_TYPE TrafficSecretType;
ushort TrafficSecretSize;
ubyte TrafficSecret;
}
struct SecPkgCredentials_NamesW
{
ushort* sUserName;
}
struct SecPkgCredentials_NamesA
{
byte* sUserName;
}
struct SecPkgCredentials_SSIProviderW
{
ushort* sProviderName;
uint ProviderInfoLength;
byte* ProviderInfo;
}
struct SecPkgCredentials_SSIProviderA
{
byte* sProviderName;
uint ProviderInfoLength;
byte* ProviderInfo;
}
struct SecPkgCredentials_KdcProxySettingsW
{
uint Version;
uint Flags;
ushort ProxyServerOffset;
ushort ProxyServerLength;
ushort ClientTlsCredOffset;
ushort ClientTlsCredLength;
}
struct SecPkgCredentials_Cert
{
uint EncodedCertSize;
ubyte* EncodedCert;
}
struct SecPkgContext_SubjectAttributes
{
void* AttributeInfo;
}
enum SECPKG_CRED_CLASS
{
SecPkgCredClass_None = 0,
SecPkgCredClass_Ephemeral = 10,
SecPkgCredClass_PersistedGeneric = 20,
SecPkgCredClass_PersistedSpecific = 30,
SecPkgCredClass_Explicit = 40,
}
struct SecPkgContext_CredInfo
{
SECPKG_CRED_CLASS CredClass;
uint IsPromptingNeeded;
}
struct SecPkgContext_NegoPackageInfo
{
uint PackageMask;
}
struct SecPkgContext_NegoStatus
{
uint LastStatus;
}
struct SecPkgContext_Sizes
{
uint cbMaxToken;
uint cbMaxSignature;
uint cbBlockSize;
uint cbSecurityTrailer;
}
struct SecPkgContext_StreamSizes
{
uint cbHeader;
uint cbTrailer;
uint cbMaximumMessage;
uint cBuffers;
uint cbBlockSize;
}
struct SecPkgContext_NamesW
{
ushort* sUserName;
}
enum SECPKG_ATTR_LCT_STATUS
{
SecPkgAttrLastClientTokenYes = 0,
SecPkgAttrLastClientTokenNo = 1,
SecPkgAttrLastClientTokenMaybe = 2,
}
struct SecPkgContext_LastClientTokenStatus
{
SECPKG_ATTR_LCT_STATUS LastClientTokenStatus;
}
struct SecPkgContext_NamesA
{
byte* sUserName;
}
struct SecPkgContext_Lifespan
{
LARGE_INTEGER tsStart;
LARGE_INTEGER tsExpiry;
}
struct SecPkgContext_DceInfo
{
uint AuthzSvc;
void* pPac;
}
struct SecPkgContext_KeyInfoA
{
byte* sSignatureAlgorithmName;
byte* sEncryptAlgorithmName;
uint KeySize;
uint SignatureAlgorithm;
uint EncryptAlgorithm;
}
struct SecPkgContext_KeyInfoW
{
ushort* sSignatureAlgorithmName;
ushort* sEncryptAlgorithmName;
uint KeySize;
uint SignatureAlgorithm;
uint EncryptAlgorithm;
}
struct SecPkgContext_AuthorityA
{
byte* sAuthorityName;
}
struct SecPkgContext_AuthorityW
{
ushort* sAuthorityName;
}
struct SecPkgContext_ProtoInfoA
{
byte* sProtocolName;
uint majorVersion;
uint minorVersion;
}
struct SecPkgContext_ProtoInfoW
{
ushort* sProtocolName;
uint majorVersion;
uint minorVersion;
}
struct SecPkgContext_PasswordExpiry
{
LARGE_INTEGER tsPasswordExpires;
}
struct SecPkgContext_LogoffTime
{
LARGE_INTEGER tsLogoffTime;
}
struct SecPkgContext_SessionKey
{
uint SessionKeyLength;
ubyte* SessionKey;
}
struct SecPkgContext_NegoKeys
{
uint KeyType;
ushort KeyLength;
ubyte* KeyValue;
uint VerifyKeyType;
ushort VerifyKeyLength;
ubyte* VerifyKeyValue;
}
struct SecPkgContext_PackageInfoW
{
SecPkgInfoW* PackageInfo;
}
struct SecPkgContext_PackageInfoA
{
SecPkgInfoA* PackageInfo;
}
struct SecPkgContext_UserFlags
{
uint UserFlags;
}
struct SecPkgContext_Flags
{
uint Flags;
}
struct SecPkgContext_NegotiationInfoA
{
SecPkgInfoA* PackageInfo;
uint NegotiationState;
}
struct SecPkgContext_NegotiationInfoW
{
SecPkgInfoW* PackageInfo;
uint NegotiationState;
}
struct SecPkgContext_NativeNamesW
{
ushort* sClientName;
ushort* sServerName;
}
struct SecPkgContext_NativeNamesA
{
byte* sClientName;
byte* sServerName;
}
struct SecPkgContext_CredentialNameW
{
uint CredentialType;
ushort* sCredentialName;
}
struct SecPkgContext_CredentialNameA
{
uint CredentialType;
byte* sCredentialName;
}
struct SecPkgContext_AccessToken
{
void* AccessToken;
}
struct SecPkgContext_TargetInformation
{
uint MarshalledTargetInfoLength;
ubyte* MarshalledTargetInfo;
}
struct SecPkgContext_AuthzID
{
uint AuthzIDLength;
byte* AuthzID;
}
struct SecPkgContext_Target
{
uint TargetLength;
byte* Target;
}
struct SecPkgContext_ClientSpecifiedTarget
{
ushort* sTargetName;
}
struct SecPkgContext_Bindings
{
uint BindingsLength;
SEC_CHANNEL_BINDINGS* Bindings;
}
enum SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS
{
SecApplicationProtocolNegotiationStatus_None = 0,
SecApplicationProtocolNegotiationStatus_Success = 1,
SecApplicationProtocolNegotiationStatus_SelectedClientOnly = 2,
}
struct SecPkgContext_ApplicationProtocol
{
SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS ProtoNegoStatus;
SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT ProtoNegoExt;
ubyte ProtocolIdSize;
ubyte ProtocolId;
}
struct SecPkgContext_NegotiatedTlsExtensions
{
uint ExtensionsCount;
ushort* Extensions;
}
struct SECPKG_APP_MODE_INFO
{
uint UserFunction;
uint Argument1;
uint Argument2;
SecBuffer UserData;
ubyte ReturnToLsa;
}
alias SEC_GET_KEY_FN = extern(Windows) void function(void* Arg, void* Principal, uint KeyVer, void** Key, int* Status);
alias ACQUIRE_CREDENTIALS_HANDLE_FN_W = extern(Windows) int function(ushort* param0, ushort* param1, uint param2, void* param3, void* param4, SEC_GET_KEY_FN param5, void* param6, SecHandle* param7, LARGE_INTEGER* param8);
alias ACQUIRE_CREDENTIALS_HANDLE_FN_A = extern(Windows) int function(byte* param0, byte* param1, uint param2, void* param3, void* param4, SEC_GET_KEY_FN param5, void* param6, SecHandle* param7, LARGE_INTEGER* param8);
alias FREE_CREDENTIALS_HANDLE_FN = extern(Windows) int function(SecHandle* param0);
alias ADD_CREDENTIALS_FN_W = extern(Windows) int function(SecHandle* param0, ushort* param1, ushort* param2, uint param3, void* param4, SEC_GET_KEY_FN param5, void* param6, LARGE_INTEGER* param7);
alias ADD_CREDENTIALS_FN_A = extern(Windows) int function(SecHandle* param0, byte* param1, byte* param2, uint param3, void* param4, SEC_GET_KEY_FN param5, void* param6, LARGE_INTEGER* param7);
alias CHANGE_PASSWORD_FN_W = extern(Windows) int function(ushort* param0, ushort* param1, ushort* param2, ushort* param3, ushort* param4, ubyte param5, uint param6, SecBufferDesc* param7);
alias CHANGE_PASSWORD_FN_A = extern(Windows) int function(byte* param0, byte* param1, byte* param2, byte* param3, byte* param4, ubyte param5, uint param6, SecBufferDesc* param7);
alias INITIALIZE_SECURITY_CONTEXT_FN_W = extern(Windows) int function(SecHandle* param0, SecHandle* param1, ushort* param2, uint param3, uint param4, uint param5, SecBufferDesc* param6, uint param7, SecHandle* param8, SecBufferDesc* param9, uint* param10, LARGE_INTEGER* param11);
alias INITIALIZE_SECURITY_CONTEXT_FN_A = extern(Windows) int function(SecHandle* param0, SecHandle* param1, byte* param2, uint param3, uint param4, uint param5, SecBufferDesc* param6, uint param7, SecHandle* param8, SecBufferDesc* param9, uint* param10, LARGE_INTEGER* param11);
alias ACCEPT_SECURITY_CONTEXT_FN = extern(Windows) int function(SecHandle* param0, SecHandle* param1, SecBufferDesc* param2, uint param3, uint param4, SecHandle* param5, SecBufferDesc* param6, uint* param7, LARGE_INTEGER* param8);
alias COMPLETE_AUTH_TOKEN_FN = extern(Windows) int function(SecHandle* param0, SecBufferDesc* param1);
alias IMPERSONATE_SECURITY_CONTEXT_FN = extern(Windows) int function(SecHandle* param0);
alias REVERT_SECURITY_CONTEXT_FN = extern(Windows) int function(SecHandle* param0);
alias QUERY_SECURITY_CONTEXT_TOKEN_FN = extern(Windows) int function(SecHandle* param0, void** param1);
alias DELETE_SECURITY_CONTEXT_FN = extern(Windows) int function(SecHandle* param0);
alias APPLY_CONTROL_TOKEN_FN = extern(Windows) int function(SecHandle* param0, SecBufferDesc* param1);
alias QUERY_CONTEXT_ATTRIBUTES_FN_W = extern(Windows) int function(SecHandle* param0, uint param1, void* param2);
alias QUERY_CONTEXT_ATTRIBUTES_EX_FN_W = extern(Windows) int function(SecHandle* param0, uint param1, void* param2, uint param3);
alias QUERY_CONTEXT_ATTRIBUTES_FN_A = extern(Windows) int function(SecHandle* param0, uint param1, void* param2);
alias QUERY_CONTEXT_ATTRIBUTES_EX_FN_A = extern(Windows) int function(SecHandle* param0, uint param1, void* param2, uint param3);
alias SET_CONTEXT_ATTRIBUTES_FN_W = extern(Windows) int function(SecHandle* param0, uint param1, void* param2, uint param3);
alias SET_CONTEXT_ATTRIBUTES_FN_A = extern(Windows) int function(SecHandle* param0, uint param1, void* param2, uint param3);
alias QUERY_CREDENTIALS_ATTRIBUTES_FN_W = extern(Windows) int function(SecHandle* param0, uint param1, void* param2);
alias QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_W = extern(Windows) int function(SecHandle* param0, uint param1, void* param2, uint param3);
alias QUERY_CREDENTIALS_ATTRIBUTES_FN_A = extern(Windows) int function(SecHandle* param0, uint param1, void* param2);
alias QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_A = extern(Windows) int function(SecHandle* param0, uint param1, void* param2, uint param3);
alias SET_CREDENTIALS_ATTRIBUTES_FN_W = extern(Windows) int function(SecHandle* param0, uint param1, void* param2, uint param3);
alias SET_CREDENTIALS_ATTRIBUTES_FN_A = extern(Windows) int function(SecHandle* param0, uint param1, void* param2, uint param3);
alias FREE_CONTEXT_BUFFER_FN = extern(Windows) int function(void* param0);
alias MAKE_SIGNATURE_FN = extern(Windows) int function(SecHandle* param0, uint param1, SecBufferDesc* param2, uint param3);
alias VERIFY_SIGNATURE_FN = extern(Windows) int function(SecHandle* param0, SecBufferDesc* param1, uint param2, uint* param3);
alias ENCRYPT_MESSAGE_FN = extern(Windows) int function(SecHandle* param0, uint param1, SecBufferDesc* param2, uint param3);
alias DECRYPT_MESSAGE_FN = extern(Windows) int function(SecHandle* param0, SecBufferDesc* param1, uint param2, uint* param3);
alias ENUMERATE_SECURITY_PACKAGES_FN_W = extern(Windows) int function(uint* param0, SecPkgInfoW** param1);
alias ENUMERATE_SECURITY_PACKAGES_FN_A = extern(Windows) int function(uint* param0, SecPkgInfoA** param1);
alias QUERY_SECURITY_PACKAGE_INFO_FN_W = extern(Windows) int function(ushort* param0, SecPkgInfoW** param1);
alias QUERY_SECURITY_PACKAGE_INFO_FN_A = extern(Windows) int function(byte* param0, SecPkgInfoA** param1);
enum SecDelegationType
{
SecFull = 0,
SecService = 1,
SecTree = 2,
SecDirectory = 3,
SecObject = 4,
}
alias EXPORT_SECURITY_CONTEXT_FN = extern(Windows) int function(SecHandle* param0, uint param1, SecBuffer* param2, void** param3);
alias IMPORT_SECURITY_CONTEXT_FN_W = extern(Windows) int function(ushort* param0, SecBuffer* param1, void* param2, SecHandle* param3);
alias IMPORT_SECURITY_CONTEXT_FN_A = extern(Windows) int function(byte* param0, SecBuffer* param1, void* param2, SecHandle* param3);
struct SecurityFunctionTableW
{
uint dwVersion;
ENUMERATE_SECURITY_PACKAGES_FN_W EnumerateSecurityPackagesW;
QUERY_CREDENTIALS_ATTRIBUTES_FN_W QueryCredentialsAttributesW;
ACQUIRE_CREDENTIALS_HANDLE_FN_W AcquireCredentialsHandleW;
FREE_CREDENTIALS_HANDLE_FN FreeCredentialsHandle;
void* Reserved2;
INITIALIZE_SECURITY_CONTEXT_FN_W InitializeSecurityContextW;
ACCEPT_SECURITY_CONTEXT_FN AcceptSecurityContext;
COMPLETE_AUTH_TOKEN_FN CompleteAuthToken;
DELETE_SECURITY_CONTEXT_FN DeleteSecurityContext;
APPLY_CONTROL_TOKEN_FN ApplyControlToken;
QUERY_CONTEXT_ATTRIBUTES_FN_W QueryContextAttributesW;
IMPERSONATE_SECURITY_CONTEXT_FN ImpersonateSecurityContext;
REVERT_SECURITY_CONTEXT_FN RevertSecurityContext;
MAKE_SIGNATURE_FN MakeSignature;
VERIFY_SIGNATURE_FN VerifySignature;
FREE_CONTEXT_BUFFER_FN FreeContextBuffer;
QUERY_SECURITY_PACKAGE_INFO_FN_W QuerySecurityPackageInfoW;
void* Reserved3;
void* Reserved4;
EXPORT_SECURITY_CONTEXT_FN ExportSecurityContext;
IMPORT_SECURITY_CONTEXT_FN_W ImportSecurityContextW;
ADD_CREDENTIALS_FN_W AddCredentialsW;
void* Reserved8;
QUERY_SECURITY_CONTEXT_TOKEN_FN QuerySecurityContextToken;
ENCRYPT_MESSAGE_FN EncryptMessage;
DECRYPT_MESSAGE_FN DecryptMessage;
SET_CONTEXT_ATTRIBUTES_FN_W SetContextAttributesW;
SET_CREDENTIALS_ATTRIBUTES_FN_W SetCredentialsAttributesW;
CHANGE_PASSWORD_FN_W ChangeAccountPasswordW;
QUERY_CONTEXT_ATTRIBUTES_EX_FN_W QueryContextAttributesExW;
QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_W QueryCredentialsAttributesExW;
}
struct SecurityFunctionTableA
{
uint dwVersion;
ENUMERATE_SECURITY_PACKAGES_FN_A EnumerateSecurityPackagesA;
QUERY_CREDENTIALS_ATTRIBUTES_FN_A QueryCredentialsAttributesA;
ACQUIRE_CREDENTIALS_HANDLE_FN_A AcquireCredentialsHandleA;
FREE_CREDENTIALS_HANDLE_FN FreeCredentialsHandle;
void* Reserved2;
INITIALIZE_SECURITY_CONTEXT_FN_A InitializeSecurityContextA;
ACCEPT_SECURITY_CONTEXT_FN AcceptSecurityContext;
COMPLETE_AUTH_TOKEN_FN CompleteAuthToken;
DELETE_SECURITY_CONTEXT_FN DeleteSecurityContext;
APPLY_CONTROL_TOKEN_FN ApplyControlToken;
QUERY_CONTEXT_ATTRIBUTES_FN_A QueryContextAttributesA;
IMPERSONATE_SECURITY_CONTEXT_FN ImpersonateSecurityContext;
REVERT_SECURITY_CONTEXT_FN RevertSecurityContext;
MAKE_SIGNATURE_FN MakeSignature;
VERIFY_SIGNATURE_FN VerifySignature;
FREE_CONTEXT_BUFFER_FN FreeContextBuffer;
QUERY_SECURITY_PACKAGE_INFO_FN_A QuerySecurityPackageInfoA;
void* Reserved3;
void* Reserved4;
EXPORT_SECURITY_CONTEXT_FN ExportSecurityContext;
IMPORT_SECURITY_CONTEXT_FN_A ImportSecurityContextA;
ADD_CREDENTIALS_FN_A AddCredentialsA;
void* Reserved8;
QUERY_SECURITY_CONTEXT_TOKEN_FN QuerySecurityContextToken;
ENCRYPT_MESSAGE_FN EncryptMessage;
DECRYPT_MESSAGE_FN DecryptMessage;
SET_CONTEXT_ATTRIBUTES_FN_A SetContextAttributesA;
SET_CREDENTIALS_ATTRIBUTES_FN_A SetCredentialsAttributesA;
CHANGE_PASSWORD_FN_A ChangeAccountPasswordA;
QUERY_CONTEXT_ATTRIBUTES_EX_FN_A QueryContextAttributesExA;
QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_A QueryCredentialsAttributesExA;
}
alias INIT_SECURITY_INTERFACE_A = extern(Windows) SecurityFunctionTableA* function();
alias INIT_SECURITY_INTERFACE_W = extern(Windows) SecurityFunctionTableW* function();
enum SASL_AUTHZID_STATE
{
Sasl_AuthZIDForbidden = 0,
Sasl_AuthZIDProcessed = 1,
}
struct SEC_WINNT_AUTH_IDENTITY_EX2
{
uint Version;
ushort cbHeaderLength;
uint cbStructureLength;
uint UserOffset;
ushort UserLength;
uint DomainOffset;
ushort DomainLength;
uint PackedCredentialsOffset;
ushort PackedCredentialsLength;
uint Flags;
uint PackageListOffset;
ushort PackageListLength;
}
struct SEC_WINNT_AUTH_IDENTITY_EXW
{
uint Version;
uint Length;
ushort* User;
uint UserLength;
ushort* Domain;
uint DomainLength;
ushort* Password;
uint PasswordLength;
uint Flags;
ushort* PackageList;
uint PackageListLength;
}
struct SEC_WINNT_AUTH_IDENTITY_EXA
{
uint Version;
uint Length;
ubyte* User;
uint UserLength;
ubyte* Domain;
uint DomainLength;
ubyte* Password;
uint PasswordLength;
uint Flags;
ubyte* PackageList;
uint PackageListLength;
}
struct SEC_WINNT_AUTH_IDENTITY_INFO
{
SEC_WINNT_AUTH_IDENTITY_EXW AuthIdExw;
SEC_WINNT_AUTH_IDENTITY_EXA AuthIdExa;
SEC_WINNT_AUTH_IDENTITY_A AuthId_a;
SEC_WINNT_AUTH_IDENTITY_W AuthId_w;
SEC_WINNT_AUTH_IDENTITY_EX2 AuthIdEx2;
}
struct SECURITY_PACKAGE_OPTIONS
{
uint Size;
uint Type;
uint Flags;
uint SignatureSize;
void* Signature;
}
struct CREDENTIAL_ATTRIBUTEA
{
const(char)* Keyword;
uint Flags;
uint ValueSize;
ubyte* Value;
}
struct CREDENTIAL_ATTRIBUTEW
{
const(wchar)* Keyword;
uint Flags;
uint ValueSize;
ubyte* Value;
}
struct CREDENTIALA
{
uint Flags;
uint Type;
const(char)* TargetName;
const(char)* Comment;
FILETIME LastWritten;
uint CredentialBlobSize;
ubyte* CredentialBlob;
uint Persist;
uint AttributeCount;
CREDENTIAL_ATTRIBUTEA* Attributes;
const(char)* TargetAlias;
const(char)* UserName;
}
struct CREDENTIALW
{
uint Flags;
uint Type;
const(wchar)* TargetName;
const(wchar)* Comment;
FILETIME LastWritten;
uint CredentialBlobSize;
ubyte* CredentialBlob;
uint Persist;
uint AttributeCount;
CREDENTIAL_ATTRIBUTEW* Attributes;
const(wchar)* TargetAlias;
const(wchar)* UserName;
}
struct CREDENTIAL_TARGET_INFORMATIONA
{
const(char)* TargetName;
const(char)* NetbiosServerName;
const(char)* DnsServerName;
const(char)* NetbiosDomainName;
const(char)* DnsDomainName;
const(char)* DnsTreeName;
const(char)* PackageName;
uint Flags;
uint CredTypeCount;
uint* CredTypes;
}
struct CREDENTIAL_TARGET_INFORMATIONW
{
const(wchar)* TargetName;
const(wchar)* NetbiosServerName;
const(wchar)* DnsServerName;
const(wchar)* NetbiosDomainName;
const(wchar)* DnsDomainName;
const(wchar)* DnsTreeName;
const(wchar)* PackageName;
uint Flags;
uint CredTypeCount;
uint* CredTypes;
}
struct CERT_CREDENTIAL_INFO
{
uint cbSize;
ubyte rgbHashOfCert;
}
struct USERNAME_TARGET_CREDENTIAL_INFO
{
const(wchar)* UserName;
}
struct BINARY_BLOB_CREDENTIAL_INFO
{
uint cbBlob;
ubyte* pbBlob;
}
enum CRED_MARSHAL_TYPE
{
CertCredential = 1,
UsernameTargetCredential = 2,
BinaryBlobCredential = 3,
UsernameForPackedCredentials = 4,
BinaryBlobForSystem = 5,
}
enum CRED_PROTECTION_TYPE
{
CredUnprotected = 0,
CredUserProtection = 1,
CredTrustedProtection = 2,
CredForSystemProtection = 3,
}
struct CREDUI_INFOA
{
uint cbSize;
HWND hwndParent;
const(char)* pszMessageText;
const(char)* pszCaptionText;
HBITMAP hbmBanner;
}
struct CREDUI_INFOW
{
uint cbSize;
HWND hwndParent;
const(wchar)* pszMessageText;
const(wchar)* pszCaptionText;
HBITMAP hbmBanner;
}
enum LSA_TOKEN_INFORMATION_TYPE
{
LsaTokenInformationNull = 0,
LsaTokenInformationV1 = 1,
LsaTokenInformationV2 = 2,
LsaTokenInformationV3 = 3,
}
struct LSA_TOKEN_INFORMATION_NULL
{
LARGE_INTEGER ExpirationTime;
TOKEN_GROUPS* Groups;
}
struct LSA_TOKEN_INFORMATION_V1
{
LARGE_INTEGER ExpirationTime;
TOKEN_USER User;
TOKEN_GROUPS* Groups;
TOKEN_PRIMARY_GROUP PrimaryGroup;
TOKEN_PRIVILEGES* Privileges;
TOKEN_OWNER Owner;
TOKEN_DEFAULT_DACL DefaultDacl;
}
struct LSA_TOKEN_INFORMATION_V3
{
LARGE_INTEGER ExpirationTime;
TOKEN_USER User;
TOKEN_GROUPS* Groups;
TOKEN_PRIMARY_GROUP PrimaryGroup;
TOKEN_PRIVILEGES* Privileges;
TOKEN_OWNER Owner;
TOKEN_DEFAULT_DACL DefaultDacl;
TOKEN_USER_CLAIMS UserClaims;
TOKEN_DEVICE_CLAIMS DeviceClaims;
TOKEN_GROUPS* DeviceGroups;
}
alias LSA_CREATE_LOGON_SESSION = extern(Windows) NTSTATUS function(LUID* LogonId);
alias LSA_DELETE_LOGON_SESSION = extern(Windows) NTSTATUS function(LUID* LogonId);
alias LSA_ADD_CREDENTIAL = extern(Windows) NTSTATUS function(LUID* LogonId, uint AuthenticationPackage, STRING* PrimaryKeyValue, STRING* Credentials);
alias LSA_GET_CREDENTIALS = extern(Windows) NTSTATUS function(LUID* LogonId, uint AuthenticationPackage, uint* QueryContext, ubyte RetrieveAllCredentials, STRING* PrimaryKeyValue, uint* PrimaryKeyLength, STRING* Credentials);
alias LSA_DELETE_CREDENTIAL = extern(Windows) NTSTATUS function(LUID* LogonId, uint AuthenticationPackage, STRING* PrimaryKeyValue);
alias LSA_ALLOCATE_LSA_HEAP = extern(Windows) void* function(uint Length);
alias LSA_FREE_LSA_HEAP = extern(Windows) void function(void* Base);
alias LSA_ALLOCATE_PRIVATE_HEAP = extern(Windows) void* function(uint Length);
alias LSA_FREE_PRIVATE_HEAP = extern(Windows) void function(void* Base);
alias LSA_ALLOCATE_CLIENT_BUFFER = extern(Windows) NTSTATUS function(void** ClientRequest, uint LengthRequired, void** ClientBaseAddress);
alias LSA_FREE_CLIENT_BUFFER = extern(Windows) NTSTATUS function(void** ClientRequest, void* ClientBaseAddress);
alias LSA_COPY_TO_CLIENT_BUFFER = extern(Windows) NTSTATUS function(void** ClientRequest, uint Length, char* ClientBaseAddress, char* BufferToCopy);
alias LSA_COPY_FROM_CLIENT_BUFFER = extern(Windows) NTSTATUS function(void** ClientRequest, uint Length, char* BufferToCopy, char* ClientBaseAddress);
alias PLSA_CREATE_LOGON_SESSION = extern(Windows) NTSTATUS function();
alias PLSA_DELETE_LOGON_SESSION = extern(Windows) NTSTATUS function();
alias PLSA_ADD_CREDENTIAL = extern(Windows) NTSTATUS function();
alias PLSA_GET_CREDENTIALS = extern(Windows) NTSTATUS function();
alias PLSA_DELETE_CREDENTIAL = extern(Windows) NTSTATUS function();
alias PLSA_ALLOCATE_LSA_HEAP = extern(Windows) void* function();
alias PLSA_FREE_LSA_HEAP = extern(Windows) void function();
alias PLSA_ALLOCATE_PRIVATE_HEAP = extern(Windows) void* function();
alias PLSA_FREE_PRIVATE_HEAP = extern(Windows) void function();
alias PLSA_ALLOCATE_CLIENT_BUFFER = extern(Windows) NTSTATUS function();
alias PLSA_FREE_CLIENT_BUFFER = extern(Windows) NTSTATUS function();
alias PLSA_COPY_TO_CLIENT_BUFFER = extern(Windows) NTSTATUS function();
alias PLSA_COPY_FROM_CLIENT_BUFFER = extern(Windows) NTSTATUS function();
struct LSA_DISPATCH_TABLE
{
PLSA_CREATE_LOGON_SESSION CreateLogonSession;
PLSA_DELETE_LOGON_SESSION DeleteLogonSession;
PLSA_ADD_CREDENTIAL AddCredential;
PLSA_GET_CREDENTIALS GetCredentials;
PLSA_DELETE_CREDENTIAL DeleteCredential;
PLSA_ALLOCATE_LSA_HEAP AllocateLsaHeap;
PLSA_FREE_LSA_HEAP FreeLsaHeap;
PLSA_ALLOCATE_CLIENT_BUFFER AllocateClientBuffer;
PLSA_FREE_CLIENT_BUFFER FreeClientBuffer;
PLSA_COPY_TO_CLIENT_BUFFER CopyToClientBuffer;
PLSA_COPY_FROM_CLIENT_BUFFER CopyFromClientBuffer;
}
alias LSA_AP_INITIALIZE_PACKAGE = extern(Windows) NTSTATUS function(uint AuthenticationPackageId, LSA_DISPATCH_TABLE* LsaDispatchTable, STRING* Database, STRING* Confidentiality, STRING** AuthenticationPackageName);
alias LSA_AP_LOGON_USER = extern(Windows) NTSTATUS function(void** ClientRequest, SECURITY_LOGON_TYPE LogonType, char* AuthenticationInformation, void* ClientAuthenticationBase, uint AuthenticationInformationLength, void** ProfileBuffer, uint* ProfileBufferLength, LUID* LogonId, int* SubStatus, LSA_TOKEN_INFORMATION_TYPE* TokenInformationType, void** TokenInformation, UNICODE_STRING** AccountName, UNICODE_STRING** AuthenticatingAuthority);
alias LSA_AP_LOGON_USER_EX = extern(Windows) NTSTATUS function(void** ClientRequest, SECURITY_LOGON_TYPE LogonType, char* AuthenticationInformation, void* ClientAuthenticationBase, uint AuthenticationInformationLength, void** ProfileBuffer, uint* ProfileBufferLength, LUID* LogonId, int* SubStatus, LSA_TOKEN_INFORMATION_TYPE* TokenInformationType, void** TokenInformation, UNICODE_STRING** AccountName, UNICODE_STRING** AuthenticatingAuthority, UNICODE_STRING** MachineName);
alias LSA_AP_CALL_PACKAGE = extern(Windows) NTSTATUS function(void** ClientRequest, char* ProtocolSubmitBuffer, void* ClientBufferBase, uint SubmitBufferLength, void** ProtocolReturnBuffer, uint* ReturnBufferLength, int* ProtocolStatus);
alias LSA_AP_CALL_PACKAGE_PASSTHROUGH = extern(Windows) NTSTATUS function(void** ClientRequest, char* ProtocolSubmitBuffer, void* ClientBufferBase, uint SubmitBufferLength, void** ProtocolReturnBuffer, uint* ReturnBufferLength, int* ProtocolStatus);
alias LSA_AP_LOGON_TERMINATED = extern(Windows) void function(LUID* LogonId);
alias LSA_AP_CALL_PACKAGE_UNTRUSTED = extern(Windows) NTSTATUS function();
alias PLSA_AP_INITIALIZE_PACKAGE = extern(Windows) NTSTATUS function();
alias PLSA_AP_LOGON_USER = extern(Windows) NTSTATUS function();
alias PLSA_AP_LOGON_USER_EX = extern(Windows) NTSTATUS function();
alias PLSA_AP_CALL_PACKAGE = extern(Windows) NTSTATUS function();
alias PLSA_AP_CALL_PACKAGE_PASSTHROUGH = extern(Windows) NTSTATUS function();
alias PLSA_AP_LOGON_TERMINATED = extern(Windows) void function();
alias PLSA_AP_CALL_PACKAGE_UNTRUSTED = extern(Windows) NTSTATUS function();
alias PSAM_CREDENTIAL_UPDATE_NOTIFY_ROUTINE = extern(Windows) NTSTATUS function(UNICODE_STRING* ClearPassword, char* OldCredentials, uint OldCredentialSize, uint UserAccountControl, UNICODE_STRING* UPN, UNICODE_STRING* UserName, UNICODE_STRING* NetbiosDomainName, UNICODE_STRING* DnsDomainName, void** NewCredentials, uint* NewCredentialSize);
alias PSAM_CREDENTIAL_UPDATE_REGISTER_ROUTINE = extern(Windows) ubyte function(UNICODE_STRING* CredentialName);
alias PSAM_CREDENTIAL_UPDATE_FREE_ROUTINE = extern(Windows) void function(void* p);
struct SAM_REGISTER_MAPPING_ELEMENT
{
const(char)* Original;
const(char)* Mapped;
ubyte Continuable;
}
struct SAM_REGISTER_MAPPING_LIST
{
uint Count;
SAM_REGISTER_MAPPING_ELEMENT* Elements;
}
struct SAM_REGISTER_MAPPING_TABLE
{
uint Count;
SAM_REGISTER_MAPPING_LIST* Lists;
}
alias PSAM_CREDENTIAL_UPDATE_REGISTER_MAPPED_ENTRYPOINTS_ROUTINE = extern(Windows) NTSTATUS function(SAM_REGISTER_MAPPING_TABLE* Table);
alias SEC_THREAD_START = extern(Windows) uint function();
struct SECPKG_CLIENT_INFO
{
LUID LogonId;
uint ProcessID;
uint ThreadID;
ubyte HasTcbPrivilege;
ubyte Impersonating;
ubyte Restricted;
ubyte ClientFlags;
SECURITY_IMPERSONATION_LEVEL ImpersonationLevel;
HANDLE ClientToken;
}
struct SECPKG_CALL_INFO
{
uint ProcessId;
uint ThreadId;
uint Attributes;
uint CallCount;
void* MechOid;
}
struct SECPKG_SUPPLEMENTAL_CRED
{
UNICODE_STRING PackageName;
uint CredentialSize;
ubyte* Credentials;
}
struct SECPKG_BYTE_VECTOR
{
uint ByteArrayOffset;
ushort ByteArrayLength;
}
struct SECPKG_SHORT_VECTOR
{
uint ShortArrayOffset;
ushort ShortArrayCount;
}
struct SECPKG_SUPPLIED_CREDENTIAL
{
ushort cbHeaderLength;
ushort cbStructureLength;
SECPKG_SHORT_VECTOR UserName;
SECPKG_SHORT_VECTOR DomainName;
SECPKG_BYTE_VECTOR PackedCredentials;
uint CredFlags;
}
struct SECPKG_CREDENTIAL
{
ulong Version;
ushort cbHeaderLength;
uint cbStructureLength;
uint ClientProcess;
uint ClientThread;
LUID LogonId;
HANDLE ClientToken;
uint SessionId;
LUID ModifiedId;
uint fCredentials;
uint Flags;
SECPKG_BYTE_VECTOR PrincipalName;
SECPKG_BYTE_VECTOR PackageList;
SECPKG_BYTE_VECTOR MarshaledSuppliedCreds;
}
struct SECPKG_SUPPLEMENTAL_CRED_ARRAY
{
uint CredentialCount;
SECPKG_SUPPLEMENTAL_CRED Credentials;
}
struct SECPKG_SURROGATE_LOGON_ENTRY
{
Guid Type;
void* Data;
}
struct SECPKG_SURROGATE_LOGON
{
uint Version;
LUID SurrogateLogonID;
uint EntryCount;
SECPKG_SURROGATE_LOGON_ENTRY* Entries;
}
alias LSA_CALLBACK_FUNCTION = extern(Windows) NTSTATUS function(uint Argument1, uint Argument2, SecBuffer* InputBuffer, SecBuffer* OutputBuffer);
alias PLSA_CALLBACK_FUNCTION = extern(Windows) NTSTATUS function();
struct SECPKG_PRIMARY_CRED
{
LUID LogonId;
UNICODE_STRING DownlevelName;
UNICODE_STRING DomainName;
UNICODE_STRING Password;
UNICODE_STRING OldPassword;
void* UserSid;
uint Flags;
UNICODE_STRING DnsDomainName;
UNICODE_STRING Upn;
UNICODE_STRING LogonServer;
UNICODE_STRING Spare1;
UNICODE_STRING Spare2;
UNICODE_STRING Spare3;
UNICODE_STRING Spare4;
}
struct SECPKG_PRIMARY_CRED_EX
{
LUID LogonId;
UNICODE_STRING DownlevelName;
UNICODE_STRING DomainName;
UNICODE_STRING Password;
UNICODE_STRING OldPassword;
void* UserSid;
uint Flags;
UNICODE_STRING DnsDomainName;
UNICODE_STRING Upn;
UNICODE_STRING LogonServer;
UNICODE_STRING Spare1;
UNICODE_STRING Spare2;
UNICODE_STRING Spare3;
UNICODE_STRING Spare4;
uint PackageId;
LUID PrevLogonId;
}
struct SECPKG_PARAMETERS
{
uint Version;
uint MachineState;
uint SetupMode;
void* DomainSid;
UNICODE_STRING DomainName;
UNICODE_STRING DnsDomainName;
Guid DomainGuid;
}
enum SECPKG_EXTENDED_INFORMATION_CLASS
{
SecpkgGssInfo = 1,
SecpkgContextThunks = 2,
SecpkgMutualAuthLevel = 3,
SecpkgWowClientDll = 4,
SecpkgExtraOids = 5,
SecpkgMaxInfo = 6,
SecpkgNego2Info = 7,
}
struct SECPKG_GSS_INFO
{
uint EncodedIdLength;
ubyte EncodedId;
}
struct SECPKG_CONTEXT_THUNKS
{
uint InfoLevelCount;
uint Levels;
}
struct SECPKG_MUTUAL_AUTH_LEVEL
{
uint MutualAuthLevel;
}
struct SECPKG_WOW_CLIENT_DLL
{
UNICODE_STRING WowClientDllPath;
}
struct SECPKG_SERIALIZED_OID
{
uint OidLength;
uint OidAttributes;
ubyte OidValue;
}
struct SECPKG_EXTRA_OIDS
{
uint OidCount;
SECPKG_SERIALIZED_OID Oids;
}
struct SECPKG_NEGO2_INFO
{
ubyte AuthScheme;
uint PackageFlags;
}
struct SECPKG_EXTENDED_INFORMATION
{
SECPKG_EXTENDED_INFORMATION_CLASS Class;
_Info_e__Union Info;
}
struct SECPKG_TARGETINFO
{
void* DomainSid;
const(wchar)* ComputerName;
}
struct SecPkgContext_SaslContext
{
void* SaslContext;
}
struct SECURITY_USER_DATA
{
UNICODE_STRING UserName;
UNICODE_STRING LogonDomainName;
UNICODE_STRING LogonServer;
void* pSid;
}
enum SECPKG_CALL_PACKAGE_MESSAGE_TYPE
{
SecPkgCallPackageMinMessage = 1024,
SecPkgCallPackagePinDcMessage = 1024,
SecPkgCallPackageUnpinAllDcsMessage = 1025,
SecPkgCallPackageTransferCredMessage = 1026,
SecPkgCallPackageMaxMessage = 1026,
}
struct SECPKG_CALL_PACKAGE_PIN_DC_REQUEST
{
uint MessageType;
uint Flags;
UNICODE_STRING DomainName;
UNICODE_STRING DcName;
uint DcFlags;
}
struct SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST
{
uint MessageType;
uint Flags;
}
struct SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST
{
uint MessageType;
LUID OriginLogonId;
LUID DestinationLogonId;
uint Flags;
}
alias LSA_REDIRECTED_LOGON_INIT = extern(Windows) NTSTATUS function(HANDLE RedirectedLogonHandle, const(UNICODE_STRING)* PackageName, uint SessionId, const(LUID)* LogonId);
alias LSA_REDIRECTED_LOGON_CALLBACK = extern(Windows) NTSTATUS function(HANDLE RedirectedLogonHandle, void* Buffer, uint BufferLength, void** ReturnBuffer, uint* ReturnBufferLength);
alias LSA_REDIRECTED_LOGON_CLEANUP_CALLBACK = extern(Windows) void function(HANDLE RedirectedLogonHandle);
alias LSA_REDIRECTED_LOGON_GET_LOGON_CREDS = extern(Windows) NTSTATUS function(HANDLE RedirectedLogonHandle, ubyte** LogonBuffer, uint* LogonBufferLength);
alias LSA_REDIRECTED_LOGON_GET_SUPP_CREDS = extern(Windows) NTSTATUS function(HANDLE RedirectedLogonHandle, SECPKG_SUPPLEMENTAL_CRED_ARRAY** SupplementalCredentials);
alias PLSA_REDIRECTED_LOGON_INIT = extern(Windows) NTSTATUS function();
alias PLSA_REDIRECTED_LOGON_CALLBACK = extern(Windows) NTSTATUS function();
alias PLSA_REDIRECTED_LOGON_GET_LOGON_CREDS = extern(Windows) NTSTATUS function();
alias PLSA_REDIRECTED_LOGON_GET_SUPP_CREDS = extern(Windows) NTSTATUS function();
alias PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK = extern(Windows) void function();
struct SECPKG_REDIRECTED_LOGON_BUFFER
{
Guid RedirectedLogonGuid;
HANDLE RedirectedLogonHandle;
PLSA_REDIRECTED_LOGON_INIT Init;
PLSA_REDIRECTED_LOGON_CALLBACK Callback;
PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK CleanupCallback;
PLSA_REDIRECTED_LOGON_GET_LOGON_CREDS GetLogonCreds;
PLSA_REDIRECTED_LOGON_GET_SUPP_CREDS GetSupplementalCreds;
}
struct SECPKG_POST_LOGON_USER_INFO
{
uint Flags;
LUID LogonId;
LUID LinkedLogonId;
}
alias LSA_IMPERSONATE_CLIENT = extern(Windows) NTSTATUS function();
alias LSA_UNLOAD_PACKAGE = extern(Windows) NTSTATUS function();
alias LSA_DUPLICATE_HANDLE = extern(Windows) NTSTATUS function(HANDLE SourceHandle, int* DestionationHandle);
alias LSA_SAVE_SUPPLEMENTAL_CREDENTIALS = extern(Windows) NTSTATUS function(LUID* LogonId, uint SupplementalCredSize, char* SupplementalCreds, ubyte Synchronous);
alias LSA_CREATE_THREAD = extern(Windows) HANDLE function(SECURITY_ATTRIBUTES* SecurityAttributes, uint StackSize, SEC_THREAD_START StartFunction, void* ThreadParameter, uint CreationFlags, uint* ThreadId);
alias LSA_GET_CLIENT_INFO = extern(Windows) NTSTATUS function(SECPKG_CLIENT_INFO* ClientInfo);
alias LSA_REGISTER_NOTIFICATION = extern(Windows) HANDLE function(SEC_THREAD_START StartFunction, void* Parameter, uint NotificationType, uint NotificationClass, uint NotificationFlags, uint IntervalMinutes, HANDLE WaitEvent);
alias LSA_CANCEL_NOTIFICATION = extern(Windows) NTSTATUS function(HANDLE NotifyHandle);
alias LSA_MAP_BUFFER = extern(Windows) NTSTATUS function(SecBuffer* InputBuffer, SecBuffer* OutputBuffer);
alias LSA_CREATE_TOKEN = extern(Windows) NTSTATUS function(LUID* LogonId, TOKEN_SOURCE* TokenSource, SECURITY_LOGON_TYPE LogonType, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, LSA_TOKEN_INFORMATION_TYPE TokenInformationType, void* TokenInformation, TOKEN_GROUPS* TokenGroups, UNICODE_STRING* AccountName, UNICODE_STRING* AuthorityName, UNICODE_STRING* Workstation, UNICODE_STRING* ProfilePath, int* Token, int* SubStatus);
enum SECPKG_SESSIONINFO_TYPE
{
SecSessionPrimaryCred = 0,
}
alias LSA_CREATE_TOKEN_EX = extern(Windows) NTSTATUS function(LUID* LogonId, TOKEN_SOURCE* TokenSource, SECURITY_LOGON_TYPE LogonType, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, LSA_TOKEN_INFORMATION_TYPE TokenInformationType, void* TokenInformation, TOKEN_GROUPS* TokenGroups, UNICODE_STRING* Workstation, UNICODE_STRING* ProfilePath, void* SessionInformation, SECPKG_SESSIONINFO_TYPE SessionInformationType, int* Token, int* SubStatus);
alias LSA_AUDIT_LOGON = extern(Windows) void function(NTSTATUS Status, NTSTATUS SubStatus, UNICODE_STRING* AccountName, UNICODE_STRING* AuthenticatingAuthority, UNICODE_STRING* WorkstationName, void* UserSid, SECURITY_LOGON_TYPE LogonType, TOKEN_SOURCE* TokenSource, LUID* LogonId);
alias LSA_CALL_PACKAGE = extern(Windows) NTSTATUS function(UNICODE_STRING* AuthenticationPackage, char* ProtocolSubmitBuffer, uint SubmitBufferLength, void** ProtocolReturnBuffer, uint* ReturnBufferLength, int* ProtocolStatus);
alias LSA_CALL_PACKAGEEX = extern(Windows) NTSTATUS function(UNICODE_STRING* AuthenticationPackage, void* ClientBufferBase, char* ProtocolSubmitBuffer, uint SubmitBufferLength, void** ProtocolReturnBuffer, uint* ReturnBufferLength, int* ProtocolStatus);
alias LSA_CALL_PACKAGE_PASSTHROUGH = extern(Windows) NTSTATUS function(UNICODE_STRING* AuthenticationPackage, void* ClientBufferBase, char* ProtocolSubmitBuffer, uint SubmitBufferLength, void** ProtocolReturnBuffer, uint* ReturnBufferLength, int* ProtocolStatus);
alias LSA_GET_CALL_INFO = extern(Windows) ubyte function(SECPKG_CALL_INFO* Info);
alias LSA_CREATE_SHARED_MEMORY = extern(Windows) void* function(uint MaxSize, uint InitialSize);
alias LSA_ALLOCATE_SHARED_MEMORY = extern(Windows) void* function(void* SharedMem, uint Size);
alias LSA_FREE_SHARED_MEMORY = extern(Windows) void function(void* SharedMem, void* Memory);
alias LSA_DELETE_SHARED_MEMORY = extern(Windows) ubyte function(void* SharedMem);
alias LSA_GET_APP_MODE_INFO = extern(Windows) NTSTATUS function(uint* UserFunction, uint* Argument1, uint* Argument2, SecBuffer* UserData, ubyte* ReturnToLsa);
alias LSA_SET_APP_MODE_INFO = extern(Windows) NTSTATUS function(uint UserFunction, uint Argument1, uint Argument2, SecBuffer* UserData, ubyte ReturnToLsa);
enum SECPKG_NAME_TYPE
{
SecNameSamCompatible = 0,
SecNameAlternateId = 1,
SecNameFlat = 2,
SecNameDN = 3,
SecNameSPN = 4,
}
alias LSA_OPEN_SAM_USER = extern(Windows) NTSTATUS function(UNICODE_STRING* Name, SECPKG_NAME_TYPE NameType, UNICODE_STRING* Prefix, ubyte AllowGuest, uint Reserved, void** UserHandle);
alias LSA_GET_USER_CREDENTIALS = extern(Windows) NTSTATUS function(void* UserHandle, void** PrimaryCreds, uint* PrimaryCredsSize, void** SupplementalCreds, uint* SupplementalCredsSize);
alias LSA_GET_USER_AUTH_DATA = extern(Windows) NTSTATUS function(void* UserHandle, ubyte** UserAuthData, uint* UserAuthDataSize);
alias LSA_CLOSE_SAM_USER = extern(Windows) NTSTATUS function(void* UserHandle);
alias LSA_GET_AUTH_DATA_FOR_USER = extern(Windows) NTSTATUS function(UNICODE_STRING* Name, SECPKG_NAME_TYPE NameType, UNICODE_STRING* Prefix, ubyte** UserAuthData, uint* UserAuthDataSize, UNICODE_STRING* UserFlatName);
alias LSA_CONVERT_AUTH_DATA_TO_TOKEN = extern(Windows) NTSTATUS function(void* UserAuthData, uint UserAuthDataSize, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, TOKEN_SOURCE* TokenSource, SECURITY_LOGON_TYPE LogonType, UNICODE_STRING* AuthorityName, int* Token, LUID* LogonId, UNICODE_STRING* AccountName, int* SubStatus);
alias LSA_CRACK_SINGLE_NAME = extern(Windows) NTSTATUS function(uint FormatOffered, ubyte PerformAtGC, UNICODE_STRING* NameInput, UNICODE_STRING* Prefix, uint RequestedFormat, UNICODE_STRING* CrackedName, UNICODE_STRING* DnsDomainName, uint* SubStatus);
alias LSA_AUDIT_ACCOUNT_LOGON = extern(Windows) NTSTATUS function(uint AuditId, ubyte Success, UNICODE_STRING* Source, UNICODE_STRING* ClientName, UNICODE_STRING* MappedName, NTSTATUS Status);
alias LSA_CLIENT_CALLBACK = extern(Windows) NTSTATUS function(const(char)* Callback, uint Argument1, uint Argument2, SecBuffer* Input, SecBuffer* Output);
alias LSA_REGISTER_CALLBACK = extern(Windows) NTSTATUS function(uint CallbackId, PLSA_CALLBACK_FUNCTION Callback);
alias LSA_GET_EXTENDED_CALL_FLAGS = extern(Windows) NTSTATUS function(uint* Flags);
struct SECPKG_EVENT_PACKAGE_CHANGE
{
uint ChangeType;
uint PackageId;
UNICODE_STRING PackageName;
}
struct SECPKG_EVENT_ROLE_CHANGE
{
uint PreviousRole;
uint NewRole;
}
struct SECPKG_EVENT_NOTIFY
{
uint EventClass;
uint Reserved;
uint EventDataSize;
void* EventData;
void* PackageParameter;
}
alias LSA_UPDATE_PRIMARY_CREDENTIALS = extern(Windows) NTSTATUS function(SECPKG_PRIMARY_CRED* PrimaryCredentials, SECPKG_SUPPLEMENTAL_CRED_ARRAY* Credentials);
alias LSA_PROTECT_MEMORY = extern(Windows) void function(char* Buffer, uint BufferSize);
alias LSA_OPEN_TOKEN_BY_LOGON_ID = extern(Windows) NTSTATUS function(LUID* LogonId, HANDLE* RetTokenHandle);
alias LSA_EXPAND_AUTH_DATA_FOR_DOMAIN = extern(Windows) NTSTATUS function(char* UserAuthData, uint UserAuthDataSize, void* Reserved, ubyte** ExpandedAuthData, uint* ExpandedAuthDataSize);
enum CRED_FETCH
{
CredFetchDefault = 0,
CredFetchDPAPI = 1,
CredFetchForced = 2,
}
alias LSA_GET_SERVICE_ACCOUNT_PASSWORD = extern(Windows) NTSTATUS function(UNICODE_STRING* AccountName, UNICODE_STRING* DomainName, CRED_FETCH CredFetch, FILETIME* FileTimeExpiry, UNICODE_STRING* CurrentPassword, UNICODE_STRING* PreviousPassword, FILETIME* FileTimeCurrPwdValidForOutbound);
alias LSA_AUDIT_LOGON_EX = extern(Windows) void function(NTSTATUS Status, NTSTATUS SubStatus, UNICODE_STRING* AccountName, UNICODE_STRING* AuthenticatingAuthority, UNICODE_STRING* WorkstationName, void* UserSid, SECURITY_LOGON_TYPE LogonType, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, TOKEN_SOURCE* TokenSource, LUID* LogonId);
alias LSA_CHECK_PROTECTED_USER_BY_TOKEN = extern(Windows) NTSTATUS function(HANDLE UserToken, ubyte* ProtectedUser);
alias LSA_QUERY_CLIENT_REQUEST = extern(Windows) NTSTATUS function(void** ClientRequest, uint QueryType, void** ReplyBuffer);
alias PLSA_IMPERSONATE_CLIENT = extern(Windows) NTSTATUS function();
alias PLSA_UNLOAD_PACKAGE = extern(Windows) NTSTATUS function();
alias PLSA_DUPLICATE_HANDLE = extern(Windows) NTSTATUS function();
alias PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS = extern(Windows) NTSTATUS function();
alias PLSA_CREATE_THREAD = extern(Windows) HANDLE function();
alias PLSA_GET_CLIENT_INFO = extern(Windows) NTSTATUS function();
alias PLSA_REGISTER_NOTIFICATION = extern(Windows) HANDLE function();
alias PLSA_CANCEL_NOTIFICATION = extern(Windows) NTSTATUS function();
alias PLSA_MAP_BUFFER = extern(Windows) NTSTATUS function();
alias PLSA_CREATE_TOKEN = extern(Windows) NTSTATUS function();
alias PLSA_AUDIT_LOGON = extern(Windows) void function();
alias PLSA_CALL_PACKAGE = extern(Windows) NTSTATUS function();
alias PLSA_CALL_PACKAGEEX = extern(Windows) NTSTATUS function();
alias PLSA_GET_CALL_INFO = extern(Windows) ubyte function();
alias PLSA_CREATE_SHARED_MEMORY = extern(Windows) void* function();
alias PLSA_ALLOCATE_SHARED_MEMORY = extern(Windows) void* function();
alias PLSA_FREE_SHARED_MEMORY = extern(Windows) void function();
alias PLSA_DELETE_SHARED_MEMORY = extern(Windows) ubyte function();
alias PLSA_OPEN_SAM_USER = extern(Windows) NTSTATUS function();
alias PLSA_GET_USER_CREDENTIALS = extern(Windows) NTSTATUS function();
alias PLSA_GET_USER_AUTH_DATA = extern(Windows) NTSTATUS function();
alias PLSA_CLOSE_SAM_USER = extern(Windows) NTSTATUS function();
alias PLSA_CONVERT_AUTH_DATA_TO_TOKEN = extern(Windows) NTSTATUS function();
alias PLSA_CLIENT_CALLBACK = extern(Windows) NTSTATUS function();
alias PLSA_REGISTER_CALLBACK = extern(Windows) NTSTATUS function();
alias PLSA_UPDATE_PRIMARY_CREDENTIALS = extern(Windows) NTSTATUS function();
alias PLSA_GET_AUTH_DATA_FOR_USER = extern(Windows) NTSTATUS function();
alias PLSA_CRACK_SINGLE_NAME = extern(Windows) NTSTATUS function();
alias PLSA_AUDIT_ACCOUNT_LOGON = extern(Windows) NTSTATUS function();
alias PLSA_CALL_PACKAGE_PASSTHROUGH = extern(Windows) NTSTATUS function();
alias PLSA_PROTECT_MEMORY = extern(Windows) void function();
alias PLSA_OPEN_TOKEN_BY_LOGON_ID = extern(Windows) NTSTATUS function();
alias PLSA_EXPAND_AUTH_DATA_FOR_DOMAIN = extern(Windows) NTSTATUS function();
alias PLSA_CREATE_TOKEN_EX = extern(Windows) NTSTATUS function();
alias PLSA_GET_EXTENDED_CALL_FLAGS = extern(Windows) NTSTATUS function();
alias PLSA_GET_SERVICE_ACCOUNT_PASSWORD = extern(Windows) NTSTATUS function();
alias PLSA_AUDIT_LOGON_EX = extern(Windows) void function();
alias PLSA_CHECK_PROTECTED_USER_BY_TOKEN = extern(Windows) NTSTATUS function();
alias PLSA_QUERY_CLIENT_REQUEST = extern(Windows) NTSTATUS function();
alias PLSA_GET_APP_MODE_INFO = extern(Windows) NTSTATUS function();
alias PLSA_SET_APP_MODE_INFO = extern(Windows) NTSTATUS function();
struct ENCRYPTED_CREDENTIALW
{
CREDENTIALW Cred;
uint ClearCredentialBlobSize;
}
alias CredReadFn = extern(Windows) NTSTATUS function(LUID* LogonId, uint CredFlags, const(wchar)* TargetName, uint Type, uint Flags, ENCRYPTED_CREDENTIALW** Credential);
alias CredReadDomainCredentialsFn = extern(Windows) NTSTATUS function(LUID* LogonId, uint CredFlags, CREDENTIAL_TARGET_INFORMATIONW* TargetInfo, uint Flags, uint* Count, ENCRYPTED_CREDENTIALW*** Credential);
alias CredFreeCredentialsFn = extern(Windows) void function(uint Count, char* Credentials);
alias CredWriteFn = extern(Windows) NTSTATUS function(LUID* LogonId, uint CredFlags, ENCRYPTED_CREDENTIALW* Credential, uint Flags);
alias CrediUnmarshalandDecodeStringFn = extern(Windows) NTSTATUS function(const(wchar)* MarshaledString, ubyte** Blob, uint* BlobSize, ubyte* IsFailureFatal);
struct SEC_WINNT_AUTH_IDENTITY32
{
uint User;
uint UserLength;
uint Domain;
uint DomainLength;
uint Password;
uint PasswordLength;
uint Flags;
}
struct SEC_WINNT_AUTH_IDENTITY_EX32
{
uint Version;
uint Length;
uint User;
uint UserLength;
uint Domain;
uint DomainLength;
uint Password;
uint PasswordLength;
uint Flags;
uint PackageList;
uint PackageListLength;
}
struct LSA_SECPKG_FUNCTION_TABLE
{
PLSA_CREATE_LOGON_SESSION CreateLogonSession;
PLSA_DELETE_LOGON_SESSION DeleteLogonSession;
PLSA_ADD_CREDENTIAL AddCredential;
PLSA_GET_CREDENTIALS GetCredentials;
PLSA_DELETE_CREDENTIAL DeleteCredential;
PLSA_ALLOCATE_LSA_HEAP AllocateLsaHeap;
PLSA_FREE_LSA_HEAP FreeLsaHeap;
PLSA_ALLOCATE_CLIENT_BUFFER AllocateClientBuffer;
PLSA_FREE_CLIENT_BUFFER FreeClientBuffer;
PLSA_COPY_TO_CLIENT_BUFFER CopyToClientBuffer;
PLSA_COPY_FROM_CLIENT_BUFFER CopyFromClientBuffer;
PLSA_IMPERSONATE_CLIENT ImpersonateClient;
PLSA_UNLOAD_PACKAGE UnloadPackage;
PLSA_DUPLICATE_HANDLE DuplicateHandle;
PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS SaveSupplementalCredentials;
PLSA_CREATE_THREAD CreateThread;
PLSA_GET_CLIENT_INFO GetClientInfo;
PLSA_REGISTER_NOTIFICATION RegisterNotification;
PLSA_CANCEL_NOTIFICATION CancelNotification;
PLSA_MAP_BUFFER MapBuffer;
PLSA_CREATE_TOKEN CreateToken;
PLSA_AUDIT_LOGON AuditLogon;
PLSA_CALL_PACKAGE CallPackage;
PLSA_FREE_LSA_HEAP FreeReturnBuffer;
PLSA_GET_CALL_INFO GetCallInfo;
PLSA_CALL_PACKAGEEX CallPackageEx;
PLSA_CREATE_SHARED_MEMORY CreateSharedMemory;
PLSA_ALLOCATE_SHARED_MEMORY AllocateSharedMemory;
PLSA_FREE_SHARED_MEMORY FreeSharedMemory;
PLSA_DELETE_SHARED_MEMORY DeleteSharedMemory;
PLSA_OPEN_SAM_USER OpenSamUser;
PLSA_GET_USER_CREDENTIALS GetUserCredentials;
PLSA_GET_USER_AUTH_DATA GetUserAuthData;
PLSA_CLOSE_SAM_USER CloseSamUser;
PLSA_CONVERT_AUTH_DATA_TO_TOKEN ConvertAuthDataToToken;
PLSA_CLIENT_CALLBACK ClientCallback;
PLSA_UPDATE_PRIMARY_CREDENTIALS UpdateCredentials;
PLSA_GET_AUTH_DATA_FOR_USER GetAuthDataForUser;
PLSA_CRACK_SINGLE_NAME CrackSingleName;
PLSA_AUDIT_ACCOUNT_LOGON AuditAccountLogon;
PLSA_CALL_PACKAGE_PASSTHROUGH CallPackagePassthrough;
CredReadFn* CrediRead;
CredReadDomainCredentialsFn* CrediReadDomainCredentials;
CredFreeCredentialsFn* CrediFreeCredentials;
PLSA_PROTECT_MEMORY LsaProtectMemory;
PLSA_PROTECT_MEMORY LsaUnprotectMemory;
PLSA_OPEN_TOKEN_BY_LOGON_ID OpenTokenByLogonId;
PLSA_EXPAND_AUTH_DATA_FOR_DOMAIN ExpandAuthDataForDomain;
PLSA_ALLOCATE_PRIVATE_HEAP AllocatePrivateHeap;
PLSA_FREE_PRIVATE_HEAP FreePrivateHeap;
PLSA_CREATE_TOKEN_EX CreateTokenEx;
CredWriteFn* CrediWrite;
CrediUnmarshalandDecodeStringFn* CrediUnmarshalandDecodeString;
PLSA_PROTECT_MEMORY DummyFunction6;
PLSA_GET_EXTENDED_CALL_FLAGS GetExtendedCallFlags;
PLSA_DUPLICATE_HANDLE DuplicateTokenHandle;
PLSA_GET_SERVICE_ACCOUNT_PASSWORD GetServiceAccountPassword;
PLSA_PROTECT_MEMORY DummyFunction7;
PLSA_AUDIT_LOGON_EX AuditLogonEx;
PLSA_CHECK_PROTECTED_USER_BY_TOKEN CheckProtectedUserByToken;
PLSA_QUERY_CLIENT_REQUEST QueryClientRequest;
PLSA_GET_APP_MODE_INFO GetAppModeInfo;
PLSA_SET_APP_MODE_INFO SetAppModeInfo;
}
alias LSA_LOCATE_PKG_BY_ID = extern(Windows) void* function(uint PackgeId);
alias PLSA_LOCATE_PKG_BY_ID = extern(Windows) void* function();
struct SECPKG_DLL_FUNCTIONS
{
PLSA_ALLOCATE_LSA_HEAP AllocateHeap;
PLSA_FREE_LSA_HEAP FreeHeap;
PLSA_REGISTER_CALLBACK RegisterCallback;
PLSA_LOCATE_PKG_BY_ID LocatePackageById;
}
alias SpInitializeFn = extern(Windows) NTSTATUS function(uint PackageId, SECPKG_PARAMETERS* Parameters, LSA_SECPKG_FUNCTION_TABLE* FunctionTable);
alias SpShutdownFn = extern(Windows) NTSTATUS function();
alias SpGetInfoFn = extern(Windows) NTSTATUS function(SecPkgInfoA* PackageInfo);
alias SpGetExtendedInformationFn = extern(Windows) NTSTATUS function(SECPKG_EXTENDED_INFORMATION_CLASS Class, SECPKG_EXTENDED_INFORMATION** ppInformation);
alias SpSetExtendedInformationFn = extern(Windows) NTSTATUS function(SECPKG_EXTENDED_INFORMATION_CLASS Class, SECPKG_EXTENDED_INFORMATION* Info);
alias LSA_AP_LOGON_USER_EX2 = extern(Windows) NTSTATUS function(void** ClientRequest, SECURITY_LOGON_TYPE LogonType, char* ProtocolSubmitBuffer, void* ClientBufferBase, uint SubmitBufferSize, void** ProfileBuffer, uint* ProfileBufferSize, LUID* LogonId, int* SubStatus, LSA_TOKEN_INFORMATION_TYPE* TokenInformationType, void** TokenInformation, UNICODE_STRING** AccountName, UNICODE_STRING** AuthenticatingAuthority, UNICODE_STRING** MachineName, SECPKG_PRIMARY_CRED* PrimaryCredentials, SECPKG_SUPPLEMENTAL_CRED_ARRAY** SupplementalCredentials);
alias PLSA_AP_LOGON_USER_EX2 = extern(Windows) NTSTATUS function();
alias LSA_AP_LOGON_USER_EX3 = extern(Windows) NTSTATUS function(void** ClientRequest, SECURITY_LOGON_TYPE LogonType, char* ProtocolSubmitBuffer, void* ClientBufferBase, uint SubmitBufferSize, SECPKG_SURROGATE_LOGON* SurrogateLogon, void** ProfileBuffer, uint* ProfileBufferSize, LUID* LogonId, int* SubStatus, LSA_TOKEN_INFORMATION_TYPE* TokenInformationType, void** TokenInformation, UNICODE_STRING** AccountName, UNICODE_STRING** AuthenticatingAuthority, UNICODE_STRING** MachineName, SECPKG_PRIMARY_CRED* PrimaryCredentials, SECPKG_SUPPLEMENTAL_CRED_ARRAY** SupplementalCredentials);
alias PLSA_AP_LOGON_USER_EX3 = extern(Windows) NTSTATUS function();
alias LSA_AP_PRE_LOGON_USER_SURROGATE = extern(Windows) NTSTATUS function(void** ClientRequest, SECURITY_LOGON_TYPE LogonType, char* ProtocolSubmitBuffer, void* ClientBufferBase, uint SubmitBufferSize, SECPKG_SURROGATE_LOGON* SurrogateLogon, int* SubStatus);
alias PLSA_AP_PRE_LOGON_USER_SURROGATE = extern(Windows) NTSTATUS function();
alias LSA_AP_POST_LOGON_USER_SURROGATE = extern(Windows) NTSTATUS function(void** ClientRequest, SECURITY_LOGON_TYPE LogonType, char* ProtocolSubmitBuffer, void* ClientBufferBase, uint SubmitBufferSize, SECPKG_SURROGATE_LOGON* SurrogateLogon, char* ProfileBuffer, uint ProfileBufferSize, LUID* LogonId, NTSTATUS Status, NTSTATUS SubStatus, LSA_TOKEN_INFORMATION_TYPE TokenInformationType, void* TokenInformation, UNICODE_STRING* AccountName, UNICODE_STRING* AuthenticatingAuthority, UNICODE_STRING* MachineName, SECPKG_PRIMARY_CRED* PrimaryCredentials, SECPKG_SUPPLEMENTAL_CRED_ARRAY* SupplementalCredentials);
alias PLSA_AP_POST_LOGON_USER_SURROGATE = extern(Windows) NTSTATUS function();
alias SpAcceptCredentialsFn = extern(Windows) NTSTATUS function(SECURITY_LOGON_TYPE LogonType, UNICODE_STRING* AccountName, SECPKG_PRIMARY_CRED* PrimaryCredentials, SECPKG_SUPPLEMENTAL_CRED* SupplementalCredentials);
alias SpAcquireCredentialsHandleFn = extern(Windows) NTSTATUS function(UNICODE_STRING* PrincipalName, uint CredentialUseFlags, LUID* LogonId, void* AuthorizationData, void* GetKeyFunciton, void* GetKeyArgument, uint* CredentialHandle, LARGE_INTEGER* ExpirationTime);
alias SpFreeCredentialsHandleFn = extern(Windows) NTSTATUS function(uint CredentialHandle);
alias SpQueryCredentialsAttributesFn = extern(Windows) NTSTATUS function(uint CredentialHandle, uint CredentialAttribute, void* Buffer);
alias SpSetCredentialsAttributesFn = extern(Windows) NTSTATUS function(uint CredentialHandle, uint CredentialAttribute, char* Buffer, uint BufferSize);
alias SpAddCredentialsFn = extern(Windows) NTSTATUS function(uint CredentialHandle, UNICODE_STRING* PrincipalName, UNICODE_STRING* Package, uint CredentialUseFlags, void* AuthorizationData, void* GetKeyFunciton, void* GetKeyArgument, LARGE_INTEGER* ExpirationTime);
alias SpSaveCredentialsFn = extern(Windows) NTSTATUS function(uint CredentialHandle, SecBuffer* Credentials);
alias SpGetCredentialsFn = extern(Windows) NTSTATUS function(uint CredentialHandle, SecBuffer* Credentials);
alias SpDeleteCredentialsFn = extern(Windows) NTSTATUS function(uint CredentialHandle, SecBuffer* Key);
alias SpInitLsaModeContextFn = extern(Windows) NTSTATUS function(uint CredentialHandle, uint ContextHandle, UNICODE_STRING* TargetName, uint ContextRequirements, uint TargetDataRep, SecBufferDesc* InputBuffers, uint* NewContextHandle, SecBufferDesc* OutputBuffers, uint* ContextAttributes, LARGE_INTEGER* ExpirationTime, ubyte* MappedContext, SecBuffer* ContextData);
alias SpDeleteContextFn = extern(Windows) NTSTATUS function(uint ContextHandle);
alias SpApplyControlTokenFn = extern(Windows) NTSTATUS function(uint ContextHandle, SecBufferDesc* ControlToken);
alias SpAcceptLsaModeContextFn = extern(Windows) NTSTATUS function(uint CredentialHandle, uint ContextHandle, SecBufferDesc* InputBuffer, uint ContextRequirements, uint TargetDataRep, uint* NewContextHandle, SecBufferDesc* OutputBuffer, uint* ContextAttributes, LARGE_INTEGER* ExpirationTime, ubyte* MappedContext, SecBuffer* ContextData);
alias SpGetUserInfoFn = extern(Windows) NTSTATUS function(LUID* LogonId, uint Flags, SECURITY_USER_DATA** UserData);
alias SpQueryContextAttributesFn = extern(Windows) NTSTATUS function(uint ContextHandle, uint ContextAttribute, void* Buffer);
alias SpSetContextAttributesFn = extern(Windows) NTSTATUS function(uint ContextHandle, uint ContextAttribute, char* Buffer, uint BufferSize);
alias SpChangeAccountPasswordFn = extern(Windows) NTSTATUS function(UNICODE_STRING* pDomainName, UNICODE_STRING* pAccountName, UNICODE_STRING* pOldPassword, UNICODE_STRING* pNewPassword, ubyte Impersonating, SecBufferDesc* pOutput);
alias SpQueryMetaDataFn = extern(Windows) NTSTATUS function(uint CredentialHandle, UNICODE_STRING* TargetName, uint ContextRequirements, uint* MetaDataLength, ubyte** MetaData, uint* ContextHandle);
alias SpExchangeMetaDataFn = extern(Windows) NTSTATUS function(uint CredentialHandle, UNICODE_STRING* TargetName, uint ContextRequirements, uint MetaDataLength, char* MetaData, uint* ContextHandle);
alias SpGetCredUIContextFn = extern(Windows) NTSTATUS function(uint ContextHandle, Guid* CredType, uint* FlatCredUIContextLength, ubyte** FlatCredUIContext);
alias SpUpdateCredentialsFn = extern(Windows) NTSTATUS function(uint ContextHandle, Guid* CredType, uint FlatCredUIContextLength, char* FlatCredUIContext);
alias SpValidateTargetInfoFn = extern(Windows) NTSTATUS function(void** ClientRequest, char* ProtocolSubmitBuffer, void* ClientBufferBase, uint SubmitBufferLength, SECPKG_TARGETINFO* TargetInfo);
alias LSA_AP_POST_LOGON_USER = extern(Windows) NTSTATUS function(SECPKG_POST_LOGON_USER_INFO* PostLogonUserInfo);
alias SpGetRemoteCredGuardLogonBufferFn = extern(Windows) NTSTATUS function(uint CredHandle, uint ContextHandle, const(UNICODE_STRING)* TargetName, int* RedirectedLogonHandle, PLSA_REDIRECTED_LOGON_CALLBACK* Callback, PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK* CleanupCallback, uint* LogonBufferSize, void** LogonBuffer);
alias SpGetRemoteCredGuardSupplementalCredsFn = extern(Windows) NTSTATUS function(uint CredHandle, const(UNICODE_STRING)* TargetName, int* RedirectedLogonHandle, PLSA_REDIRECTED_LOGON_CALLBACK* Callback, PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK* CleanupCallback, uint* SupplementalCredsSize, void** SupplementalCreds);
alias SpGetTbalSupplementalCredsFn = extern(Windows) NTSTATUS function(LUID LogonId, uint* SupplementalCredsSize, void** SupplementalCreds);
struct SECPKG_FUNCTION_TABLE
{
PLSA_AP_INITIALIZE_PACKAGE InitializePackage;
PLSA_AP_LOGON_USER LogonUserA;
PLSA_AP_CALL_PACKAGE CallPackage;
PLSA_AP_LOGON_TERMINATED LogonTerminated;
PLSA_AP_CALL_PACKAGE_UNTRUSTED CallPackageUntrusted;
PLSA_AP_CALL_PACKAGE_PASSTHROUGH CallPackagePassthrough;
PLSA_AP_LOGON_USER_EX LogonUserExA;
PLSA_AP_LOGON_USER_EX2 LogonUserEx2;
SpInitializeFn* Initialize;
SpShutdownFn* Shutdown;
SpGetInfoFn* GetInfo;
SpAcceptCredentialsFn* AcceptCredentials;
SpAcquireCredentialsHandleFn* AcquireCredentialsHandleA;
SpQueryCredentialsAttributesFn* QueryCredentialsAttributesA;
SpFreeCredentialsHandleFn* FreeCredentialsHandle;
SpSaveCredentialsFn* SaveCredentials;
SpGetCredentialsFn* GetCredentials;
SpDeleteCredentialsFn* DeleteCredentials;
SpInitLsaModeContextFn* InitLsaModeContext;
SpAcceptLsaModeContextFn* AcceptLsaModeContext;
SpDeleteContextFn* DeleteContext;
SpApplyControlTokenFn* ApplyControlToken;
SpGetUserInfoFn* GetUserInfo;
SpGetExtendedInformationFn* GetExtendedInformation;
SpQueryContextAttributesFn* QueryContextAttributesA;
SpAddCredentialsFn* AddCredentialsA;
SpSetExtendedInformationFn* SetExtendedInformation;
SpSetContextAttributesFn* SetContextAttributesA;
SpSetCredentialsAttributesFn* SetCredentialsAttributesA;
SpChangeAccountPasswordFn* ChangeAccountPasswordA;
SpQueryMetaDataFn* QueryMetaData;
SpExchangeMetaDataFn* ExchangeMetaData;
SpGetCredUIContextFn* GetCredUIContext;
SpUpdateCredentialsFn* UpdateCredentials;
SpValidateTargetInfoFn* ValidateTargetInfo;
LSA_AP_POST_LOGON_USER* PostLogonUser;
SpGetRemoteCredGuardLogonBufferFn* GetRemoteCredGuardLogonBuffer;
SpGetRemoteCredGuardSupplementalCredsFn* GetRemoteCredGuardSupplementalCreds;
SpGetTbalSupplementalCredsFn* GetTbalSupplementalCreds;
PLSA_AP_LOGON_USER_EX3 LogonUserEx3;
PLSA_AP_PRE_LOGON_USER_SURROGATE PreLogonUserSurrogate;
PLSA_AP_POST_LOGON_USER_SURROGATE PostLogonUserSurrogate;
}
alias SpInstanceInitFn = extern(Windows) NTSTATUS function(uint Version, SECPKG_DLL_FUNCTIONS* FunctionTable, void** UserFunctions);
alias SpInitUserModeContextFn = extern(Windows) NTSTATUS function(uint ContextHandle, SecBuffer* PackedContext);
alias SpMakeSignatureFn = extern(Windows) NTSTATUS function(uint ContextHandle, uint QualityOfProtection, SecBufferDesc* MessageBuffers, uint MessageSequenceNumber);
alias SpVerifySignatureFn = extern(Windows) NTSTATUS function(uint ContextHandle, SecBufferDesc* MessageBuffers, uint MessageSequenceNumber, uint* QualityOfProtection);
alias SpSealMessageFn = extern(Windows) NTSTATUS function(uint ContextHandle, uint QualityOfProtection, SecBufferDesc* MessageBuffers, uint MessageSequenceNumber);
alias SpUnsealMessageFn = extern(Windows) NTSTATUS function(uint ContextHandle, SecBufferDesc* MessageBuffers, uint MessageSequenceNumber, uint* QualityOfProtection);
alias SpGetContextTokenFn = extern(Windows) NTSTATUS function(uint ContextHandle, int* ImpersonationToken);
alias SpExportSecurityContextFn = extern(Windows) NTSTATUS function(uint phContext, uint fFlags, SecBuffer* pPackedContext, int* pToken);
alias SpImportSecurityContextFn = extern(Windows) NTSTATUS function(SecBuffer* pPackedContext, HANDLE Token, uint* phContext);
alias SpCompleteAuthTokenFn = extern(Windows) NTSTATUS function(uint ContextHandle, SecBufferDesc* InputBuffer);
alias SpFormatCredentialsFn = extern(Windows) NTSTATUS function(SecBuffer* Credentials, SecBuffer* FormattedCredentials);
alias SpMarshallSupplementalCredsFn = extern(Windows) NTSTATUS function(uint CredentialSize, char* Credentials, uint* MarshalledCredSize, void** MarshalledCreds);
struct SECPKG_USER_FUNCTION_TABLE
{
SpInstanceInitFn* InstanceInit;
SpInitUserModeContextFn* InitUserModeContext;
SpMakeSignatureFn* MakeSignature;
SpVerifySignatureFn* VerifySignature;
SpSealMessageFn* SealMessage;
SpUnsealMessageFn* UnsealMessage;
SpGetContextTokenFn* GetContextToken;
SpQueryContextAttributesFn* QueryContextAttributesA;
SpCompleteAuthTokenFn* CompleteAuthToken;
SpDeleteContextFn* DeleteUserModeContext;
SpFormatCredentialsFn* FormatCredentials;
SpMarshallSupplementalCredsFn* MarshallSupplementalCreds;
SpExportSecurityContextFn* ExportContext;
SpImportSecurityContextFn* ImportContext;
}
alias SpLsaModeInitializeFn = extern(Windows) NTSTATUS function(uint LsaVersion, uint* PackageVersion, SECPKG_FUNCTION_TABLE** ppTables, uint* pcTables);
alias SpUserModeInitializeFn = extern(Windows) NTSTATUS function(uint LsaVersion, uint* PackageVersion, SECPKG_USER_FUNCTION_TABLE** ppTables, uint* pcTables);
enum KSEC_CONTEXT_TYPE
{
KSecPaged = 0,
KSecNonPaged = 1,
}
struct KSEC_LIST_ENTRY
{
LIST_ENTRY List;
int RefCount;
uint Signature;
void* OwningList;
void* Reserved;
}
alias KSEC_CREATE_CONTEXT_LIST = extern(Windows) void* function(KSEC_CONTEXT_TYPE Type);
alias KSEC_INSERT_LIST_ENTRY = extern(Windows) void function(void* List, KSEC_LIST_ENTRY* Entry);
alias KSEC_REFERENCE_LIST_ENTRY = extern(Windows) NTSTATUS function(KSEC_LIST_ENTRY* Entry, uint Signature, ubyte RemoveNoRef);
alias KSEC_DEREFERENCE_LIST_ENTRY = extern(Windows) void function(KSEC_LIST_ENTRY* Entry, ubyte* Delete);
alias KSEC_SERIALIZE_WINNT_AUTH_DATA = extern(Windows) NTSTATUS function(void* pvAuthData, uint* Size, void** SerializedData);
alias KSEC_SERIALIZE_SCHANNEL_AUTH_DATA = extern(Windows) NTSTATUS function(void* pvAuthData, uint* Size, void** SerializedData);
alias PKSEC_CREATE_CONTEXT_LIST = extern(Windows) void* function();
alias PKSEC_INSERT_LIST_ENTRY = extern(Windows) void function();
alias PKSEC_REFERENCE_LIST_ENTRY = extern(Windows) NTSTATUS function();
alias PKSEC_DEREFERENCE_LIST_ENTRY = extern(Windows) void function();
alias PKSEC_SERIALIZE_WINNT_AUTH_DATA = extern(Windows) NTSTATUS function();
alias PKSEC_SERIALIZE_SCHANNEL_AUTH_DATA = extern(Windows) NTSTATUS function();
alias KSEC_LOCATE_PKG_BY_ID = extern(Windows) void* function(uint PackageId);
alias PKSEC_LOCATE_PKG_BY_ID = extern(Windows) void* function();
struct SECPKG_KERNEL_FUNCTIONS
{
PLSA_ALLOCATE_LSA_HEAP AllocateHeap;
PLSA_FREE_LSA_HEAP FreeHeap;
PKSEC_CREATE_CONTEXT_LIST CreateContextList;
PKSEC_INSERT_LIST_ENTRY InsertListEntry;
PKSEC_REFERENCE_LIST_ENTRY ReferenceListEntry;
PKSEC_DEREFERENCE_LIST_ENTRY DereferenceListEntry;
PKSEC_SERIALIZE_WINNT_AUTH_DATA SerializeWinntAuthData;
PKSEC_SERIALIZE_SCHANNEL_AUTH_DATA SerializeSchannelAuthData;
PKSEC_LOCATE_PKG_BY_ID LocatePackageById;
}
alias KspInitPackageFn = extern(Windows) NTSTATUS function(SECPKG_KERNEL_FUNCTIONS* FunctionTable);
alias KspDeleteContextFn = extern(Windows) NTSTATUS function(uint ContextId, uint* LsaContextId);
alias KspInitContextFn = extern(Windows) NTSTATUS function(uint ContextId, SecBuffer* ContextData, uint* NewContextId);
alias KspMakeSignatureFn = extern(Windows) NTSTATUS function(uint ContextId, uint fQOP, SecBufferDesc* Message, uint MessageSeqNo);
alias KspVerifySignatureFn = extern(Windows) NTSTATUS function(uint ContextId, SecBufferDesc* Message, uint MessageSeqNo, uint* pfQOP);
alias KspSealMessageFn = extern(Windows) NTSTATUS function(uint ContextId, uint fQOP, SecBufferDesc* Message, uint MessageSeqNo);
alias KspUnsealMessageFn = extern(Windows) NTSTATUS function(uint ContextId, SecBufferDesc* Message, uint MessageSeqNo, uint* pfQOP);
alias KspGetTokenFn = extern(Windows) NTSTATUS function(uint ContextId, int* ImpersonationToken, void** RawToken);
alias KspQueryAttributesFn = extern(Windows) NTSTATUS function(uint ContextId, uint Attribute, void* Buffer);
alias KspCompleteTokenFn = extern(Windows) NTSTATUS function(uint ContextId, SecBufferDesc* Token);
alias KspMapHandleFn = extern(Windows) NTSTATUS function(uint ContextId, uint* LsaContextId);
alias KspSetPagingModeFn = extern(Windows) NTSTATUS function(ubyte PagingMode);
alias KspSerializeAuthDataFn = extern(Windows) NTSTATUS function(void* pvAuthData, uint* Size, void** SerializedData);
struct SECPKG_KERNEL_FUNCTION_TABLE
{
KspInitPackageFn* Initialize;
KspDeleteContextFn* DeleteContext;
KspInitContextFn* InitContext;
KspMapHandleFn* MapHandle;
KspMakeSignatureFn* Sign;
KspVerifySignatureFn* Verify;
KspSealMessageFn* Seal;
KspUnsealMessageFn* Unseal;
KspGetTokenFn* GetToken;
KspQueryAttributesFn* QueryAttributes;
KspCompleteTokenFn* CompleteToken;
SpExportSecurityContextFn* ExportContext;
SpImportSecurityContextFn* ImportContext;
KspSetPagingModeFn* SetPackagePagingMode;
KspSerializeAuthDataFn* SerializeAuthData;
}
struct SecPkgCred_SupportedAlgs
{
uint cSupportedAlgs;
uint* palgSupportedAlgs;
}
struct SecPkgCred_CipherStrengths
{
uint dwMinimumCipherStrength;
uint dwMaximumCipherStrength;
}
struct SecPkgCred_SupportedProtocols
{
uint grbitProtocol;
}
struct SecPkgCred_ClientCertPolicy
{
uint dwFlags;
Guid guidPolicyId;
uint dwCertFlags;
uint dwUrlRetrievalTimeout;
BOOL fCheckRevocationFreshnessTime;
uint dwRevocationFreshnessTime;
BOOL fOmitUsageCheck;
const(wchar)* pwszSslCtlStoreName;
const(wchar)* pwszSslCtlIdentifier;
}
enum eTlsSignatureAlgorithm
{
TlsSignatureAlgorithm_Anonymous = 0,
TlsSignatureAlgorithm_Rsa = 1,
TlsSignatureAlgorithm_Dsa = 2,
TlsSignatureAlgorithm_Ecdsa = 3,
}
enum eTlsHashAlgorithm
{
TlsHashAlgorithm_None = 0,
TlsHashAlgorithm_Md5 = 1,
TlsHashAlgorithm_Sha1 = 2,
TlsHashAlgorithm_Sha224 = 3,
TlsHashAlgorithm_Sha256 = 4,
TlsHashAlgorithm_Sha384 = 5,
TlsHashAlgorithm_Sha512 = 6,
}
struct SecPkgContext_RemoteCredentialInfo
{
uint cbCertificateChain;
ubyte* pbCertificateChain;
uint cCertificates;
uint fFlags;
uint dwBits;
}
struct SecPkgContext_LocalCredentialInfo
{
uint cbCertificateChain;
ubyte* pbCertificateChain;
uint cCertificates;
uint fFlags;
uint dwBits;
}
struct SecPkgContext_ClientCertPolicyResult
{
HRESULT dwPolicyResult;
Guid guidPolicyId;
}
struct SecPkgContext_IssuerListInfoEx
{
CRYPTOAPI_BLOB* aIssuers;
uint cIssuers;
}
struct SecPkgContext_ConnectionInfo
{
uint dwProtocol;
uint aiCipher;
uint dwCipherStrength;
uint aiHash;
uint dwHashStrength;
uint aiExch;
uint dwExchStrength;
}
struct SecPkgContext_ConnectionInfoEx
{
uint dwVersion;
uint dwProtocol;
ushort szCipher;
uint dwCipherStrength;
ushort szHash;
uint dwHashStrength;
ushort szExchange;
uint dwExchStrength;
}
struct SecPkgContext_CipherInfo
{
uint dwVersion;
uint dwProtocol;
uint dwCipherSuite;
uint dwBaseCipherSuite;
ushort szCipherSuite;
ushort szCipher;
uint dwCipherLen;
uint dwCipherBlockLen;
ushort szHash;
uint dwHashLen;
ushort szExchange;
uint dwMinExchangeLen;
uint dwMaxExchangeLen;
ushort szCertificate;
uint dwKeyType;
}
struct SecPkgContext_EapKeyBlock
{
ubyte rgbKeys;
ubyte rgbIVs;
}
struct SecPkgContext_MappedCredAttr
{
uint dwAttribute;
void* pvBuffer;
}
struct SecPkgContext_SessionInfo
{
uint dwFlags;
uint cbSessionId;
ubyte rgbSessionId;
}
struct SecPkgContext_SessionAppData
{
uint dwFlags;
uint cbAppData;
ubyte* pbAppData;
}
struct SecPkgContext_EapPrfInfo
{
uint dwVersion;
uint cbPrfData;
ubyte* pbPrfData;
}
struct SecPkgContext_SupportedSignatures
{
ushort cSignatureAndHashAlgorithms;
ushort* pSignatureAndHashAlgorithms;
}
struct SecPkgContext_Certificates
{
uint cCertificates;
uint cbCertificateChain;
ubyte* pbCertificateChain;
}
struct SecPkgContext_CertInfo
{
uint dwVersion;
uint cbSubjectName;
const(wchar)* pwszSubjectName;
uint cbIssuerName;
const(wchar)* pwszIssuerName;
uint dwKeySize;
}
struct SecPkgContext_UiInfo
{
HWND hParentWindow;
}
struct SecPkgContext_EarlyStart
{
uint dwEarlyStartFlags;
}
struct SecPkgContext_KeyingMaterialInfo
{
ushort cbLabel;
const(char)* pszLabel;
ushort cbContextValue;
ubyte* pbContextValue;
uint cbKeyingMaterial;
}
struct SecPkgContext_KeyingMaterial
{
uint cbKeyingMaterial;
ubyte* pbKeyingMaterial;
}
struct SecPkgContext_KeyingMaterial_Inproc
{
ushort cbLabel;
const(char)* pszLabel;
ushort cbContextValue;
ubyte* pbContextValue;
uint cbKeyingMaterial;
ubyte* pbKeyingMaterial;
}
struct SecPkgContext_SrtpParameters
{
ushort ProtectionProfile;
ubyte MasterKeyIdentifierSize;
ubyte* MasterKeyIdentifier;
}
struct SecPkgContext_TokenBinding
{
ubyte MajorVersion;
ubyte MinorVersion;
ushort KeyParametersSize;
ubyte* KeyParameters;
}
struct _HMAPPER
{
}
struct SCHANNEL_CRED
{
uint dwVersion;
uint cCreds;
CERT_CONTEXT** paCred;
void* hRootStore;
uint cMappers;
_HMAPPER** aphMappers;
uint cSupportedAlgs;
uint* palgSupportedAlgs;
uint grbitEnabledProtocols;
uint dwMinimumCipherStrength;
uint dwMaximumCipherStrength;
uint dwSessionLifespan;
uint dwFlags;
uint dwCredFormat;
}
struct SEND_GENERIC_TLS_EXTENSION
{
ushort ExtensionType;
ushort HandshakeType;
uint Flags;
ushort BufferSize;
ubyte Buffer;
}
struct TLS_EXTENSION_SUBSCRIPTION
{
ushort ExtensionType;
ushort HandshakeType;
}
struct SUBSCRIBE_GENERIC_TLS_EXTENSION
{
uint Flags;
uint SubscriptionsCount;
TLS_EXTENSION_SUBSCRIPTION Subscriptions;
}
struct SCHANNEL_CERT_HASH
{
uint dwLength;
uint dwFlags;
uint hProv;
ubyte ShaHash;
}
struct SCHANNEL_CERT_HASH_STORE
{
uint dwLength;
uint dwFlags;
uint hProv;
ubyte ShaHash;
ushort pwszStoreName;
}
struct SCHANNEL_ALERT_TOKEN
{
uint dwTokenType;
uint dwAlertType;
uint dwAlertNumber;
}
struct SCHANNEL_SESSION_TOKEN
{
uint dwTokenType;
uint dwFlags;
}
struct SCHANNEL_CLIENT_SIGNATURE
{
uint cbLength;
uint aiHash;
uint cbHash;
ubyte HashValue;
ubyte CertThumbprint;
}
alias SSL_EMPTY_CACHE_FN_A = extern(Windows) BOOL function(const(char)* pszTargetName, uint dwFlags);
alias SSL_EMPTY_CACHE_FN_W = extern(Windows) BOOL function(const(wchar)* pszTargetName, uint dwFlags);
struct SSL_CREDENTIAL_CERTIFICATE
{
uint cbPrivateKey;
ubyte* pPrivateKey;
uint cbCertificate;
ubyte* pCertificate;
const(char)* pszPassword;
}
struct SCH_CRED
{
uint dwVersion;
uint cCreds;
void** paSecret;
void** paPublic;
uint cMappers;
_HMAPPER** aphMappers;
}
struct SCH_CRED_SECRET_CAPI
{
uint dwType;
uint hProv;
}
struct SCH_CRED_SECRET_PRIVKEY
{
uint dwType;
ubyte* pPrivateKey;
uint cbPrivateKey;
const(char)* pszPassword;
}
struct SCH_CRED_PUBLIC_CERTCHAIN
{
uint dwType;
uint cbCertChain;
ubyte* pCertChain;
}
struct PctPublicKey
{
uint Type;
uint cbKey;
ubyte pKey;
}
struct X509Certificate
{
uint Version;
uint SerialNumber;
uint SignatureAlgorithm;
FILETIME ValidFrom;
FILETIME ValidUntil;
const(char)* pszIssuer;
const(char)* pszSubject;
PctPublicKey* pPublicKey;
}
alias SSL_CRACK_CERTIFICATE_FN = extern(Windows) BOOL function(ubyte* pbCertificate, uint cbCertificate, BOOL VerifySignature, X509Certificate** ppCertificate);
alias SSL_FREE_CERTIFICATE_FN = extern(Windows) void function(X509Certificate* pCertificate);
alias SslGetServerIdentityFn = extern(Windows) int function(char* ClientHello, uint ClientHelloSize, ubyte** ServerIdentity, uint* ServerIdentitySize, uint Flags);
struct SCH_EXTENSION_DATA
{
ushort ExtensionType;
const(ubyte)* pExtData;
uint cbExtData;
}
enum SchGetExtensionsOptions
{
SCH_EXTENSIONS_OPTIONS_NONE = 0,
SCH_NO_RECORD_HEADER = 1,
}
alias SslGetExtensionsFn = extern(Windows) int function(char* clientHello, uint clientHelloByteSize, char* genericExtensions, ubyte genericExtensionsCount, uint* bytesToRead, SchGetExtensionsOptions flags);
struct OLD_LARGE_INTEGER
{
uint LowPart;
int HighPart;
}
enum SE_OBJECT_TYPE
{
SE_UNKNOWN_OBJECT_TYPE = 0,
SE_FILE_OBJECT = 1,
SE_SERVICE = 2,
SE_PRINTER = 3,
SE_REGISTRY_KEY = 4,
SE_LMSHARE = 5,
SE_KERNEL_OBJECT = 6,
SE_WINDOW_OBJECT = 7,
SE_DS_OBJECT = 8,
SE_DS_OBJECT_ALL = 9,
SE_PROVIDER_DEFINED_OBJECT = 10,
SE_WMIGUID_OBJECT = 11,
SE_REGISTRY_WOW64_32KEY = 12,
SE_REGISTRY_WOW64_64KEY = 13,
}
enum TRUSTEE_TYPE
{
TRUSTEE_IS_UNKNOWN = 0,
TRUSTEE_IS_USER = 1,
TRUSTEE_IS_GROUP = 2,
TRUSTEE_IS_DOMAIN = 3,
TRUSTEE_IS_ALIAS = 4,
TRUSTEE_IS_WELL_KNOWN_GROUP = 5,
TRUSTEE_IS_DELETED = 6,
TRUSTEE_IS_INVALID = 7,
TRUSTEE_IS_COMPUTER = 8,
}
enum TRUSTEE_FORM
{
TRUSTEE_IS_SID = 0,
TRUSTEE_IS_NAME = 1,
TRUSTEE_BAD_FORM = 2,
TRUSTEE_IS_OBJECTS_AND_SID = 3,
TRUSTEE_IS_OBJECTS_AND_NAME = 4,
}
enum MULTIPLE_TRUSTEE_OPERATION
{
NO_MULTIPLE_TRUSTEE = 0,
TRUSTEE_IS_IMPERSONATE = 1,
}
struct OBJECTS_AND_SID
{
uint ObjectsPresent;
Guid ObjectTypeGuid;
Guid InheritedObjectTypeGuid;
SID* pSid;
}
struct OBJECTS_AND_NAME_A
{
uint ObjectsPresent;
SE_OBJECT_TYPE ObjectType;
const(char)* ObjectTypeName;
const(char)* InheritedObjectTypeName;
const(char)* ptstrName;
}
struct OBJECTS_AND_NAME_W
{
uint ObjectsPresent;
SE_OBJECT_TYPE ObjectType;
const(wchar)* ObjectTypeName;
const(wchar)* InheritedObjectTypeName;
const(wchar)* ptstrName;
}
struct TRUSTEE_A
{
TRUSTEE_A* pMultipleTrustee;
MULTIPLE_TRUSTEE_OPERATION MultipleTrusteeOperation;
TRUSTEE_FORM TrusteeForm;
TRUSTEE_TYPE TrusteeType;
const(char)* ptstrName;
}
struct TRUSTEE_W
{
TRUSTEE_W* pMultipleTrustee;
MULTIPLE_TRUSTEE_OPERATION MultipleTrusteeOperation;
TRUSTEE_FORM TrusteeForm;
TRUSTEE_TYPE TrusteeType;
const(wchar)* ptstrName;
}
enum ACCESS_MODE
{
NOT_USED_ACCESS = 0,
GRANT_ACCESS = 1,
SET_ACCESS = 2,
DENY_ACCESS = 3,
REVOKE_ACCESS = 4,
SET_AUDIT_SUCCESS = 5,
SET_AUDIT_FAILURE = 6,
}
struct EXPLICIT_ACCESS_A
{
uint grfAccessPermissions;
ACCESS_MODE grfAccessMode;
uint grfInheritance;
TRUSTEE_A Trustee;
}
struct EXPLICIT_ACCESS_W
{
uint grfAccessPermissions;
ACCESS_MODE grfAccessMode;
uint grfInheritance;
TRUSTEE_W Trustee;
}
struct TRUSTEE_ACCESSA
{
const(char)* lpProperty;
uint Access;
uint fAccessFlags;
uint fReturnedAccess;
}
struct TRUSTEE_ACCESSW
{
const(wchar)* lpProperty;
uint Access;
uint fAccessFlags;
uint fReturnedAccess;
}
struct ACTRL_OVERLAPPED
{
_Anonymous_e__Union Anonymous;
uint Reserved2;
HANDLE hEvent;
}
struct ACTRL_ACCESS_INFOA
{
uint fAccessPermission;
const(char)* lpAccessPermissionName;
}
struct ACTRL_ACCESS_INFOW
{
uint fAccessPermission;
const(wchar)* lpAccessPermissionName;
}
struct ACTRL_CONTROL_INFOA
{
const(char)* lpControlId;
const(char)* lpControlName;
}
struct ACTRL_CONTROL_INFOW
{
const(wchar)* lpControlId;
const(wchar)* lpControlName;
}
enum PROG_INVOKE_SETTING
{
ProgressInvokeNever = 1,
ProgressInvokeEveryObject = 2,
ProgressInvokeOnError = 3,
ProgressCancelOperation = 4,
ProgressRetryOperation = 5,
ProgressInvokePrePostError = 6,
}
struct _FN_OBJECT_MGR_FUNCTIONS
{
uint Placeholder;
}
struct INHERITED_FROMA
{
int GenerationGap;
const(char)* AncestorName;
}
struct INHERITED_FROMW
{
int GenerationGap;
const(wchar)* AncestorName;
}
struct WLX_SC_NOTIFICATION_INFO
{
const(wchar)* pszCard;
const(wchar)* pszReader;
const(wchar)* pszContainer;
const(wchar)* pszCryptoProvider;
}
struct WLX_PROFILE_V1_0
{
uint dwType;
const(wchar)* pszProfile;
}
struct WLX_PROFILE_V2_0
{
uint dwType;
const(wchar)* pszProfile;
const(wchar)* pszPolicy;
const(wchar)* pszNetworkDefaultUserProfile;
const(wchar)* pszServerName;
const(wchar)* pszEnvironment;
}
struct WLX_MPR_NOTIFY_INFO
{
const(wchar)* pszUserName;
const(wchar)* pszDomain;
const(wchar)* pszPassword;
const(wchar)* pszOldPassword;
}
struct WLX_TERMINAL_SERVICES_DATA
{
ushort ProfilePath;
ushort HomeDir;
ushort HomeDirDrive;
}
struct WLX_CLIENT_CREDENTIALS_INFO_V1_0
{
uint dwType;
const(wchar)* pszUserName;
const(wchar)* pszDomain;
const(wchar)* pszPassword;
BOOL fPromptForPassword;
}
struct WLX_CLIENT_CREDENTIALS_INFO_V2_0
{
uint dwType;
const(wchar)* pszUserName;
const(wchar)* pszDomain;
const(wchar)* pszPassword;
BOOL fPromptForPassword;
BOOL fDisconnectOnLogonFailure;
}
struct WLX_CONSOLESWITCH_CREDENTIALS_INFO_V1_0
{
uint dwType;
HANDLE UserToken;
LUID LogonId;
QUOTA_LIMITS Quotas;
const(wchar)* UserName;
const(wchar)* Domain;
LARGE_INTEGER LogonTime;
BOOL SmartCardLogon;
uint ProfileLength;
uint MessageType;
ushort LogonCount;
ushort BadPasswordCount;
LARGE_INTEGER ProfileLogonTime;
LARGE_INTEGER LogoffTime;
LARGE_INTEGER KickOffTime;
LARGE_INTEGER PasswordLastSet;
LARGE_INTEGER PasswordCanChange;
LARGE_INTEGER PasswordMustChange;
const(wchar)* LogonScript;
const(wchar)* HomeDirectory;
const(wchar)* FullName;
const(wchar)* ProfilePath;
const(wchar)* HomeDirectoryDrive;
const(wchar)* LogonServer;
uint UserFlags;
uint PrivateDataLen;
ubyte* PrivateData;
}
struct WLX_DESKTOP
{
uint Size;
uint Flags;
HDESK hDesktop;
const(wchar)* pszDesktopName;
}
alias PWLX_USE_CTRL_ALT_DEL = extern(Windows) void function(HANDLE hWlx);
alias PWLX_SET_CONTEXT_POINTER = extern(Windows) void function(HANDLE hWlx, void* pWlxContext);
alias PWLX_SAS_NOTIFY = extern(Windows) void function(HANDLE hWlx, uint dwSasType);
alias PWLX_SET_TIMEOUT = extern(Windows) BOOL function(HANDLE hWlx, uint Timeout);
alias PWLX_ASSIGN_SHELL_PROTECTION = extern(Windows) int function(HANDLE hWlx, HANDLE hToken, HANDLE hProcess, HANDLE hThread);
alias PWLX_MESSAGE_BOX = extern(Windows) int function(HANDLE hWlx, HWND hwndOwner, const(wchar)* lpszText, const(wchar)* lpszTitle, uint fuStyle);
alias PWLX_DIALOG_BOX = extern(Windows) int function(HANDLE hWlx, HANDLE hInst, const(wchar)* lpszTemplate, HWND hwndOwner, DLGPROC dlgprc);
alias PWLX_DIALOG_BOX_INDIRECT = extern(Windows) int function(HANDLE hWlx, HANDLE hInst, DLGTEMPLATE* hDialogTemplate, HWND hwndOwner, DLGPROC dlgprc);
alias PWLX_DIALOG_BOX_PARAM = extern(Windows) int function(HANDLE hWlx, HANDLE hInst, const(wchar)* lpszTemplate, HWND hwndOwner, DLGPROC dlgprc, LPARAM dwInitParam);
alias PWLX_DIALOG_BOX_INDIRECT_PARAM = extern(Windows) int function(HANDLE hWlx, HANDLE hInst, DLGTEMPLATE* hDialogTemplate, HWND hwndOwner, DLGPROC dlgprc, LPARAM dwInitParam);
alias PWLX_SWITCH_DESKTOP_TO_USER = extern(Windows) int function(HANDLE hWlx);
alias PWLX_SWITCH_DESKTOP_TO_WINLOGON = extern(Windows) int function(HANDLE hWlx);
alias PWLX_CHANGE_PASSWORD_NOTIFY = extern(Windows) int function(HANDLE hWlx, WLX_MPR_NOTIFY_INFO* pMprInfo, uint dwChangeInfo);
alias PWLX_GET_SOURCE_DESKTOP = extern(Windows) BOOL function(HANDLE hWlx, WLX_DESKTOP** ppDesktop);
alias PWLX_SET_RETURN_DESKTOP = extern(Windows) BOOL function(HANDLE hWlx, WLX_DESKTOP* pDesktop);
alias PWLX_CREATE_USER_DESKTOP = extern(Windows) BOOL function(HANDLE hWlx, HANDLE hToken, uint Flags, const(wchar)* pszDesktopName, WLX_DESKTOP** ppDesktop);
alias PWLX_CHANGE_PASSWORD_NOTIFY_EX = extern(Windows) int function(HANDLE hWlx, WLX_MPR_NOTIFY_INFO* pMprInfo, uint dwChangeInfo, const(wchar)* ProviderName, void* Reserved);
alias PWLX_CLOSE_USER_DESKTOP = extern(Windows) BOOL function(HANDLE hWlx, WLX_DESKTOP* pDesktop, HANDLE hToken);
alias PWLX_SET_OPTION = extern(Windows) BOOL function(HANDLE hWlx, uint Option, uint Value, uint* OldValue);
alias PWLX_GET_OPTION = extern(Windows) BOOL function(HANDLE hWlx, uint Option, uint* Value);
alias PWLX_WIN31_MIGRATE = extern(Windows) void function(HANDLE hWlx);
alias PWLX_QUERY_CLIENT_CREDENTIALS = extern(Windows) BOOL function(WLX_CLIENT_CREDENTIALS_INFO_V1_0* pCred);
alias PWLX_QUERY_IC_CREDENTIALS = extern(Windows) BOOL function(WLX_CLIENT_CREDENTIALS_INFO_V1_0* pCred);
alias PWLX_QUERY_TS_LOGON_CREDENTIALS = extern(Windows) BOOL function(WLX_CLIENT_CREDENTIALS_INFO_V2_0* pCred);
alias PWLX_DISCONNECT = extern(Windows) BOOL function();
alias PWLX_QUERY_TERMINAL_SERVICES_DATA = extern(Windows) uint function(HANDLE hWlx, WLX_TERMINAL_SERVICES_DATA* pTSData, ushort* UserName, ushort* Domain);
alias PWLX_QUERY_CONSOLESWITCH_CREDENTIALS = extern(Windows) uint function(WLX_CONSOLESWITCH_CREDENTIALS_INFO_V1_0* pCred);
struct WLX_DISPATCH_VERSION_1_0
{
PWLX_USE_CTRL_ALT_DEL WlxUseCtrlAltDel;
PWLX_SET_CONTEXT_POINTER WlxSetContextPointer;
PWLX_SAS_NOTIFY WlxSasNotify;
PWLX_SET_TIMEOUT WlxSetTimeout;
PWLX_ASSIGN_SHELL_PROTECTION WlxAssignShellProtection;
PWLX_MESSAGE_BOX WlxMessageBox;
PWLX_DIALOG_BOX WlxDialogBox;
PWLX_DIALOG_BOX_PARAM WlxDialogBoxParam;
PWLX_DIALOG_BOX_INDIRECT WlxDialogBoxIndirect;
PWLX_DIALOG_BOX_INDIRECT_PARAM WlxDialogBoxIndirectParam;
PWLX_SWITCH_DESKTOP_TO_USER WlxSwitchDesktopToUser;
PWLX_SWITCH_DESKTOP_TO_WINLOGON WlxSwitchDesktopToWinlogon;
PWLX_CHANGE_PASSWORD_NOTIFY WlxChangePasswordNotify;
}
struct WLX_DISPATCH_VERSION_1_1
{
PWLX_USE_CTRL_ALT_DEL WlxUseCtrlAltDel;
PWLX_SET_CONTEXT_POINTER WlxSetContextPointer;
PWLX_SAS_NOTIFY WlxSasNotify;
PWLX_SET_TIMEOUT WlxSetTimeout;
PWLX_ASSIGN_SHELL_PROTECTION WlxAssignShellProtection;
PWLX_MESSAGE_BOX WlxMessageBox;
PWLX_DIALOG_BOX WlxDialogBox;
PWLX_DIALOG_BOX_PARAM WlxDialogBoxParam;
PWLX_DIALOG_BOX_INDIRECT WlxDialogBoxIndirect;
PWLX_DIALOG_BOX_INDIRECT_PARAM WlxDialogBoxIndirectParam;
PWLX_SWITCH_DESKTOP_TO_USER WlxSwitchDesktopToUser;
PWLX_SWITCH_DESKTOP_TO_WINLOGON WlxSwitchDesktopToWinlogon;
PWLX_CHANGE_PASSWORD_NOTIFY WlxChangePasswordNotify;
PWLX_GET_SOURCE_DESKTOP WlxGetSourceDesktop;
PWLX_SET_RETURN_DESKTOP WlxSetReturnDesktop;
PWLX_CREATE_USER_DESKTOP WlxCreateUserDesktop;
PWLX_CHANGE_PASSWORD_NOTIFY_EX WlxChangePasswordNotifyEx;
}
struct WLX_DISPATCH_VERSION_1_2
{
PWLX_USE_CTRL_ALT_DEL WlxUseCtrlAltDel;
PWLX_SET_CONTEXT_POINTER WlxSetContextPointer;
PWLX_SAS_NOTIFY WlxSasNotify;
PWLX_SET_TIMEOUT WlxSetTimeout;
PWLX_ASSIGN_SHELL_PROTECTION WlxAssignShellProtection;
PWLX_MESSAGE_BOX WlxMessageBox;
PWLX_DIALOG_BOX WlxDialogBox;
PWLX_DIALOG_BOX_PARAM WlxDialogBoxParam;
PWLX_DIALOG_BOX_INDIRECT WlxDialogBoxIndirect;
PWLX_DIALOG_BOX_INDIRECT_PARAM WlxDialogBoxIndirectParam;
PWLX_SWITCH_DESKTOP_TO_USER WlxSwitchDesktopToUser;
PWLX_SWITCH_DESKTOP_TO_WINLOGON WlxSwitchDesktopToWinlogon;
PWLX_CHANGE_PASSWORD_NOTIFY WlxChangePasswordNotify;
PWLX_GET_SOURCE_DESKTOP WlxGetSourceDesktop;
PWLX_SET_RETURN_DESKTOP WlxSetReturnDesktop;
PWLX_CREATE_USER_DESKTOP WlxCreateUserDesktop;
PWLX_CHANGE_PASSWORD_NOTIFY_EX WlxChangePasswordNotifyEx;
PWLX_CLOSE_USER_DESKTOP WlxCloseUserDesktop;
}
struct WLX_DISPATCH_VERSION_1_3
{
PWLX_USE_CTRL_ALT_DEL WlxUseCtrlAltDel;
PWLX_SET_CONTEXT_POINTER WlxSetContextPointer;
PWLX_SAS_NOTIFY WlxSasNotify;
PWLX_SET_TIMEOUT WlxSetTimeout;
PWLX_ASSIGN_SHELL_PROTECTION WlxAssignShellProtection;
PWLX_MESSAGE_BOX WlxMessageBox;
PWLX_DIALOG_BOX WlxDialogBox;
PWLX_DIALOG_BOX_PARAM WlxDialogBoxParam;
PWLX_DIALOG_BOX_INDIRECT WlxDialogBoxIndirect;
PWLX_DIALOG_BOX_INDIRECT_PARAM WlxDialogBoxIndirectParam;
PWLX_SWITCH_DESKTOP_TO_USER WlxSwitchDesktopToUser;
PWLX_SWITCH_DESKTOP_TO_WINLOGON WlxSwitchDesktopToWinlogon;
PWLX_CHANGE_PASSWORD_NOTIFY WlxChangePasswordNotify;
PWLX_GET_SOURCE_DESKTOP WlxGetSourceDesktop;
PWLX_SET_RETURN_DESKTOP WlxSetReturnDesktop;
PWLX_CREATE_USER_DESKTOP WlxCreateUserDesktop;
PWLX_CHANGE_PASSWORD_NOTIFY_EX WlxChangePasswordNotifyEx;
PWLX_CLOSE_USER_DESKTOP WlxCloseUserDesktop;
PWLX_SET_OPTION WlxSetOption;
PWLX_GET_OPTION WlxGetOption;
PWLX_WIN31_MIGRATE WlxWin31Migrate;
PWLX_QUERY_CLIENT_CREDENTIALS WlxQueryClientCredentials;
PWLX_QUERY_IC_CREDENTIALS WlxQueryInetConnectorCredentials;
PWLX_DISCONNECT WlxDisconnect;
PWLX_QUERY_TERMINAL_SERVICES_DATA WlxQueryTerminalServicesData;
}
struct WLX_DISPATCH_VERSION_1_4
{
PWLX_USE_CTRL_ALT_DEL WlxUseCtrlAltDel;
PWLX_SET_CONTEXT_POINTER WlxSetContextPointer;
PWLX_SAS_NOTIFY WlxSasNotify;
PWLX_SET_TIMEOUT WlxSetTimeout;
PWLX_ASSIGN_SHELL_PROTECTION WlxAssignShellProtection;
PWLX_MESSAGE_BOX WlxMessageBox;
PWLX_DIALOG_BOX WlxDialogBox;
PWLX_DIALOG_BOX_PARAM WlxDialogBoxParam;
PWLX_DIALOG_BOX_INDIRECT WlxDialogBoxIndirect;
PWLX_DIALOG_BOX_INDIRECT_PARAM WlxDialogBoxIndirectParam;
PWLX_SWITCH_DESKTOP_TO_USER WlxSwitchDesktopToUser;
PWLX_SWITCH_DESKTOP_TO_WINLOGON WlxSwitchDesktopToWinlogon;
PWLX_CHANGE_PASSWORD_NOTIFY WlxChangePasswordNotify;
PWLX_GET_SOURCE_DESKTOP WlxGetSourceDesktop;
PWLX_SET_RETURN_DESKTOP WlxSetReturnDesktop;
PWLX_CREATE_USER_DESKTOP WlxCreateUserDesktop;
PWLX_CHANGE_PASSWORD_NOTIFY_EX WlxChangePasswordNotifyEx;
PWLX_CLOSE_USER_DESKTOP WlxCloseUserDesktop;
PWLX_SET_OPTION WlxSetOption;
PWLX_GET_OPTION WlxGetOption;
PWLX_WIN31_MIGRATE WlxWin31Migrate;
PWLX_QUERY_CLIENT_CREDENTIALS WlxQueryClientCredentials;
PWLX_QUERY_IC_CREDENTIALS WlxQueryInetConnectorCredentials;
PWLX_DISCONNECT WlxDisconnect;
PWLX_QUERY_TERMINAL_SERVICES_DATA WlxQueryTerminalServicesData;
PWLX_QUERY_CONSOLESWITCH_CREDENTIALS WlxQueryConsoleSwitchCredentials;
PWLX_QUERY_TS_LOGON_CREDENTIALS WlxQueryTsLogonCredentials;
}
alias PFNMSGECALLBACK = extern(Windows) uint function(BOOL bVerbose, const(wchar)* lpMessage);
struct WLX_NOTIFICATION_INFO
{
uint Size;
uint Flags;
const(wchar)* UserName;
const(wchar)* Domain;
const(wchar)* WindowStation;
HANDLE hToken;
HDESK hDesktop;
PFNMSGECALLBACK pStatusCallback;
}
const GUID CLSID_TpmVirtualSmartCardManager = {0x16A18E86, 0x7F6E, 0x4C20, [0xAD, 0x89, 0x4F, 0xFC, 0x0D, 0xB7, 0xA9, 0x6A]};
@GUID(0x16A18E86, 0x7F6E, 0x4C20, [0xAD, 0x89, 0x4F, 0xFC, 0x0D, 0xB7, 0xA9, 0x6A]);
struct TpmVirtualSmartCardManager;
const GUID CLSID_RemoteTpmVirtualSmartCardManager = {0x152EA2A8, 0x70DC, 0x4C59, [0x8B, 0x2A, 0x32, 0xAA, 0x3C, 0xA0, 0xDC, 0xAC]};
@GUID(0x152EA2A8, 0x70DC, 0x4C59, [0x8B, 0x2A, 0x32, 0xAA, 0x3C, 0xA0, 0xDC, 0xAC]);
struct RemoteTpmVirtualSmartCardManager;
enum TPMVSC_ATTESTATION_TYPE
{
TPMVSC_ATTESTATION_NONE = 0,
TPMVSC_ATTESTATION_AIK_ONLY = 1,
TPMVSC_ATTESTATION_AIK_AND_CERTIFICATE = 2,
}
enum TPMVSCMGR_STATUS
{
TPMVSCMGR_STATUS_VTPMSMARTCARD_INITIALIZING = 0,
TPMVSCMGR_STATUS_VTPMSMARTCARD_CREATING = 1,
TPMVSCMGR_STATUS_VTPMSMARTCARD_DESTROYING = 2,
TPMVSCMGR_STATUS_VGIDSSIMULATOR_INITIALIZING = 3,
TPMVSCMGR_STATUS_VGIDSSIMULATOR_CREATING = 4,
TPMVSCMGR_STATUS_VGIDSSIMULATOR_DESTROYING = 5,
TPMVSCMGR_STATUS_VREADER_INITIALIZING = 6,
TPMVSCMGR_STATUS_VREADER_CREATING = 7,
TPMVSCMGR_STATUS_VREADER_DESTROYING = 8,
TPMVSCMGR_STATUS_GENERATE_WAITING = 9,
TPMVSCMGR_STATUS_GENERATE_AUTHENTICATING = 10,
TPMVSCMGR_STATUS_GENERATE_RUNNING = 11,
TPMVSCMGR_STATUS_CARD_CREATED = 12,
TPMVSCMGR_STATUS_CARD_DESTROYED = 13,
}
enum TPMVSCMGR_ERROR
{
TPMVSCMGR_ERROR_IMPERSONATION = 0,
TPMVSCMGR_ERROR_PIN_COMPLEXITY = 1,
TPMVSCMGR_ERROR_READER_COUNT_LIMIT = 2,
TPMVSCMGR_ERROR_TERMINAL_SERVICES_SESSION = 3,
TPMVSCMGR_ERROR_VTPMSMARTCARD_INITIALIZE = 4,
TPMVSCMGR_ERROR_VTPMSMARTCARD_CREATE = 5,
TPMVSCMGR_ERROR_VTPMSMARTCARD_DESTROY = 6,
TPMVSCMGR_ERROR_VGIDSSIMULATOR_INITIALIZE = 7,
TPMVSCMGR_ERROR_VGIDSSIMULATOR_CREATE = 8,
TPMVSCMGR_ERROR_VGIDSSIMULATOR_DESTROY = 9,
TPMVSCMGR_ERROR_VGIDSSIMULATOR_WRITE_PROPERTY = 10,
TPMVSCMGR_ERROR_VGIDSSIMULATOR_READ_PROPERTY = 11,
TPMVSCMGR_ERROR_VREADER_INITIALIZE = 12,
TPMVSCMGR_ERROR_VREADER_CREATE = 13,
TPMVSCMGR_ERROR_VREADER_DESTROY = 14,
TPMVSCMGR_ERROR_GENERATE_LOCATE_READER = 15,
TPMVSCMGR_ERROR_GENERATE_FILESYSTEM = 16,
TPMVSCMGR_ERROR_CARD_CREATE = 17,
TPMVSCMGR_ERROR_CARD_DESTROY = 18,
}
const GUID IID_ITpmVirtualSmartCardManagerStatusCallback = {0x1A1BB35F, 0xABB8, 0x451C, [0xA1, 0xAE, 0x33, 0xD9, 0x8F, 0x1B, 0xEF, 0x4A]};
@GUID(0x1A1BB35F, 0xABB8, 0x451C, [0xA1, 0xAE, 0x33, 0xD9, 0x8F, 0x1B, 0xEF, 0x4A]);
interface ITpmVirtualSmartCardManagerStatusCallback : IUnknown
{
HRESULT ReportProgress(TPMVSCMGR_STATUS Status);
HRESULT ReportError(TPMVSCMGR_ERROR Error);
}
const GUID IID_ITpmVirtualSmartCardManager = {0x112B1DFF, 0xD9DC, 0x41F7, [0x86, 0x9F, 0xD6, 0x7F, 0xEE, 0x7C, 0xB5, 0x91]};
@GUID(0x112B1DFF, 0xD9DC, 0x41F7, [0x86, 0x9F, 0xD6, 0x7F, 0xEE, 0x7C, 0xB5, 0x91]);
interface ITpmVirtualSmartCardManager : IUnknown
{
HRESULT CreateVirtualSmartCard(const(wchar)* pszFriendlyName, ubyte bAdminAlgId, char* pbAdminKey, uint cbAdminKey, char* pbAdminKcv, uint cbAdminKcv, char* pbPuk, uint cbPuk, char* pbPin, uint cbPin, BOOL fGenerate, ITpmVirtualSmartCardManagerStatusCallback pStatusCallback, ushort** ppszInstanceId, int* pfNeedReboot);
HRESULT DestroyVirtualSmartCard(const(wchar)* pszInstanceId, ITpmVirtualSmartCardManagerStatusCallback pStatusCallback, int* pfNeedReboot);
}
const GUID IID_ITpmVirtualSmartCardManager2 = {0xFDF8A2B9, 0x02DE, 0x47F4, [0xBC, 0x26, 0xAA, 0x85, 0xAB, 0x5E, 0x52, 0x67]};
@GUID(0xFDF8A2B9, 0x02DE, 0x47F4, [0xBC, 0x26, 0xAA, 0x85, 0xAB, 0x5E, 0x52, 0x67]);
interface ITpmVirtualSmartCardManager2 : ITpmVirtualSmartCardManager
{
HRESULT CreateVirtualSmartCardWithPinPolicy(const(wchar)* pszFriendlyName, ubyte bAdminAlgId, char* pbAdminKey, uint cbAdminKey, char* pbAdminKcv, uint cbAdminKcv, char* pbPuk, uint cbPuk, char* pbPin, uint cbPin, char* pbPinPolicy, uint cbPinPolicy, BOOL fGenerate, ITpmVirtualSmartCardManagerStatusCallback pStatusCallback, ushort** ppszInstanceId, int* pfNeedReboot);
}
const GUID IID_ITpmVirtualSmartCardManager3 = {0x3C745A97, 0xF375, 0x4150, [0xBE, 0x17, 0x59, 0x50, 0xF6, 0x94, 0xC6, 0x99]};
@GUID(0x3C745A97, 0xF375, 0x4150, [0xBE, 0x17, 0x59, 0x50, 0xF6, 0x94, 0xC6, 0x99]);
interface ITpmVirtualSmartCardManager3 : ITpmVirtualSmartCardManager2
{
HRESULT CreateVirtualSmartCardWithAttestation(const(wchar)* pszFriendlyName, ubyte bAdminAlgId, char* pbAdminKey, uint cbAdminKey, char* pbAdminKcv, uint cbAdminKcv, char* pbPuk, uint cbPuk, char* pbPin, uint cbPin, char* pbPinPolicy, uint cbPinPolicy, TPMVSC_ATTESTATION_TYPE attestationType, BOOL fGenerate, ITpmVirtualSmartCardManagerStatusCallback pStatusCallback, ushort** ppszInstanceId);
}
enum KeyCredentialManagerOperationErrorStates
{
KeyCredentialManagerOperationErrorStateNone = 0,
KeyCredentialManagerOperationErrorStateDeviceJoinFailure = 1,
KeyCredentialManagerOperationErrorStateTokenFailure = 2,
KeyCredentialManagerOperationErrorStateCertificateFailure = 4,
KeyCredentialManagerOperationErrorStateRemoteSessionFailure = 8,
KeyCredentialManagerOperationErrorStatePolicyFailure = 16,
KeyCredentialManagerOperationErrorStateHardwareFailure = 32,
KeyCredentialManagerOperationErrorStatePinExistsFailure = 64,
}
enum KeyCredentialManagerOperationType
{
KeyCredentialManagerProvisioning = 0,
KeyCredentialManagerPinChange = 1,
KeyCredentialManagerPinReset = 2,
}
struct KeyCredentialManagerInfo
{
Guid containerId;
}
enum IDENTITY_TYPE
{
IDENTITIES_ALL = 0,
IDENTITIES_ME_ONLY = 1,
}
alias PF_NPAddConnection = extern(Windows) uint function(NETRESOURCEW* lpNetResource, const(wchar)* lpPassword, const(wchar)* lpUserName);
alias PF_NPAddConnection3 = extern(Windows) uint function(HWND hwndOwner, NETRESOURCEW* lpNetResource, const(wchar)* lpPassword, const(wchar)* lpUserName, uint dwFlags);
alias PF_NPAddConnection4 = extern(Windows) uint function(HWND hwndOwner, NETRESOURCEW* lpNetResource, char* lpAuthBuffer, uint cbAuthBuffer, uint dwFlags, char* lpUseOptions, uint cbUseOptions);
alias PF_NPCancelConnection = extern(Windows) uint function(const(wchar)* lpName, BOOL fForce);
alias PF_NPGetConnection = extern(Windows) uint function(const(wchar)* lpLocalName, const(wchar)* lpRemoteName, uint* lpnBufferLen);
alias PF_NPGetConnection3 = extern(Windows) uint function(const(wchar)* lpLocalName, uint dwLevel, char* lpBuffer, uint* lpBufferSize);
alias PF_NPGetUniversalName = extern(Windows) uint function(const(wchar)* lpLocalPath, uint dwInfoLevel, char* lpBuffer, uint* lpnBufferSize);
alias PF_NPGetConnectionPerformance = extern(Windows) uint function(const(wchar)* lpRemoteName, NETCONNECTINFOSTRUCT* lpNetConnectInfo);
alias PF_NPOpenEnum = extern(Windows) uint function(uint dwScope, uint dwType, uint dwUsage, NETRESOURCEW* lpNetResource, int* lphEnum);
alias PF_NPEnumResource = extern(Windows) uint function(HANDLE hEnum, uint* lpcCount, char* lpBuffer, uint* lpBufferSize);
alias PF_NPCloseEnum = extern(Windows) uint function(HANDLE hEnum);
alias PF_NPGetCaps = extern(Windows) uint function(uint ndex);
alias PF_NPGetUser = extern(Windows) uint function(const(wchar)* lpName, const(wchar)* lpUserName, uint* lpnBufferLen);
alias PF_NPGetPersistentUseOptionsForConnection = extern(Windows) uint function(const(wchar)* lpRemotePath, char* lpReadUseOptions, uint cbReadUseOptions, char* lpWriteUseOptions, uint* lpSizeWriteUseOptions);
alias PF_NPDeviceMode = extern(Windows) uint function(HWND hParent);
alias PF_NPSearchDialog = extern(Windows) uint function(HWND hwndParent, NETRESOURCEW* lpNetResource, char* lpBuffer, uint cbBuffer, uint* lpnFlags);
alias PF_NPGetResourceParent = extern(Windows) uint function(NETRESOURCEW* lpNetResource, char* lpBuffer, uint* lpBufferSize);
alias PF_NPGetResourceInformation = extern(Windows) uint function(NETRESOURCEW* lpNetResource, char* lpBuffer, uint* lpBufferSize, ushort** lplpSystem);
alias PF_NPFormatNetworkName = extern(Windows) uint function(const(wchar)* lpRemoteName, const(wchar)* lpFormattedName, uint* lpnLength, uint dwFlags, uint dwAveCharPerLine);
alias PF_NPGetPropertyText = extern(Windows) uint function(uint iButton, uint nPropSel, const(wchar)* lpName, const(wchar)* lpButtonName, uint nButtonNameLen, uint nType);
alias PF_NPPropertyDialog = extern(Windows) uint function(HWND hwndParent, uint iButtonDlg, uint nPropSel, const(wchar)* lpFileName, uint nType);
alias PF_NPGetDirectoryType = extern(Windows) uint function(const(wchar)* lpName, int* lpType, BOOL bFlushCache);
alias PF_NPDirectoryNotify = extern(Windows) uint function(HWND hwnd, const(wchar)* lpDir, uint dwOper);
alias PF_NPLogonNotify = extern(Windows) uint function(LUID* lpLogonId, const(wchar)* lpAuthentInfoType, void* lpAuthentInfo, const(wchar)* lpPreviousAuthentInfoType, void* lpPreviousAuthentInfo, const(wchar)* lpStationName, void* StationHandle, ushort** lpLogonScript);
alias PF_NPPasswordChangeNotify = extern(Windows) uint function(const(wchar)* lpAuthentInfoType, void* lpAuthentInfo, const(wchar)* lpPreviousAuthentInfoType, void* lpPreviousAuthentInfo, const(wchar)* lpStationName, void* StationHandle, uint dwChangeInfo);
struct NOTIFYINFO
{
uint dwNotifyStatus;
uint dwOperationStatus;
void* lpContext;
}
struct NOTIFYADD
{
HWND hwndOwner;
NETRESOURCEA NetResource;
uint dwAddFlags;
}
struct NOTIFYCANCEL
{
const(wchar)* lpName;
const(wchar)* lpProvider;
uint dwFlags;
BOOL fForce;
}
alias PF_AddConnectNotify = extern(Windows) uint function(NOTIFYINFO* lpNotifyInfo, NOTIFYADD* lpAddInfo);
alias PF_CancelConnectNotify = extern(Windows) uint function(NOTIFYINFO* lpNotifyInfo, NOTIFYCANCEL* lpCancelInfo);
alias PF_NPFMXGetPermCaps = extern(Windows) uint function(const(wchar)* lpDriveName);
alias PF_NPFMXEditPerm = extern(Windows) uint function(const(wchar)* lpDriveName, HWND hwndFMX, uint nDialogType);
alias PF_NPFMXGetPermHelp = extern(Windows) uint function(const(wchar)* lpDriveName, uint nDialogType, BOOL fDirectory, char* lpFileNameBuffer, uint* lpBufferSize, uint* lpnHelpContext);
struct LOGON_HOURS
{
ushort UnitsPerWeek;
ubyte* LogonHours;
}
struct SR_SECURITY_DESCRIPTOR
{
uint Length;
ubyte* SecurityDescriptor;
}
struct USER_ALL_INFORMATION
{
LARGE_INTEGER LastLogon;
LARGE_INTEGER LastLogoff;
LARGE_INTEGER PasswordLastSet;
LARGE_INTEGER AccountExpires;
LARGE_INTEGER PasswordCanChange;
LARGE_INTEGER PasswordMustChange;
UNICODE_STRING UserName;
UNICODE_STRING FullName;
UNICODE_STRING HomeDirectory;
UNICODE_STRING HomeDirectoryDrive;
UNICODE_STRING ScriptPath;
UNICODE_STRING ProfilePath;
UNICODE_STRING AdminComment;
UNICODE_STRING WorkStations;
UNICODE_STRING UserComment;
UNICODE_STRING Parameters;
UNICODE_STRING LmPassword;
UNICODE_STRING NtPassword;
UNICODE_STRING PrivateData;
SR_SECURITY_DESCRIPTOR SecurityDescriptor;
uint UserId;
uint PrimaryGroupId;
uint UserAccountControl;
uint WhichFields;
LOGON_HOURS LogonHours;
ushort BadPasswordCount;
ushort LogonCount;
ushort CountryCode;
ushort CodePage;
ubyte LmPasswordPresent;
ubyte NtPasswordPresent;
ubyte PasswordExpired;
ubyte PrivateDataSensitive;
}
struct CLEAR_BLOCK
{
byte data;
}
struct USER_SESSION_KEY
{
CYPHER_BLOCK data;
}
enum NETLOGON_LOGON_INFO_CLASS
{
NetlogonInteractiveInformation = 1,
NetlogonNetworkInformation = 2,
NetlogonServiceInformation = 3,
NetlogonGenericInformation = 4,
NetlogonInteractiveTransitiveInformation = 5,
NetlogonNetworkTransitiveInformation = 6,
NetlogonServiceTransitiveInformation = 7,
}
struct NETLOGON_LOGON_IDENTITY_INFO
{
UNICODE_STRING LogonDomainName;
uint ParameterControl;
OLD_LARGE_INTEGER LogonId;
UNICODE_STRING UserName;
UNICODE_STRING Workstation;
}
struct NETLOGON_INTERACTIVE_INFO
{
NETLOGON_LOGON_IDENTITY_INFO Identity;
LM_OWF_PASSWORD LmOwfPassword;
LM_OWF_PASSWORD NtOwfPassword;
}
struct NETLOGON_SERVICE_INFO
{
NETLOGON_LOGON_IDENTITY_INFO Identity;
LM_OWF_PASSWORD LmOwfPassword;
LM_OWF_PASSWORD NtOwfPassword;
}
struct NETLOGON_NETWORK_INFO
{
NETLOGON_LOGON_IDENTITY_INFO Identity;
CLEAR_BLOCK LmChallenge;
STRING NtChallengeResponse;
STRING LmChallengeResponse;
}
struct NETLOGON_GENERIC_INFO
{
NETLOGON_LOGON_IDENTITY_INFO Identity;
UNICODE_STRING PackageName;
uint DataLength;
ubyte* LogonData;
}
struct MSV1_0_VALIDATION_INFO
{
LARGE_INTEGER LogoffTime;
LARGE_INTEGER KickoffTime;
UNICODE_STRING LogonServer;
UNICODE_STRING LogonDomainName;
USER_SESSION_KEY SessionKey;
ubyte Authoritative;
uint UserFlags;
uint WhichFields;
uint UserId;
}
enum tag_IdentityUpdateEvent
{
IDENTITY_ASSOCIATED = 1,
IDENTITY_DISASSOCIATED = 2,
IDENTITY_CREATED = 4,
IDENTITY_IMPORTED = 8,
IDENTITY_DELETED = 16,
IDENTITY_PROPCHANGED = 32,
IDENTITY_CONNECTED = 64,
IDENTITY_DISCONNECTED = 128,
}
const GUID IID_IIdentityAdvise = {0x4E982FED, 0xD14B, 0x440C, [0xB8, 0xD6, 0xBB, 0x38, 0x64, 0x53, 0xD3, 0x86]};
@GUID(0x4E982FED, 0xD14B, 0x440C, [0xB8, 0xD6, 0xBB, 0x38, 0x64, 0x53, 0xD3, 0x86]);
interface IIdentityAdvise : IUnknown
{
HRESULT IdentityUpdated(uint dwIdentityUpdateEvents, const(wchar)* lpszUniqueID);
}
const GUID IID_AsyncIIdentityAdvise = {0x3AB4C8DA, 0xD038, 0x4830, [0x8D, 0xD9, 0x32, 0x53, 0xC5, 0x5A, 0x12, 0x7F]};
@GUID(0x3AB4C8DA, 0xD038, 0x4830, [0x8D, 0xD9, 0x32, 0x53, 0xC5, 0x5A, 0x12, 0x7F]);
interface AsyncIIdentityAdvise : IUnknown
{
HRESULT Begin_IdentityUpdated(uint dwIdentityUpdateEvents, const(wchar)* lpszUniqueID);
HRESULT Finish_IdentityUpdated();
}
const GUID IID_IIdentityProvider = {0x0D1B9E0C, 0xE8BA, 0x4F55, [0xA8, 0x1B, 0xBC, 0xE9, 0x34, 0xB9, 0x48, 0xF5]};
@GUID(0x0D1B9E0C, 0xE8BA, 0x4F55, [0xA8, 0x1B, 0xBC, 0xE9, 0x34, 0xB9, 0x48, 0xF5]);
interface IIdentityProvider : IUnknown
{
HRESULT GetIdentityEnum(const(IDENTITY_TYPE) eIdentityType, const(PROPERTYKEY)* pFilterkey, const(PROPVARIANT)* pFilterPropVarValue, IEnumUnknown* ppIdentityEnum);
HRESULT Create(const(wchar)* lpszUserName, IPropertyStore* ppPropertyStore, const(PROPVARIANT)* pKeywordsToAdd);
HRESULT Import(IPropertyStore pPropertyStore);
HRESULT Delete(const(wchar)* lpszUniqueID, const(PROPVARIANT)* pKeywordsToDelete);
HRESULT FindByUniqueID(const(wchar)* lpszUniqueID, IPropertyStore* ppPropertyStore);
HRESULT GetProviderPropertyStore(IPropertyStore* ppPropertyStore);
HRESULT Advise(IIdentityAdvise pIdentityAdvise, uint dwIdentityUpdateEvents, uint* pdwCookie);
HRESULT UnAdvise(const(uint) dwCookie);
}
const GUID IID_AsyncIIdentityProvider = {0xC6FC9901, 0xC433, 0x4646, [0x8F, 0x48, 0x4E, 0x46, 0x87, 0xAA, 0xE2, 0xA0]};
@GUID(0xC6FC9901, 0xC433, 0x4646, [0x8F, 0x48, 0x4E, 0x46, 0x87, 0xAA, 0xE2, 0xA0]);
interface AsyncIIdentityProvider : IUnknown
{
HRESULT Begin_GetIdentityEnum(const(IDENTITY_TYPE) eIdentityType, const(PROPERTYKEY)* pFilterkey, const(PROPVARIANT)* pFilterPropVarValue);
HRESULT Finish_GetIdentityEnum(IEnumUnknown* ppIdentityEnum);
HRESULT Begin_Create(const(wchar)* lpszUserName, const(PROPVARIANT)* pKeywordsToAdd);
HRESULT Finish_Create(IPropertyStore* ppPropertyStore);
HRESULT Begin_Import(IPropertyStore pPropertyStore);
HRESULT Finish_Import();
HRESULT Begin_Delete(const(wchar)* lpszUniqueID, const(PROPVARIANT)* pKeywordsToDelete);
HRESULT Finish_Delete();
HRESULT Begin_FindByUniqueID(const(wchar)* lpszUniqueID);
HRESULT Finish_FindByUniqueID(IPropertyStore* ppPropertyStore);
HRESULT Begin_GetProviderPropertyStore();
HRESULT Finish_GetProviderPropertyStore(IPropertyStore* ppPropertyStore);
HRESULT Begin_Advise(IIdentityAdvise pIdentityAdvise, uint dwIdentityUpdateEvents);
HRESULT Finish_Advise(uint* pdwCookie);
HRESULT Begin_UnAdvise(const(uint) dwCookie);
HRESULT Finish_UnAdvise();
}
const GUID IID_IAssociatedIdentityProvider = {0x2AF066B3, 0x4CBB, 0x4CBA, [0xA7, 0x98, 0x20, 0x4B, 0x6A, 0xF6, 0x8C, 0xC0]};
@GUID(0x2AF066B3, 0x4CBB, 0x4CBA, [0xA7, 0x98, 0x20, 0x4B, 0x6A, 0xF6, 0x8C, 0xC0]);
interface IAssociatedIdentityProvider : IUnknown
{
HRESULT AssociateIdentity(HWND hwndParent, IPropertyStore* ppPropertyStore);
HRESULT DisassociateIdentity(HWND hwndParent, const(wchar)* lpszUniqueID);
HRESULT ChangeCredential(HWND hwndParent, const(wchar)* lpszUniqueID);
}
const GUID IID_AsyncIAssociatedIdentityProvider = {0x2834D6ED, 0x297E, 0x4E72, [0x8A, 0x51, 0x96, 0x1E, 0x86, 0xF0, 0x51, 0x52]};
@GUID(0x2834D6ED, 0x297E, 0x4E72, [0x8A, 0x51, 0x96, 0x1E, 0x86, 0xF0, 0x51, 0x52]);
interface AsyncIAssociatedIdentityProvider : IUnknown
{
HRESULT Begin_AssociateIdentity(HWND hwndParent);
HRESULT Finish_AssociateIdentity(IPropertyStore* ppPropertyStore);
HRESULT Begin_DisassociateIdentity(HWND hwndParent, const(wchar)* lpszUniqueID);
HRESULT Finish_DisassociateIdentity();
HRESULT Begin_ChangeCredential(HWND hwndParent, const(wchar)* lpszUniqueID);
HRESULT Finish_ChangeCredential();
}
enum __MIDL___MIDL_itf_identityprovider_0000_0003_0001
{
IDENTITY_URL_CREATE_ACCOUNT_WIZARD = 0,
IDENTITY_URL_SIGN_IN_WIZARD = 1,
IDENTITY_URL_CHANGE_PASSWORD_WIZARD = 2,
IDENTITY_URL_IFEXISTS_WIZARD = 3,
IDENTITY_URL_ACCOUNT_SETTINGS = 4,
IDENTITY_URL_RESTORE_WIZARD = 5,
IDENTITY_URL_CONNECT_WIZARD = 6,
}
enum __MIDL___MIDL_itf_identityprovider_0000_0003_0002
{
NOT_CONNECTED = 0,
CONNECTING = 1,
CONNECT_COMPLETED = 2,
}
const GUID IID_IConnectedIdentityProvider = {0xB7417B54, 0xE08C, 0x429B, [0x96, 0xC8, 0x67, 0x8D, 0x13, 0x69, 0xEC, 0xB1]};
@GUID(0xB7417B54, 0xE08C, 0x429B, [0x96, 0xC8, 0x67, 0x8D, 0x13, 0x69, 0xEC, 0xB1]);
interface IConnectedIdentityProvider : IUnknown
{
HRESULT ConnectIdentity(char* AuthBuffer, uint AuthBufferSize);
HRESULT DisconnectIdentity();
HRESULT IsConnected(int* Connected);
HRESULT GetUrl(__MIDL___MIDL_itf_identityprovider_0000_0003_0001 Identifier, IBindCtx Context, VARIANT* PostData, ushort** Url);
HRESULT GetAccountState(__MIDL___MIDL_itf_identityprovider_0000_0003_0002* pState);
}
const GUID IID_AsyncIConnectedIdentityProvider = {0x9CE55141, 0xBCE9, 0x4E15, [0x82, 0x4D, 0x43, 0xD7, 0x9F, 0x51, 0x2F, 0x93]};
@GUID(0x9CE55141, 0xBCE9, 0x4E15, [0x82, 0x4D, 0x43, 0xD7, 0x9F, 0x51, 0x2F, 0x93]);
interface AsyncIConnectedIdentityProvider : IUnknown
{
HRESULT Begin_ConnectIdentity(char* AuthBuffer, uint AuthBufferSize);
HRESULT Finish_ConnectIdentity();
HRESULT Begin_DisconnectIdentity();
HRESULT Finish_DisconnectIdentity();
HRESULT Begin_IsConnected();
HRESULT Finish_IsConnected(int* Connected);
HRESULT Begin_GetUrl(__MIDL___MIDL_itf_identityprovider_0000_0003_0001 Identifier, IBindCtx Context);
HRESULT Finish_GetUrl(VARIANT* PostData, ushort** Url);
HRESULT Begin_GetAccountState();
HRESULT Finish_GetAccountState(__MIDL___MIDL_itf_identityprovider_0000_0003_0002* pState);
}
const GUID IID_IIdentityAuthentication = {0x5E7EF254, 0x979F, 0x43B5, [0xB7, 0x4E, 0x06, 0xE4, 0xEB, 0x7D, 0xF0, 0xF9]};
@GUID(0x5E7EF254, 0x979F, 0x43B5, [0xB7, 0x4E, 0x06, 0xE4, 0xEB, 0x7D, 0xF0, 0xF9]);
interface IIdentityAuthentication : IUnknown
{
HRESULT SetIdentityCredential(char* CredBuffer, uint CredBufferLength);
HRESULT ValidateIdentityCredential(char* CredBuffer, uint CredBufferLength, IPropertyStore* ppIdentityProperties);
}
const GUID IID_AsyncIIdentityAuthentication = {0xF9A2F918, 0xFECA, 0x4E9C, [0x96, 0x33, 0x61, 0xCB, 0xF1, 0x3E, 0xD3, 0x4D]};
@GUID(0xF9A2F918, 0xFECA, 0x4E9C, [0x96, 0x33, 0x61, 0xCB, 0xF1, 0x3E, 0xD3, 0x4D]);
interface AsyncIIdentityAuthentication : IUnknown
{
HRESULT Begin_SetIdentityCredential(char* CredBuffer, uint CredBufferLength);
HRESULT Finish_SetIdentityCredential();
HRESULT Begin_ValidateIdentityCredential(char* CredBuffer, uint CredBufferLength, IPropertyStore* ppIdentityProperties);
HRESULT Finish_ValidateIdentityCredential(IPropertyStore* ppIdentityProperties);
}
const GUID CLSID_CoClassIdentityStore = {0x30D49246, 0xD217, 0x465F, [0xB0, 0x0B, 0xAC, 0x9D, 0xDD, 0x65, 0x2E, 0xB7]};
@GUID(0x30D49246, 0xD217, 0x465F, [0xB0, 0x0B, 0xAC, 0x9D, 0xDD, 0x65, 0x2E, 0xB7]);
struct CoClassIdentityStore;
const GUID CLSID_CIdentityProfileHandler = {0xECF5BF46, 0xE3B6, 0x449A, [0xB5, 0x6B, 0x43, 0xF5, 0x8F, 0x86, 0x78, 0x14]};
@GUID(0xECF5BF46, 0xE3B6, 0x449A, [0xB5, 0x6B, 0x43, 0xF5, 0x8F, 0x86, 0x78, 0x14]);
struct CIdentityProfileHandler;
const GUID IID_IIdentityStore = {0xDF586FA5, 0x6F35, 0x44F1, [0xB2, 0x09, 0xB3, 0x8E, 0x16, 0x97, 0x72, 0xEB]};
@GUID(0xDF586FA5, 0x6F35, 0x44F1, [0xB2, 0x09, 0xB3, 0x8E, 0x16, 0x97, 0x72, 0xEB]);
interface IIdentityStore : IUnknown
{
HRESULT GetCount(uint* pdwProviders);
HRESULT GetAt(const(uint) dwProvider, Guid* pProvGuid, IUnknown* ppIdentityProvider);
HRESULT AddToCache(const(wchar)* lpszUniqueID, const(Guid)* ProviderGUID);
HRESULT ConvertToSid(const(wchar)* lpszUniqueID, const(Guid)* ProviderGUID, ushort cbSid, char* pSid, ushort* pcbRequiredSid);
HRESULT EnumerateIdentities(const(IDENTITY_TYPE) eIdentityType, const(PROPERTYKEY)* pFilterkey, const(PROPVARIANT)* pFilterPropVarValue, IEnumUnknown* ppIdentityEnum);
HRESULT Reset();
}
const GUID IID_AsyncIIdentityStore = {0xEEFA1616, 0x48DE, 0x4872, [0xAA, 0x64, 0x6E, 0x62, 0x06, 0x53, 0x5A, 0x51]};
@GUID(0xEEFA1616, 0x48DE, 0x4872, [0xAA, 0x64, 0x6E, 0x62, 0x06, 0x53, 0x5A, 0x51]);
interface AsyncIIdentityStore : IUnknown
{
HRESULT Begin_GetCount();
HRESULT Finish_GetCount(uint* pdwProviders);
HRESULT Begin_GetAt(const(uint) dwProvider, Guid* pProvGuid);
HRESULT Finish_GetAt(Guid* pProvGuid, IUnknown* ppIdentityProvider);
HRESULT Begin_AddToCache(const(wchar)* lpszUniqueID, const(Guid)* ProviderGUID);
HRESULT Finish_AddToCache();
HRESULT Begin_ConvertToSid(const(wchar)* lpszUniqueID, const(Guid)* ProviderGUID, ushort cbSid, ubyte* pSid);
HRESULT Finish_ConvertToSid(ubyte* pSid, ushort* pcbRequiredSid);
HRESULT Begin_EnumerateIdentities(const(IDENTITY_TYPE) eIdentityType, const(PROPERTYKEY)* pFilterkey, const(PROPVARIANT)* pFilterPropVarValue);
HRESULT Finish_EnumerateIdentities(IEnumUnknown* ppIdentityEnum);
HRESULT Begin_Reset();
HRESULT Finish_Reset();
}
const GUID IID_IIdentityStoreEx = {0xF9F9EB98, 0x8F7F, 0x4E38, [0x95, 0x77, 0x69, 0x80, 0x11, 0x4C, 0xE3, 0x2B]};
@GUID(0xF9F9EB98, 0x8F7F, 0x4E38, [0x95, 0x77, 0x69, 0x80, 0x11, 0x4C, 0xE3, 0x2B]);
interface IIdentityStoreEx : IUnknown
{
HRESULT CreateConnectedIdentity(const(wchar)* LocalName, const(wchar)* ConnectedName, const(Guid)* ProviderGUID);
HRESULT DeleteConnectedIdentity(const(wchar)* ConnectedName, const(Guid)* ProviderGUID);
}
const GUID IID_AsyncIIdentityStoreEx = {0xFCA3AF9A, 0x8A07, 0x4EAE, [0x86, 0x32, 0xEC, 0x3D, 0xE6, 0x58, 0xA3, 0x6A]};
@GUID(0xFCA3AF9A, 0x8A07, 0x4EAE, [0x86, 0x32, 0xEC, 0x3D, 0xE6, 0x58, 0xA3, 0x6A]);
interface AsyncIIdentityStoreEx : IUnknown
{
HRESULT Begin_CreateConnectedIdentity(const(wchar)* LocalName, const(wchar)* ConnectedName, const(Guid)* ProviderGUID);
HRESULT Finish_CreateConnectedIdentity();
HRESULT Begin_DeleteConnectedIdentity(const(wchar)* ConnectedName, const(Guid)* ProviderGUID);
HRESULT Finish_DeleteConnectedIdentity();
}
enum AUDIT_PARAM_TYPE
{
APT_None = 1,
APT_String = 2,
APT_Ulong = 3,
APT_Pointer = 4,
APT_Sid = 5,
APT_LogonId = 6,
APT_ObjectTypeList = 7,
APT_Luid = 8,
APT_Guid = 9,
APT_Time = 10,
APT_Int64 = 11,
APT_IpAddress = 12,
APT_LogonIdWithSid = 13,
}
struct AUDIT_OBJECT_TYPE
{
Guid ObjectType;
ushort Flags;
ushort Level;
uint AccessMask;
}
struct AUDIT_OBJECT_TYPES
{
ushort Count;
ushort Flags;
AUDIT_OBJECT_TYPE* pObjectTypes;
}
struct AUDIT_IP_ADDRESS
{
ubyte pIpAddress;
}
struct AUDIT_PARAM
{
AUDIT_PARAM_TYPE Type;
uint Length;
uint Flags;
_Anonymous1_e__Union Anonymous1;
_Anonymous2_e__Union Anonymous2;
}
struct AUDIT_PARAMS
{
uint Length;
uint Flags;
ushort Count;
AUDIT_PARAM* Parameters;
}
struct AUTHZ_AUDIT_EVENT_TYPE_LEGACY
{
ushort CategoryId;
ushort AuditId;
ushort ParameterCount;
}
struct AUTHZ_AUDIT_EVENT_TYPE_UNION
{
AUTHZ_AUDIT_EVENT_TYPE_LEGACY Legacy;
}
struct AUTHZ_AUDIT_EVENT_TYPE_OLD
{
uint Version;
uint dwFlags;
int RefCount;
uint hAudit;
LUID LinkId;
AUTHZ_AUDIT_EVENT_TYPE_UNION u;
}
struct AUTHZ_ACCESS_CHECK_RESULTS_HANDLE__
{
int unused;
}
struct AUTHZ_CLIENT_CONTEXT_HANDLE__
{
int unused;
}
struct AUTHZ_RESOURCE_MANAGER_HANDLE__
{
int unused;
}
struct AUTHZ_AUDIT_EVENT_HANDLE__
{
int unused;
}
struct AUTHZ_AUDIT_EVENT_TYPE_HANDLE__
{
int unused;
}
struct AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE__
{
int unused;
}
struct AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__
{
int unused;
}
struct AUTHZ_ACCESS_REQUEST
{
uint DesiredAccess;
void* PrincipalSelfSid;
OBJECT_TYPE_LIST* ObjectTypeList;
uint ObjectTypeListLength;
void* OptionalArguments;
}
struct AUTHZ_ACCESS_REPLY
{
uint ResultListLength;
uint* GrantedAccessMask;
uint* SaclEvaluationResults;
uint* Error;
}
alias PFN_AUTHZ_DYNAMIC_ACCESS_CHECK = extern(Windows) BOOL function(AUTHZ_CLIENT_CONTEXT_HANDLE__* hAuthzClientContext, ACE_HEADER* pAce, void* pArgs, int* pbAceApplicable);
alias PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS = extern(Windows) BOOL function(AUTHZ_CLIENT_CONTEXT_HANDLE__* hAuthzClientContext, void* Args, SID_AND_ATTRIBUTES** pSidAttrArray, uint* pSidCount, SID_AND_ATTRIBUTES** pRestrictedSidAttrArray, uint* pRestrictedSidCount);
alias PFN_AUTHZ_FREE_DYNAMIC_GROUPS = extern(Windows) void function(SID_AND_ATTRIBUTES* pSidAttrArray);
alias PFN_AUTHZ_GET_CENTRAL_ACCESS_POLICY = extern(Windows) BOOL function(AUTHZ_CLIENT_CONTEXT_HANDLE__* hAuthzClientContext, void* capid, void* pArgs, int* pCentralAccessPolicyApplicable, void** ppCentralAccessPolicy);
alias PFN_AUTHZ_FREE_CENTRAL_ACCESS_POLICY = extern(Windows) void function(void* pCentralAccessPolicy);
struct AUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUE
{
ulong Version;
const(wchar)* pName;
}
struct AUTHZ_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE
{
void* pValue;
uint ValueLength;
}
enum AUTHZ_SECURITY_ATTRIBUTE_OPERATION
{
AUTHZ_SECURITY_ATTRIBUTE_OPERATION_NONE = 0,
AUTHZ_SECURITY_ATTRIBUTE_OPERATION_REPLACE_ALL = 1,
AUTHZ_SECURITY_ATTRIBUTE_OPERATION_ADD = 2,
AUTHZ_SECURITY_ATTRIBUTE_OPERATION_DELETE = 3,
AUTHZ_SECURITY_ATTRIBUTE_OPERATION_REPLACE = 4,
}
enum AUTHZ_SID_OPERATION
{
AUTHZ_SID_OPERATION_NONE = 0,
AUTHZ_SID_OPERATION_REPLACE_ALL = 1,
AUTHZ_SID_OPERATION_ADD = 2,
AUTHZ_SID_OPERATION_DELETE = 3,
AUTHZ_SID_OPERATION_REPLACE = 4,
}
struct AUTHZ_SECURITY_ATTRIBUTE_V1
{
const(wchar)* pName;
ushort ValueType;
ushort Reserved;
uint Flags;
uint ValueCount;
_Values_e__Union Values;
}
struct AUTHZ_SECURITY_ATTRIBUTES_INFORMATION
{
ushort Version;
ushort Reserved;
uint AttributeCount;
_Attribute_e__Union Attribute;
}
struct AUTHZ_RPC_INIT_INFO_CLIENT
{
ushort version;
const(wchar)* ObjectUuid;
const(wchar)* ProtSeq;
const(wchar)* NetworkAddr;
const(wchar)* Endpoint;
const(wchar)* Options;
const(wchar)* ServerSpn;
}
struct AUTHZ_INIT_INFO
{
ushort version;
const(wchar)* szResourceManagerName;
PFN_AUTHZ_DYNAMIC_ACCESS_CHECK pfnDynamicAccessCheck;
PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS pfnComputeDynamicGroups;
PFN_AUTHZ_FREE_DYNAMIC_GROUPS pfnFreeDynamicGroups;
PFN_AUTHZ_GET_CENTRAL_ACCESS_POLICY pfnGetCentralAccessPolicy;
PFN_AUTHZ_FREE_CENTRAL_ACCESS_POLICY pfnFreeCentralAccessPolicy;
}
enum AUTHZ_CONTEXT_INFORMATION_CLASS
{
AuthzContextInfoUserSid = 1,
AuthzContextInfoGroupsSids = 2,
AuthzContextInfoRestrictedSids = 3,
AuthzContextInfoPrivileges = 4,
AuthzContextInfoExpirationTime = 5,
AuthzContextInfoServerContext = 6,
AuthzContextInfoIdentifier = 7,
AuthzContextInfoSource = 8,
AuthzContextInfoAll = 9,
AuthzContextInfoAuthenticationId = 10,
AuthzContextInfoSecurityAttributes = 11,
AuthzContextInfoDeviceSids = 12,
AuthzContextInfoUserClaims = 13,
AuthzContextInfoDeviceClaims = 14,
AuthzContextInfoAppContainerSid = 15,
AuthzContextInfoCapabilitySids = 16,
}
enum AUTHZ_AUDIT_EVENT_INFORMATION_CLASS
{
AuthzAuditEventInfoFlags = 1,
AuthzAuditEventInfoOperationType = 2,
AuthzAuditEventInfoObjectType = 3,
AuthzAuditEventInfoObjectName = 4,
AuthzAuditEventInfoAdditionalInfo = 5,
}
struct AUTHZ_REGISTRATION_OBJECT_TYPE_NAME_OFFSET
{
const(wchar)* szObjectTypeName;
uint dwOffset;
}
struct AUTHZ_SOURCE_SCHEMA_REGISTRATION
{
uint dwFlags;
const(wchar)* szEventSourceName;
const(wchar)* szEventMessageFile;
const(wchar)* szEventSourceXmlSchemaFile;
const(wchar)* szEventAccessStringsFile;
const(wchar)* szExecutableImagePath;
_Anonymous_e__Union Anonymous;
uint dwObjectTypeNameCount;
AUTHZ_REGISTRATION_OBJECT_TYPE_NAME_OFFSET ObjectTypeNames;
}
const GUID CLSID_AzAuthorizationStore = {0xB2BCFF59, 0xA757, 0x4B0B, [0xA1, 0xBC, 0xEA, 0x69, 0x98, 0x1D, 0xA6, 0x9E]};
@GUID(0xB2BCFF59, 0xA757, 0x4B0B, [0xA1, 0xBC, 0xEA, 0x69, 0x98, 0x1D, 0xA6, 0x9E]);
struct AzAuthorizationStore;
const GUID CLSID_AzBizRuleContext = {0x5C2DC96F, 0x8D51, 0x434B, [0xB3, 0x3C, 0x37, 0x9B, 0xCC, 0xAE, 0x77, 0xC3]};
@GUID(0x5C2DC96F, 0x8D51, 0x434B, [0xB3, 0x3C, 0x37, 0x9B, 0xCC, 0xAE, 0x77, 0xC3]);
struct AzBizRuleContext;
const GUID CLSID_AzPrincipalLocator = {0x483AFB5D, 0x70DF, 0x4E16, [0xAB, 0xDC, 0xA1, 0xDE, 0x4D, 0x01, 0x5A, 0x3E]};
@GUID(0x483AFB5D, 0x70DF, 0x4E16, [0xAB, 0xDC, 0xA1, 0xDE, 0x4D, 0x01, 0x5A, 0x3E]);
struct AzPrincipalLocator;
const GUID IID_IAzAuthorizationStore = {0xEDBD9CA9, 0x9B82, 0x4F6A, [0x9E, 0x8B, 0x98, 0x30, 0x1E, 0x45, 0x0F, 0x14]};
@GUID(0xEDBD9CA9, 0x9B82, 0x4F6A, [0x9E, 0x8B, 0x98, 0x30, 0x1E, 0x45, 0x0F, 0x14]);
interface IAzAuthorizationStore : IDispatch
{
HRESULT get_Description(BSTR* pbstrDescription);
HRESULT put_Description(BSTR bstrDescription);
HRESULT get_ApplicationData(BSTR* pbstrApplicationData);
HRESULT put_ApplicationData(BSTR bstrApplicationData);
HRESULT get_DomainTimeout(int* plProp);
HRESULT put_DomainTimeout(int lProp);
HRESULT get_ScriptEngineTimeout(int* plProp);
HRESULT put_ScriptEngineTimeout(int lProp);
HRESULT get_MaxScriptEngines(int* plProp);
HRESULT put_MaxScriptEngines(int lProp);
HRESULT get_GenerateAudits(int* pbProp);
HRESULT put_GenerateAudits(BOOL bProp);
HRESULT get_Writable(int* pfProp);
HRESULT GetProperty(int lPropId, VARIANT varReserved, VARIANT* pvarProp);
HRESULT SetProperty(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT AddPropertyItem(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT DeletePropertyItem(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT get_PolicyAdministrators(VARIANT* pvarAdmins);
HRESULT get_PolicyReaders(VARIANT* pvarReaders);
HRESULT AddPolicyAdministrator(BSTR bstrAdmin, VARIANT varReserved);
HRESULT DeletePolicyAdministrator(BSTR bstrAdmin, VARIANT varReserved);
HRESULT AddPolicyReader(BSTR bstrReader, VARIANT varReserved);
HRESULT DeletePolicyReader(BSTR bstrReader, VARIANT varReserved);
HRESULT Initialize(int lFlags, BSTR bstrPolicyURL, VARIANT varReserved);
HRESULT UpdateCache(VARIANT varReserved);
HRESULT Delete(VARIANT varReserved);
HRESULT get_Applications(IAzApplications* ppAppCollection);
HRESULT OpenApplication(BSTR bstrApplicationName, VARIANT varReserved, IAzApplication* ppApplication);
HRESULT CreateApplication(BSTR bstrApplicationName, VARIANT varReserved, IAzApplication* ppApplication);
HRESULT DeleteApplication(BSTR bstrApplicationName, VARIANT varReserved);
HRESULT get_ApplicationGroups(IAzApplicationGroups* ppGroupCollection);
HRESULT CreateApplicationGroup(BSTR bstrGroupName, VARIANT varReserved, IAzApplicationGroup* ppGroup);
HRESULT OpenApplicationGroup(BSTR bstrGroupName, VARIANT varReserved, IAzApplicationGroup* ppGroup);
HRESULT DeleteApplicationGroup(BSTR bstrGroupName, VARIANT varReserved);
HRESULT Submit(int lFlags, VARIANT varReserved);
HRESULT get_DelegatedPolicyUsers(VARIANT* pvarDelegatedPolicyUsers);
HRESULT AddDelegatedPolicyUser(BSTR bstrDelegatedPolicyUser, VARIANT varReserved);
HRESULT DeleteDelegatedPolicyUser(BSTR bstrDelegatedPolicyUser, VARIANT varReserved);
HRESULT get_TargetMachine(BSTR* pbstrTargetMachine);
HRESULT get_ApplyStoreSacl(int* pbApplyStoreSacl);
HRESULT put_ApplyStoreSacl(BOOL bApplyStoreSacl);
HRESULT get_PolicyAdministratorsName(VARIANT* pvarAdmins);
HRESULT get_PolicyReadersName(VARIANT* pvarReaders);
HRESULT AddPolicyAdministratorName(BSTR bstrAdmin, VARIANT varReserved);
HRESULT DeletePolicyAdministratorName(BSTR bstrAdmin, VARIANT varReserved);
HRESULT AddPolicyReaderName(BSTR bstrReader, VARIANT varReserved);
HRESULT DeletePolicyReaderName(BSTR bstrReader, VARIANT varReserved);
HRESULT get_DelegatedPolicyUsersName(VARIANT* pvarDelegatedPolicyUsers);
HRESULT AddDelegatedPolicyUserName(BSTR bstrDelegatedPolicyUser, VARIANT varReserved);
HRESULT DeleteDelegatedPolicyUserName(BSTR bstrDelegatedPolicyUser, VARIANT varReserved);
HRESULT CloseApplication(BSTR bstrApplicationName, int lFlag);
}
const GUID IID_IAzAuthorizationStore2 = {0xB11E5584, 0xD577, 0x4273, [0xB6, 0xC5, 0x09, 0x73, 0xE0, 0xF8, 0xE8, 0x0D]};
@GUID(0xB11E5584, 0xD577, 0x4273, [0xB6, 0xC5, 0x09, 0x73, 0xE0, 0xF8, 0xE8, 0x0D]);
interface IAzAuthorizationStore2 : IAzAuthorizationStore
{
HRESULT OpenApplication2(BSTR bstrApplicationName, VARIANT varReserved, IAzApplication2* ppApplication);
HRESULT CreateApplication2(BSTR bstrApplicationName, VARIANT varReserved, IAzApplication2* ppApplication);
}
const GUID IID_IAzAuthorizationStore3 = {0xABC08425, 0x0C86, 0x4FA0, [0x9B, 0xE3, 0x71, 0x89, 0x95, 0x6C, 0x92, 0x6E]};
@GUID(0xABC08425, 0x0C86, 0x4FA0, [0x9B, 0xE3, 0x71, 0x89, 0x95, 0x6C, 0x92, 0x6E]);
interface IAzAuthorizationStore3 : IAzAuthorizationStore2
{
HRESULT IsUpdateNeeded(short* pbIsUpdateNeeded);
HRESULT BizruleGroupSupported(short* pbSupported);
HRESULT UpgradeStoresFunctionalLevel(int lFunctionalLevel);
HRESULT IsFunctionalLevelUpgradeSupported(int lFunctionalLevel, short* pbSupported);
HRESULT GetSchemaVersion(int* plMajorVersion, int* plMinorVersion);
}
const GUID IID_IAzApplication = {0x987BC7C7, 0xB813, 0x4D27, [0xBE, 0xDE, 0x6B, 0xA5, 0xAE, 0x86, 0x7E, 0x95]};
@GUID(0x987BC7C7, 0xB813, 0x4D27, [0xBE, 0xDE, 0x6B, 0xA5, 0xAE, 0x86, 0x7E, 0x95]);
interface IAzApplication : IDispatch
{
HRESULT get_Name(BSTR* pbstrName);
HRESULT put_Name(BSTR bstrName);
HRESULT get_Description(BSTR* pbstrDescription);
HRESULT put_Description(BSTR bstrDescription);
HRESULT get_ApplicationData(BSTR* pbstrApplicationData);
HRESULT put_ApplicationData(BSTR bstrApplicationData);
HRESULT get_AuthzInterfaceClsid(BSTR* pbstrProp);
HRESULT put_AuthzInterfaceClsid(BSTR bstrProp);
HRESULT get_Version(BSTR* pbstrProp);
HRESULT put_Version(BSTR bstrProp);
HRESULT get_GenerateAudits(int* pbProp);
HRESULT put_GenerateAudits(BOOL bProp);
HRESULT get_ApplyStoreSacl(int* pbProp);
HRESULT put_ApplyStoreSacl(BOOL bProp);
HRESULT get_Writable(int* pfProp);
HRESULT GetProperty(int lPropId, VARIANT varReserved, VARIANT* pvarProp);
HRESULT SetProperty(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT get_PolicyAdministrators(VARIANT* pvarAdmins);
HRESULT get_PolicyReaders(VARIANT* pvarReaders);
HRESULT AddPolicyAdministrator(BSTR bstrAdmin, VARIANT varReserved);
HRESULT DeletePolicyAdministrator(BSTR bstrAdmin, VARIANT varReserved);
HRESULT AddPolicyReader(BSTR bstrReader, VARIANT varReserved);
HRESULT DeletePolicyReader(BSTR bstrReader, VARIANT varReserved);
HRESULT get_Scopes(IAzScopes* ppScopeCollection);
HRESULT OpenScope(BSTR bstrScopeName, VARIANT varReserved, IAzScope* ppScope);
HRESULT CreateScope(BSTR bstrScopeName, VARIANT varReserved, IAzScope* ppScope);
HRESULT DeleteScope(BSTR bstrScopeName, VARIANT varReserved);
HRESULT get_Operations(IAzOperations* ppOperationCollection);
HRESULT OpenOperation(BSTR bstrOperationName, VARIANT varReserved, IAzOperation* ppOperation);
HRESULT CreateOperation(BSTR bstrOperationName, VARIANT varReserved, IAzOperation* ppOperation);
HRESULT DeleteOperation(BSTR bstrOperationName, VARIANT varReserved);
HRESULT get_Tasks(IAzTasks* ppTaskCollection);
HRESULT OpenTask(BSTR bstrTaskName, VARIANT varReserved, IAzTask* ppTask);
HRESULT CreateTask(BSTR bstrTaskName, VARIANT varReserved, IAzTask* ppTask);
HRESULT DeleteTask(BSTR bstrTaskName, VARIANT varReserved);
HRESULT get_ApplicationGroups(IAzApplicationGroups* ppGroupCollection);
HRESULT OpenApplicationGroup(BSTR bstrGroupName, VARIANT varReserved, IAzApplicationGroup* ppGroup);
HRESULT CreateApplicationGroup(BSTR bstrGroupName, VARIANT varReserved, IAzApplicationGroup* ppGroup);
HRESULT DeleteApplicationGroup(BSTR bstrGroupName, VARIANT varReserved);
HRESULT get_Roles(IAzRoles* ppRoleCollection);
HRESULT OpenRole(BSTR bstrRoleName, VARIANT varReserved, IAzRole* ppRole);
HRESULT CreateRole(BSTR bstrRoleName, VARIANT varReserved, IAzRole* ppRole);
HRESULT DeleteRole(BSTR bstrRoleName, VARIANT varReserved);
HRESULT InitializeClientContextFromToken(ulong ullTokenHandle, VARIANT varReserved, IAzClientContext* ppClientContext);
HRESULT AddPropertyItem(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT DeletePropertyItem(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT Submit(int lFlags, VARIANT varReserved);
HRESULT InitializeClientContextFromName(BSTR ClientName, BSTR DomainName, VARIANT varReserved, IAzClientContext* ppClientContext);
HRESULT get_DelegatedPolicyUsers(VARIANT* pvarDelegatedPolicyUsers);
HRESULT AddDelegatedPolicyUser(BSTR bstrDelegatedPolicyUser, VARIANT varReserved);
HRESULT DeleteDelegatedPolicyUser(BSTR bstrDelegatedPolicyUser, VARIANT varReserved);
HRESULT InitializeClientContextFromStringSid(BSTR SidString, int lOptions, VARIANT varReserved, IAzClientContext* ppClientContext);
HRESULT get_PolicyAdministratorsName(VARIANT* pvarAdmins);
HRESULT get_PolicyReadersName(VARIANT* pvarReaders);
HRESULT AddPolicyAdministratorName(BSTR bstrAdmin, VARIANT varReserved);
HRESULT DeletePolicyAdministratorName(BSTR bstrAdmin, VARIANT varReserved);
HRESULT AddPolicyReaderName(BSTR bstrReader, VARIANT varReserved);
HRESULT DeletePolicyReaderName(BSTR bstrReader, VARIANT varReserved);
HRESULT get_DelegatedPolicyUsersName(VARIANT* pvarDelegatedPolicyUsers);
HRESULT AddDelegatedPolicyUserName(BSTR bstrDelegatedPolicyUser, VARIANT varReserved);
HRESULT DeleteDelegatedPolicyUserName(BSTR bstrDelegatedPolicyUser, VARIANT varReserved);
}
const GUID IID_IAzApplication2 = {0x086A68AF, 0xA249, 0x437C, [0xB1, 0x8D, 0xD4, 0xD8, 0x6D, 0x6A, 0x96, 0x60]};
@GUID(0x086A68AF, 0xA249, 0x437C, [0xB1, 0x8D, 0xD4, 0xD8, 0x6D, 0x6A, 0x96, 0x60]);
interface IAzApplication2 : IAzApplication
{
HRESULT InitializeClientContextFromToken2(uint ulTokenHandleLowPart, uint ulTokenHandleHighPart, VARIANT varReserved, IAzClientContext2* ppClientContext);
HRESULT InitializeClientContext2(BSTR IdentifyingString, VARIANT varReserved, IAzClientContext2* ppClientContext);
}
const GUID IID_IAzApplications = {0x929B11A9, 0x95C5, 0x4A84, [0xA2, 0x9A, 0x20, 0xAD, 0x42, 0xC2, 0xF1, 0x6C]};
@GUID(0x929B11A9, 0x95C5, 0x4A84, [0xA2, 0x9A, 0x20, 0xAD, 0x42, 0xC2, 0xF1, 0x6C]);
interface IAzApplications : IDispatch
{
HRESULT get_Item(int Index, VARIANT* pvarObtPtr);
HRESULT get_Count(int* plCount);
HRESULT get__NewEnum(IUnknown* ppEnumPtr);
}
const GUID IID_IAzOperation = {0x5E56B24F, 0xEA01, 0x4D61, [0xBE, 0x44, 0xC4, 0x9B, 0x5E, 0x4E, 0xAF, 0x74]};
@GUID(0x5E56B24F, 0xEA01, 0x4D61, [0xBE, 0x44, 0xC4, 0x9B, 0x5E, 0x4E, 0xAF, 0x74]);
interface IAzOperation : IDispatch
{
HRESULT get_Name(BSTR* pbstrName);
HRESULT put_Name(BSTR bstrName);
HRESULT get_Description(BSTR* pbstrDescription);
HRESULT put_Description(BSTR bstrDescription);
HRESULT get_ApplicationData(BSTR* pbstrApplicationData);
HRESULT put_ApplicationData(BSTR bstrApplicationData);
HRESULT get_OperationID(int* plProp);
HRESULT put_OperationID(int lProp);
HRESULT get_Writable(int* pfProp);
HRESULT GetProperty(int lPropId, VARIANT varReserved, VARIANT* pvarProp);
HRESULT SetProperty(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT Submit(int lFlags, VARIANT varReserved);
}
const GUID IID_IAzOperations = {0x90EF9C07, 0x9706, 0x49D9, [0xAF, 0x80, 0x04, 0x38, 0xA5, 0xF3, 0xEC, 0x35]};
@GUID(0x90EF9C07, 0x9706, 0x49D9, [0xAF, 0x80, 0x04, 0x38, 0xA5, 0xF3, 0xEC, 0x35]);
interface IAzOperations : IDispatch
{
HRESULT get_Item(int Index, VARIANT* pvarObtPtr);
HRESULT get_Count(int* plCount);
HRESULT get__NewEnum(IUnknown* ppEnumPtr);
}
const GUID IID_IAzTask = {0xCB94E592, 0x2E0E, 0x4A6C, [0xA3, 0x36, 0xB8, 0x9A, 0x6D, 0xC1, 0xE3, 0x88]};
@GUID(0xCB94E592, 0x2E0E, 0x4A6C, [0xA3, 0x36, 0xB8, 0x9A, 0x6D, 0xC1, 0xE3, 0x88]);
interface IAzTask : IDispatch
{
HRESULT get_Name(BSTR* pbstrName);
HRESULT put_Name(BSTR bstrName);
HRESULT get_Description(BSTR* pbstrDescription);
HRESULT put_Description(BSTR bstrDescription);
HRESULT get_ApplicationData(BSTR* pbstrApplicationData);
HRESULT put_ApplicationData(BSTR bstrApplicationData);
HRESULT get_BizRule(BSTR* pbstrProp);
HRESULT put_BizRule(BSTR bstrProp);
HRESULT get_BizRuleLanguage(BSTR* pbstrProp);
HRESULT put_BizRuleLanguage(BSTR bstrProp);
HRESULT get_BizRuleImportedPath(BSTR* pbstrProp);
HRESULT put_BizRuleImportedPath(BSTR bstrProp);
HRESULT get_IsRoleDefinition(int* pfProp);
HRESULT put_IsRoleDefinition(BOOL fProp);
HRESULT get_Operations(VARIANT* pvarProp);
HRESULT get_Tasks(VARIANT* pvarProp);
HRESULT AddOperation(BSTR bstrOp, VARIANT varReserved);
HRESULT DeleteOperation(BSTR bstrOp, VARIANT varReserved);
HRESULT AddTask(BSTR bstrTask, VARIANT varReserved);
HRESULT DeleteTask(BSTR bstrTask, VARIANT varReserved);
HRESULT get_Writable(int* pfProp);
HRESULT GetProperty(int lPropId, VARIANT varReserved, VARIANT* pvarProp);
HRESULT SetProperty(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT AddPropertyItem(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT DeletePropertyItem(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT Submit(int lFlags, VARIANT varReserved);
}
const GUID IID_IAzTasks = {0xB338CCAB, 0x4C85, 0x4388, [0x8C, 0x0A, 0xC5, 0x85, 0x92, 0xBA, 0xD3, 0x98]};
@GUID(0xB338CCAB, 0x4C85, 0x4388, [0x8C, 0x0A, 0xC5, 0x85, 0x92, 0xBA, 0xD3, 0x98]);
interface IAzTasks : IDispatch
{
HRESULT get_Item(int Index, VARIANT* pvarObtPtr);
HRESULT get_Count(int* plCount);
HRESULT get__NewEnum(IUnknown* ppEnumPtr);
}
const GUID IID_IAzScope = {0x00E52487, 0xE08D, 0x4514, [0xB6, 0x2E, 0x87, 0x7D, 0x56, 0x45, 0xF5, 0xAB]};
@GUID(0x00E52487, 0xE08D, 0x4514, [0xB6, 0x2E, 0x87, 0x7D, 0x56, 0x45, 0xF5, 0xAB]);
interface IAzScope : IDispatch
{
HRESULT get_Name(BSTR* pbstrName);
HRESULT put_Name(BSTR bstrName);
HRESULT get_Description(BSTR* pbstrDescription);
HRESULT put_Description(BSTR bstrDescription);
HRESULT get_ApplicationData(BSTR* pbstrApplicationData);
HRESULT put_ApplicationData(BSTR bstrApplicationData);
HRESULT get_Writable(int* pfProp);
HRESULT GetProperty(int lPropId, VARIANT varReserved, VARIANT* pvarProp);
HRESULT SetProperty(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT AddPropertyItem(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT DeletePropertyItem(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT get_PolicyAdministrators(VARIANT* pvarAdmins);
HRESULT get_PolicyReaders(VARIANT* pvarReaders);
HRESULT AddPolicyAdministrator(BSTR bstrAdmin, VARIANT varReserved);
HRESULT DeletePolicyAdministrator(BSTR bstrAdmin, VARIANT varReserved);
HRESULT AddPolicyReader(BSTR bstrReader, VARIANT varReserved);
HRESULT DeletePolicyReader(BSTR bstrReader, VARIANT varReserved);
HRESULT get_ApplicationGroups(IAzApplicationGroups* ppGroupCollection);
HRESULT OpenApplicationGroup(BSTR bstrGroupName, VARIANT varReserved, IAzApplicationGroup* ppGroup);
HRESULT CreateApplicationGroup(BSTR bstrGroupName, VARIANT varReserved, IAzApplicationGroup* ppGroup);
HRESULT DeleteApplicationGroup(BSTR bstrGroupName, VARIANT varReserved);
HRESULT get_Roles(IAzRoles* ppRoleCollection);
HRESULT OpenRole(BSTR bstrRoleName, VARIANT varReserved, IAzRole* ppRole);
HRESULT CreateRole(BSTR bstrRoleName, VARIANT varReserved, IAzRole* ppRole);
HRESULT DeleteRole(BSTR bstrRoleName, VARIANT varReserved);
HRESULT get_Tasks(IAzTasks* ppTaskCollection);
HRESULT OpenTask(BSTR bstrTaskName, VARIANT varReserved, IAzTask* ppTask);
HRESULT CreateTask(BSTR bstrTaskName, VARIANT varReserved, IAzTask* ppTask);
HRESULT DeleteTask(BSTR bstrTaskName, VARIANT varReserved);
HRESULT Submit(int lFlags, VARIANT varReserved);
HRESULT get_CanBeDelegated(int* pfProp);
HRESULT get_BizrulesWritable(int* pfProp);
HRESULT get_PolicyAdministratorsName(VARIANT* pvarAdmins);
HRESULT get_PolicyReadersName(VARIANT* pvarReaders);
HRESULT AddPolicyAdministratorName(BSTR bstrAdmin, VARIANT varReserved);
HRESULT DeletePolicyAdministratorName(BSTR bstrAdmin, VARIANT varReserved);
HRESULT AddPolicyReaderName(BSTR bstrReader, VARIANT varReserved);
HRESULT DeletePolicyReaderName(BSTR bstrReader, VARIANT varReserved);
}
const GUID IID_IAzScopes = {0x78E14853, 0x9F5E, 0x406D, [0x9B, 0x91, 0x6B, 0xDB, 0xA6, 0x97, 0x35, 0x10]};
@GUID(0x78E14853, 0x9F5E, 0x406D, [0x9B, 0x91, 0x6B, 0xDB, 0xA6, 0x97, 0x35, 0x10]);
interface IAzScopes : IDispatch
{
HRESULT get_Item(int Index, VARIANT* pvarObtPtr);
HRESULT get_Count(int* plCount);
HRESULT get__NewEnum(IUnknown* ppEnumPtr);
}
const GUID IID_IAzApplicationGroup = {0xF1B744CD, 0x58A6, 0x4E06, [0x9F, 0xBF, 0x36, 0xF6, 0xD7, 0x79, 0xE2, 0x1E]};
@GUID(0xF1B744CD, 0x58A6, 0x4E06, [0x9F, 0xBF, 0x36, 0xF6, 0xD7, 0x79, 0xE2, 0x1E]);
interface IAzApplicationGroup : IDispatch
{
HRESULT get_Name(BSTR* pbstrName);
HRESULT put_Name(BSTR bstrName);
HRESULT get_Type(int* plProp);
HRESULT put_Type(int lProp);
HRESULT get_LdapQuery(BSTR* pbstrProp);
HRESULT put_LdapQuery(BSTR bstrProp);
HRESULT get_AppMembers(VARIANT* pvarProp);
HRESULT get_AppNonMembers(VARIANT* pvarProp);
HRESULT get_Members(VARIANT* pvarProp);
HRESULT get_NonMembers(VARIANT* pvarProp);
HRESULT get_Description(BSTR* pbstrDescription);
HRESULT put_Description(BSTR bstrDescription);
HRESULT AddAppMember(BSTR bstrProp, VARIANT varReserved);
HRESULT DeleteAppMember(BSTR bstrProp, VARIANT varReserved);
HRESULT AddAppNonMember(BSTR bstrProp, VARIANT varReserved);
HRESULT DeleteAppNonMember(BSTR bstrProp, VARIANT varReserved);
HRESULT AddMember(BSTR bstrProp, VARIANT varReserved);
HRESULT DeleteMember(BSTR bstrProp, VARIANT varReserved);
HRESULT AddNonMember(BSTR bstrProp, VARIANT varReserved);
HRESULT DeleteNonMember(BSTR bstrProp, VARIANT varReserved);
HRESULT get_Writable(int* pfProp);
HRESULT GetProperty(int lPropId, VARIANT varReserved, VARIANT* pvarProp);
HRESULT SetProperty(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT AddPropertyItem(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT DeletePropertyItem(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT Submit(int lFlags, VARIANT varReserved);
HRESULT AddMemberName(BSTR bstrProp, VARIANT varReserved);
HRESULT DeleteMemberName(BSTR bstrProp, VARIANT varReserved);
HRESULT AddNonMemberName(BSTR bstrProp, VARIANT varReserved);
HRESULT DeleteNonMemberName(BSTR bstrProp, VARIANT varReserved);
HRESULT get_MembersName(VARIANT* pvarProp);
HRESULT get_NonMembersName(VARIANT* pvarProp);
}
const GUID IID_IAzApplicationGroups = {0x4CE66AD5, 0x9F3C, 0x469D, [0xA9, 0x11, 0xB9, 0x98, 0x87, 0xA7, 0xE6, 0x85]};
@GUID(0x4CE66AD5, 0x9F3C, 0x469D, [0xA9, 0x11, 0xB9, 0x98, 0x87, 0xA7, 0xE6, 0x85]);
interface IAzApplicationGroups : IDispatch
{
HRESULT get_Item(int Index, VARIANT* pvarObtPtr);
HRESULT get_Count(int* plCount);
HRESULT get__NewEnum(IUnknown* ppEnumPtr);
}
const GUID IID_IAzRole = {0x859E0D8D, 0x62D7, 0x41D8, [0xA0, 0x34, 0xC0, 0xCD, 0x5D, 0x43, 0xFD, 0xFA]};
@GUID(0x859E0D8D, 0x62D7, 0x41D8, [0xA0, 0x34, 0xC0, 0xCD, 0x5D, 0x43, 0xFD, 0xFA]);
interface IAzRole : IDispatch
{
HRESULT get_Name(BSTR* pbstrName);
HRESULT put_Name(BSTR bstrName);
HRESULT get_Description(BSTR* pbstrDescription);
HRESULT put_Description(BSTR bstrDescription);
HRESULT get_ApplicationData(BSTR* pbstrApplicationData);
HRESULT put_ApplicationData(BSTR bstrApplicationData);
HRESULT AddAppMember(BSTR bstrProp, VARIANT varReserved);
HRESULT DeleteAppMember(BSTR bstrProp, VARIANT varReserved);
HRESULT AddTask(BSTR bstrProp, VARIANT varReserved);
HRESULT DeleteTask(BSTR bstrProp, VARIANT varReserved);
HRESULT AddOperation(BSTR bstrProp, VARIANT varReserved);
HRESULT DeleteOperation(BSTR bstrProp, VARIANT varReserved);
HRESULT AddMember(BSTR bstrProp, VARIANT varReserved);
HRESULT DeleteMember(BSTR bstrProp, VARIANT varReserved);
HRESULT get_Writable(int* pfProp);
HRESULT GetProperty(int lPropId, VARIANT varReserved, VARIANT* pvarProp);
HRESULT SetProperty(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT get_AppMembers(VARIANT* pvarProp);
HRESULT get_Members(VARIANT* pvarProp);
HRESULT get_Operations(VARIANT* pvarProp);
HRESULT get_Tasks(VARIANT* pvarProp);
HRESULT AddPropertyItem(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT DeletePropertyItem(int lPropId, VARIANT varProp, VARIANT varReserved);
HRESULT Submit(int lFlags, VARIANT varReserved);
HRESULT AddMemberName(BSTR bstrProp, VARIANT varReserved);
HRESULT DeleteMemberName(BSTR bstrProp, VARIANT varReserved);
HRESULT get_MembersName(VARIANT* pvarProp);
}
const GUID IID_IAzRoles = {0x95E0F119, 0x13B4, 0x4DAE, [0xB6, 0x5F, 0x2F, 0x7D, 0x60, 0xD8, 0x22, 0xE4]};
@GUID(0x95E0F119, 0x13B4, 0x4DAE, [0xB6, 0x5F, 0x2F, 0x7D, 0x60, 0xD8, 0x22, 0xE4]);
interface IAzRoles : IDispatch
{
HRESULT get_Item(int Index, VARIANT* pvarObtPtr);
HRESULT get_Count(int* plCount);
HRESULT get__NewEnum(IUnknown* ppEnumPtr);
}
const GUID IID_IAzClientContext = {0xEFF1F00B, 0x488A, 0x466D, [0xAF, 0xD9, 0xA4, 0x01, 0xC5, 0xF9, 0xEE, 0xF5]};
@GUID(0xEFF1F00B, 0x488A, 0x466D, [0xAF, 0xD9, 0xA4, 0x01, 0xC5, 0xF9, 0xEE, 0xF5]);
interface IAzClientContext : IDispatch
{
HRESULT AccessCheck(BSTR bstrObjectName, VARIANT varScopeNames, VARIANT varOperations, VARIANT varParameterNames, VARIANT varParameterValues, VARIANT varInterfaceNames, VARIANT varInterfaceFlags, VARIANT varInterfaces, VARIANT* pvarResults);
HRESULT GetBusinessRuleString(BSTR* pbstrBusinessRuleString);
HRESULT get_UserDn(BSTR* pbstrProp);
HRESULT get_UserSamCompat(BSTR* pbstrProp);
HRESULT get_UserDisplay(BSTR* pbstrProp);
HRESULT get_UserGuid(BSTR* pbstrProp);
HRESULT get_UserCanonical(BSTR* pbstrProp);
HRESULT get_UserUpn(BSTR* pbstrProp);
HRESULT get_UserDnsSamCompat(BSTR* pbstrProp);
HRESULT GetProperty(int lPropId, VARIANT varReserved, VARIANT* pvarProp);
HRESULT GetRoles(BSTR bstrScopeName, VARIANT* pvarRoleNames);
HRESULT get_RoleForAccessCheck(BSTR* pbstrProp);
HRESULT put_RoleForAccessCheck(BSTR bstrProp);
}
const GUID IID_IAzClientContext2 = {0x2B0C92B8, 0x208A, 0x488A, [0x8F, 0x81, 0xE4, 0xED, 0xB2, 0x21, 0x11, 0xCD]};
@GUID(0x2B0C92B8, 0x208A, 0x488A, [0x8F, 0x81, 0xE4, 0xED, 0xB2, 0x21, 0x11, 0xCD]);
interface IAzClientContext2 : IAzClientContext
{
HRESULT GetAssignedScopesPage(int lOptions, int PageSize, VARIANT* pvarCursor, VARIANT* pvarScopeNames);
HRESULT AddRoles(VARIANT varRoles, BSTR bstrScopeName);
HRESULT AddApplicationGroups(VARIANT varApplicationGroups);
HRESULT AddStringSids(VARIANT varStringSids);
HRESULT put_LDAPQueryDN(BSTR bstrLDAPQueryDN);
HRESULT get_LDAPQueryDN(BSTR* pbstrLDAPQueryDN);
}
const GUID IID_IAzBizRuleContext = {0xE192F17D, 0xD59F, 0x455E, [0xA1, 0x52, 0x94, 0x03, 0x16, 0xCD, 0x77, 0xB2]};
@GUID(0xE192F17D, 0xD59F, 0x455E, [0xA1, 0x52, 0x94, 0x03, 0x16, 0xCD, 0x77, 0xB2]);
interface IAzBizRuleContext : IDispatch
{
HRESULT put_BusinessRuleResult(BOOL bResult);
HRESULT put_BusinessRuleString(BSTR bstrBusinessRuleString);
HRESULT get_BusinessRuleString(BSTR* pbstrBusinessRuleString);
HRESULT GetParameter(BSTR bstrParameterName, VARIANT* pvarParameterValue);
}
const GUID IID_IAzBizRuleParameters = {0xFC17685F, 0xE25D, 0x4DCD, [0xBA, 0xE1, 0x27, 0x6E, 0xC9, 0x53, 0x3C, 0xB5]};
@GUID(0xFC17685F, 0xE25D, 0x4DCD, [0xBA, 0xE1, 0x27, 0x6E, 0xC9, 0x53, 0x3C, 0xB5]);
interface IAzBizRuleParameters : IDispatch
{
HRESULT AddParameter(BSTR bstrParameterName, VARIANT varParameterValue);
HRESULT AddParameters(VARIANT varParameterNames, VARIANT varParameterValues);
HRESULT GetParameterValue(BSTR bstrParameterName, VARIANT* pvarParameterValue);
HRESULT Remove(BSTR varParameterName);
HRESULT RemoveAll();
HRESULT get_Count(uint* plCount);
}
const GUID IID_IAzBizRuleInterfaces = {0xE94128C7, 0xE9DA, 0x44CC, [0xB0, 0xBD, 0x53, 0x03, 0x6F, 0x3A, 0xAB, 0x3D]};
@GUID(0xE94128C7, 0xE9DA, 0x44CC, [0xB0, 0xBD, 0x53, 0x03, 0x6F, 0x3A, 0xAB, 0x3D]);
interface IAzBizRuleInterfaces : IDispatch
{
HRESULT AddInterface(BSTR bstrInterfaceName, int lInterfaceFlag, VARIANT varInterface);
HRESULT AddInterfaces(VARIANT varInterfaceNames, VARIANT varInterfaceFlags, VARIANT varInterfaces);
HRESULT GetInterfaceValue(BSTR bstrInterfaceName, int* lInterfaceFlag, VARIANT* varInterface);
HRESULT Remove(BSTR bstrInterfaceName);
HRESULT RemoveAll();
HRESULT get_Count(uint* plCount);
}
const GUID IID_IAzClientContext3 = {0x11894FDE, 0x1DEB, 0x4B4B, [0x89, 0x07, 0x6D, 0x1C, 0xDA, 0x1F, 0x5D, 0x4F]};
@GUID(0x11894FDE, 0x1DEB, 0x4B4B, [0x89, 0x07, 0x6D, 0x1C, 0xDA, 0x1F, 0x5D, 0x4F]);
interface IAzClientContext3 : IAzClientContext2
{
HRESULT AccessCheck2(BSTR bstrObjectName, BSTR bstrScopeName, int lOperation, uint* plResult);
HRESULT IsInRoleAssignment(BSTR bstrScopeName, BSTR bstrRoleName, short* pbIsInRole);
HRESULT GetOperations(BSTR bstrScopeName, IAzOperations* ppOperationCollection);
HRESULT GetTasks(BSTR bstrScopeName, IAzTasks* ppTaskCollection);
HRESULT get_BizRuleParameters(IAzBizRuleParameters* ppBizRuleParam);
HRESULT get_BizRuleInterfaces(IAzBizRuleInterfaces* ppBizRuleInterfaces);
HRESULT GetGroups(BSTR bstrScopeName, uint ulOptions, VARIANT* pGroupArray);
HRESULT get_Sids(VARIANT* pStringSidArray);
}
const GUID IID_IAzScope2 = {0xEE9FE8C9, 0xC9F3, 0x40E2, [0xAA, 0x12, 0xD1, 0xD8, 0x59, 0x97, 0x27, 0xFD]};
@GUID(0xEE9FE8C9, 0xC9F3, 0x40E2, [0xAA, 0x12, 0xD1, 0xD8, 0x59, 0x97, 0x27, 0xFD]);
interface IAzScope2 : IAzScope
{
HRESULT get_RoleDefinitions(IAzRoleDefinitions* ppRoleDefinitions);
HRESULT CreateRoleDefinition(BSTR bstrRoleDefinitionName, IAzRoleDefinition* ppRoleDefinitions);
HRESULT OpenRoleDefinition(BSTR bstrRoleDefinitionName, IAzRoleDefinition* ppRoleDefinitions);
HRESULT DeleteRoleDefinition(BSTR bstrRoleDefinitionName);
HRESULT get_RoleAssignments(IAzRoleAssignments* ppRoleAssignments);
HRESULT CreateRoleAssignment(BSTR bstrRoleAssignmentName, IAzRoleAssignment* ppRoleAssignment);
HRESULT OpenRoleAssignment(BSTR bstrRoleAssignmentName, IAzRoleAssignment* ppRoleAssignment);
HRESULT DeleteRoleAssignment(BSTR bstrRoleAssignmentName);
}
const GUID IID_IAzApplication3 = {0x181C845E, 0x7196, 0x4A7D, [0xAC, 0x2E, 0x02, 0x0C, 0x0B, 0xB7, 0xA3, 0x03]};
@GUID(0x181C845E, 0x7196, 0x4A7D, [0xAC, 0x2E, 0x02, 0x0C, 0x0B, 0xB7, 0xA3, 0x03]);
interface IAzApplication3 : IAzApplication2
{
HRESULT ScopeExists(BSTR bstrScopeName, short* pbExist);
HRESULT OpenScope2(BSTR bstrScopeName, IAzScope2* ppScope2);
HRESULT CreateScope2(BSTR bstrScopeName, IAzScope2* ppScope2);
HRESULT DeleteScope2(BSTR bstrScopeName);
HRESULT get_RoleDefinitions(IAzRoleDefinitions* ppRoleDefinitions);
HRESULT CreateRoleDefinition(BSTR bstrRoleDefinitionName, IAzRoleDefinition* ppRoleDefinitions);
HRESULT OpenRoleDefinition(BSTR bstrRoleDefinitionName, IAzRoleDefinition* ppRoleDefinitions);
HRESULT DeleteRoleDefinition(BSTR bstrRoleDefinitionName);
HRESULT get_RoleAssignments(IAzRoleAssignments* ppRoleAssignments);
HRESULT CreateRoleAssignment(BSTR bstrRoleAssignmentName, IAzRoleAssignment* ppRoleAssignment);
HRESULT OpenRoleAssignment(BSTR bstrRoleAssignmentName, IAzRoleAssignment* ppRoleAssignment);
HRESULT DeleteRoleAssignment(BSTR bstrRoleAssignmentName);
HRESULT get_BizRulesEnabled(short* pbEnabled);
HRESULT put_BizRulesEnabled(short bEnabled);
}
const GUID IID_IAzOperation2 = {0x1F5EA01F, 0x44A2, 0x4184, [0x9C, 0x48, 0xA7, 0x5B, 0x4D, 0xCC, 0x8C, 0xCC]};
@GUID(0x1F5EA01F, 0x44A2, 0x4184, [0x9C, 0x48, 0xA7, 0x5B, 0x4D, 0xCC, 0x8C, 0xCC]);
interface IAzOperation2 : IAzOperation
{
HRESULT RoleAssignments(BSTR bstrScopeName, short bRecursive, IAzRoleAssignments* ppRoleAssignments);
}
const GUID IID_IAzRoleDefinitions = {0x881F25A5, 0xD755, 0x4550, [0x95, 0x7A, 0xD5, 0x03, 0xA3, 0xB3, 0x40, 0x01]};
@GUID(0x881F25A5, 0xD755, 0x4550, [0x95, 0x7A, 0xD5, 0x03, 0xA3, 0xB3, 0x40, 0x01]);
interface IAzRoleDefinitions : IDispatch
{
HRESULT get_Item(int Index, VARIANT* pvarObtPtr);
HRESULT get_Count(int* plCount);
HRESULT get__NewEnum(IUnknown* ppEnumPtr);
}
const GUID IID_IAzRoleDefinition = {0xD97FCEA1, 0x2599, 0x44F1, [0x9F, 0xC3, 0x58, 0xE9, 0xFB, 0xE0, 0x94, 0x66]};
@GUID(0xD97FCEA1, 0x2599, 0x44F1, [0x9F, 0xC3, 0x58, 0xE9, 0xFB, 0xE0, 0x94, 0x66]);
interface IAzRoleDefinition : IAzTask
{
HRESULT RoleAssignments(BSTR bstrScopeName, short bRecursive, IAzRoleAssignments* ppRoleAssignments);
HRESULT AddRoleDefinition(BSTR bstrRoleDefinition);
HRESULT DeleteRoleDefinition(BSTR bstrRoleDefinition);
HRESULT get_RoleDefinitions(IAzRoleDefinitions* ppRoleDefinitions);
}
const GUID IID_IAzRoleAssignment = {0x55647D31, 0x0D5A, 0x4FA3, [0xB4, 0xAC, 0x2B, 0x5F, 0x9A, 0xD5, 0xAB, 0x76]};
@GUID(0x55647D31, 0x0D5A, 0x4FA3, [0xB4, 0xAC, 0x2B, 0x5F, 0x9A, 0xD5, 0xAB, 0x76]);
interface IAzRoleAssignment : IAzRole
{
HRESULT AddRoleDefinition(BSTR bstrRoleDefinition);
HRESULT DeleteRoleDefinition(BSTR bstrRoleDefinition);
HRESULT get_RoleDefinitions(IAzRoleDefinitions* ppRoleDefinitions);
HRESULT get_Scope(IAzScope* ppScope);
}
const GUID IID_IAzRoleAssignments = {0x9C80B900, 0xFCEB, 0x4D73, [0xA0, 0xF4, 0xC8, 0x3B, 0x0B, 0xBF, 0x24, 0x81]};
@GUID(0x9C80B900, 0xFCEB, 0x4D73, [0xA0, 0xF4, 0xC8, 0x3B, 0x0B, 0xBF, 0x24, 0x81]);
interface IAzRoleAssignments : IDispatch
{
HRESULT get_Item(int Index, VARIANT* pvarObtPtr);
HRESULT get_Count(int* plCount);
HRESULT get__NewEnum(IUnknown* ppEnumPtr);
}
const GUID IID_IAzPrincipalLocator = {0xE5C3507D, 0xAD6A, 0x4992, [0x9C, 0x7F, 0x74, 0xAB, 0x48, 0x0B, 0x44, 0xCC]};
@GUID(0xE5C3507D, 0xAD6A, 0x4992, [0x9C, 0x7F, 0x74, 0xAB, 0x48, 0x0B, 0x44, 0xCC]);
interface IAzPrincipalLocator : IDispatch
{
HRESULT get_NameResolver(IAzNameResolver* ppNameResolver);
HRESULT get_ObjectPicker(IAzObjectPicker* ppObjectPicker);
}
const GUID IID_IAzNameResolver = {0x504D0F15, 0x73E2, 0x43DF, [0xA8, 0x70, 0xA6, 0x4F, 0x40, 0x71, 0x4F, 0x53]};
@GUID(0x504D0F15, 0x73E2, 0x43DF, [0xA8, 0x70, 0xA6, 0x4F, 0x40, 0x71, 0x4F, 0x53]);
interface IAzNameResolver : IDispatch
{
HRESULT NameFromSid(BSTR bstrSid, int* pSidType, BSTR* pbstrName);
HRESULT NamesFromSids(VARIANT vSids, VARIANT* pvSidTypes, VARIANT* pvNames);
}
const GUID IID_IAzObjectPicker = {0x63130A48, 0x699A, 0x42D8, [0xBF, 0x01, 0xC6, 0x2A, 0xC3, 0xFB, 0x79, 0xF9]};
@GUID(0x63130A48, 0x699A, 0x42D8, [0xBF, 0x01, 0xC6, 0x2A, 0xC3, 0xFB, 0x79, 0xF9]);
interface IAzObjectPicker : IDispatch
{
HRESULT GetPrincipals(HWND hParentWnd, BSTR bstrTitle, VARIANT* pvSidTypes, VARIANT* pvNames, VARIANT* pvSids);
HRESULT get_Name(BSTR* pbstrName);
}
const GUID IID_IAzApplicationGroup2 = {0x3F0613FC, 0xB71A, 0x464E, [0xA1, 0x1D, 0x5B, 0x88, 0x1A, 0x56, 0xCE, 0xFA]};
@GUID(0x3F0613FC, 0xB71A, 0x464E, [0xA1, 0x1D, 0x5B, 0x88, 0x1A, 0x56, 0xCE, 0xFA]);
interface IAzApplicationGroup2 : IAzApplicationGroup
{
HRESULT get_BizRule(BSTR* pbstrProp);
HRESULT put_BizRule(BSTR bstrProp);
HRESULT get_BizRuleLanguage(BSTR* pbstrProp);
HRESULT put_BizRuleLanguage(BSTR bstrProp);
HRESULT get_BizRuleImportedPath(BSTR* pbstrProp);
HRESULT put_BizRuleImportedPath(BSTR bstrProp);
HRESULT RoleAssignments(BSTR bstrScopeName, short bRecursive, IAzRoleAssignments* ppRoleAssignments);
}
const GUID IID_IAzTask2 = {0x03A9A5EE, 0x48C8, 0x4832, [0x90, 0x25, 0xAA, 0xD5, 0x03, 0xC4, 0x65, 0x26]};
@GUID(0x03A9A5EE, 0x48C8, 0x4832, [0x90, 0x25, 0xAA, 0xD5, 0x03, 0xC4, 0x65, 0x26]);
interface IAzTask2 : IAzTask
{
HRESULT RoleAssignments(BSTR bstrScopeName, short bRecursive, IAzRoleAssignments* ppRoleAssignments);
}
enum AZ_PROP_CONSTANTS
{
AZ_PROP_NAME = 1,
AZ_PROP_DESCRIPTION = 2,
AZ_PROP_WRITABLE = 3,
AZ_PROP_APPLICATION_DATA = 4,
AZ_PROP_CHILD_CREATE = 5,
AZ_MAX_APPLICATION_NAME_LENGTH = 512,
AZ_MAX_OPERATION_NAME_LENGTH = 64,
AZ_MAX_TASK_NAME_LENGTH = 64,
AZ_MAX_SCOPE_NAME_LENGTH = 65536,
AZ_MAX_GROUP_NAME_LENGTH = 64,
AZ_MAX_ROLE_NAME_LENGTH = 64,
AZ_MAX_NAME_LENGTH = 65536,
AZ_MAX_DESCRIPTION_LENGTH = 1024,
AZ_MAX_APPLICATION_DATA_LENGTH = 4096,
AZ_SUBMIT_FLAG_ABORT = 1,
AZ_SUBMIT_FLAG_FLUSH = 2,
AZ_MAX_POLICY_URL_LENGTH = 65536,
AZ_AZSTORE_FLAG_CREATE = 1,
AZ_AZSTORE_FLAG_MANAGE_STORE_ONLY = 2,
AZ_AZSTORE_FLAG_BATCH_UPDATE = 4,
AZ_AZSTORE_FLAG_AUDIT_IS_CRITICAL = 8,
AZ_AZSTORE_FORCE_APPLICATION_CLOSE = 16,
AZ_AZSTORE_NT6_FUNCTION_LEVEL = 32,
AZ_AZSTORE_FLAG_MANAGE_ONLY_PASSIVE_SUBMIT = 32768,
AZ_PROP_AZSTORE_DOMAIN_TIMEOUT = 100,
AZ_AZSTORE_DEFAULT_DOMAIN_TIMEOUT = 15000,
AZ_PROP_AZSTORE_SCRIPT_ENGINE_TIMEOUT = 101,
AZ_AZSTORE_MIN_DOMAIN_TIMEOUT = 500,
AZ_AZSTORE_MIN_SCRIPT_ENGINE_TIMEOUT = 5000,
AZ_AZSTORE_DEFAULT_SCRIPT_ENGINE_TIMEOUT = 45000,
AZ_PROP_AZSTORE_MAX_SCRIPT_ENGINES = 102,
AZ_AZSTORE_DEFAULT_MAX_SCRIPT_ENGINES = 120,
AZ_PROP_AZSTORE_MAJOR_VERSION = 103,
AZ_PROP_AZSTORE_MINOR_VERSION = 104,
AZ_PROP_AZSTORE_TARGET_MACHINE = 105,
AZ_PROP_AZTORE_IS_ADAM_INSTANCE = 106,
AZ_PROP_OPERATION_ID = 200,
AZ_PROP_TASK_OPERATIONS = 300,
AZ_PROP_TASK_BIZRULE = 301,
AZ_PROP_TASK_BIZRULE_LANGUAGE = 302,
AZ_PROP_TASK_TASKS = 303,
AZ_PROP_TASK_BIZRULE_IMPORTED_PATH = 304,
AZ_PROP_TASK_IS_ROLE_DEFINITION = 305,
AZ_MAX_TASK_BIZRULE_LENGTH = 65536,
AZ_MAX_TASK_BIZRULE_LANGUAGE_LENGTH = 64,
AZ_MAX_TASK_BIZRULE_IMPORTED_PATH_LENGTH = 512,
AZ_MAX_BIZRULE_STRING = 65536,
AZ_PROP_GROUP_TYPE = 400,
AZ_GROUPTYPE_LDAP_QUERY = 1,
AZ_GROUPTYPE_BASIC = 2,
AZ_GROUPTYPE_BIZRULE = 3,
AZ_PROP_GROUP_APP_MEMBERS = 401,
AZ_PROP_GROUP_APP_NON_MEMBERS = 402,
AZ_PROP_GROUP_LDAP_QUERY = 403,
AZ_MAX_GROUP_LDAP_QUERY_LENGTH = 4096,
AZ_PROP_GROUP_MEMBERS = 404,
AZ_PROP_GROUP_NON_MEMBERS = 405,
AZ_PROP_GROUP_MEMBERS_NAME = 406,
AZ_PROP_GROUP_NON_MEMBERS_NAME = 407,
AZ_PROP_GROUP_BIZRULE = 408,
AZ_PROP_GROUP_BIZRULE_LANGUAGE = 409,
AZ_PROP_GROUP_BIZRULE_IMPORTED_PATH = 410,
AZ_MAX_GROUP_BIZRULE_LENGTH = 65536,
AZ_MAX_GROUP_BIZRULE_LANGUAGE_LENGTH = 64,
AZ_MAX_GROUP_BIZRULE_IMPORTED_PATH_LENGTH = 512,
AZ_PROP_ROLE_APP_MEMBERS = 500,
AZ_PROP_ROLE_MEMBERS = 501,
AZ_PROP_ROLE_OPERATIONS = 502,
AZ_PROP_ROLE_TASKS = 504,
AZ_PROP_ROLE_MEMBERS_NAME = 505,
AZ_PROP_SCOPE_BIZRULES_WRITABLE = 600,
AZ_PROP_SCOPE_CAN_BE_DELEGATED = 601,
AZ_PROP_CLIENT_CONTEXT_USER_DN = 700,
AZ_PROP_CLIENT_CONTEXT_USER_SAM_COMPAT = 701,
AZ_PROP_CLIENT_CONTEXT_USER_DISPLAY = 702,
AZ_PROP_CLIENT_CONTEXT_USER_GUID = 703,
AZ_PROP_CLIENT_CONTEXT_USER_CANONICAL = 704,
AZ_PROP_CLIENT_CONTEXT_USER_UPN = 705,
AZ_PROP_CLIENT_CONTEXT_USER_DNS_SAM_COMPAT = 707,
AZ_PROP_CLIENT_CONTEXT_ROLE_FOR_ACCESS_CHECK = 708,
AZ_PROP_CLIENT_CONTEXT_LDAP_QUERY_DN = 709,
AZ_PROP_APPLICATION_AUTHZ_INTERFACE_CLSID = 800,
AZ_PROP_APPLICATION_VERSION = 801,
AZ_MAX_APPLICATION_VERSION_LENGTH = 512,
AZ_PROP_APPLICATION_NAME = 802,
AZ_PROP_APPLICATION_BIZRULE_ENABLED = 803,
AZ_PROP_APPLY_STORE_SACL = 900,
AZ_PROP_GENERATE_AUDITS = 901,
AZ_PROP_POLICY_ADMINS = 902,
AZ_PROP_POLICY_READERS = 903,
AZ_PROP_DELEGATED_POLICY_USERS = 904,
AZ_PROP_POLICY_ADMINS_NAME = 905,
AZ_PROP_POLICY_READERS_NAME = 906,
AZ_PROP_DELEGATED_POLICY_USERS_NAME = 907,
AZ_CLIENT_CONTEXT_SKIP_GROUP = 1,
AZ_CLIENT_CONTEXT_SKIP_LDAP_QUERY = 1,
AZ_CLIENT_CONTEXT_GET_GROUP_RECURSIVE = 2,
AZ_CLIENT_CONTEXT_GET_GROUPS_STORE_LEVEL_ONLY = 2,
}
struct SI_OBJECT_INFO
{
uint dwFlags;
HINSTANCE hInstance;
const(wchar)* pszServerName;
const(wchar)* pszObjectName;
const(wchar)* pszPageTitle;
Guid guidObjectType;
}
struct SI_ACCESS
{
const(Guid)* pguid;
uint mask;
const(wchar)* pszName;
uint dwFlags;
}
struct SI_INHERIT_TYPE
{
const(Guid)* pguid;
uint dwFlags;
const(wchar)* pszName;
}
enum SI_PAGE_TYPE
{
SI_PAGE_PERM = 0,
SI_PAGE_ADVPERM = 1,
SI_PAGE_AUDIT = 2,
SI_PAGE_OWNER = 3,
SI_PAGE_EFFECTIVE = 4,
SI_PAGE_TAKEOWNERSHIP = 5,
SI_PAGE_SHARE = 6,
}
enum SI_PAGE_ACTIVATED
{
SI_SHOW_DEFAULT = 0,
SI_SHOW_PERM_ACTIVATED = 1,
SI_SHOW_AUDIT_ACTIVATED = 2,
SI_SHOW_OWNER_ACTIVATED = 3,
SI_SHOW_EFFECTIVE_ACTIVATED = 4,
SI_SHOW_SHARE_ACTIVATED = 5,
SI_SHOW_CENTRAL_POLICY_ACTIVATED = 6,
}
const GUID IID_ISecurityInformation = {0x965FC360, 0x16FF, 0x11D0, [0x91, 0xCB, 0x00, 0xAA, 0x00, 0xBB, 0xB7, 0x23]};
@GUID(0x965FC360, 0x16FF, 0x11D0, [0x91, 0xCB, 0x00, 0xAA, 0x00, 0xBB, 0xB7, 0x23]);
interface ISecurityInformation : IUnknown
{
HRESULT GetObjectInformation(SI_OBJECT_INFO* pObjectInfo);
HRESULT GetSecurity(uint RequestedInformation, void** ppSecurityDescriptor, BOOL fDefault);
HRESULT SetSecurity(uint SecurityInformation, void* pSecurityDescriptor);
HRESULT GetAccessRights(const(Guid)* pguidObjectType, uint dwFlags, SI_ACCESS** ppAccess, uint* pcAccesses, uint* piDefaultAccess);
HRESULT MapGeneric(const(Guid)* pguidObjectType, ubyte* pAceFlags, uint* pMask);
HRESULT GetInheritTypes(SI_INHERIT_TYPE** ppInheritTypes, uint* pcInheritTypes);
HRESULT PropertySheetPageCallback(HWND hwnd, uint uMsg, SI_PAGE_TYPE uPage);
}
const GUID IID_ISecurityInformation2 = {0xC3CCFDB4, 0x6F88, 0x11D2, [0xA3, 0xCE, 0x00, 0xC0, 0x4F, 0xB1, 0x78, 0x2A]};
@GUID(0xC3CCFDB4, 0x6F88, 0x11D2, [0xA3, 0xCE, 0x00, 0xC0, 0x4F, 0xB1, 0x78, 0x2A]);
interface ISecurityInformation2 : IUnknown
{
BOOL IsDaclCanonical(ACL* pDacl);
HRESULT LookupSids(uint cSids, void** rgpSids, IDataObject* ppdo);
}
struct SID_INFO
{
void* pSid;
const(wchar)* pwzCommonName;
const(wchar)* pwzClass;
const(wchar)* pwzUPN;
}
struct SID_INFO_LIST
{
uint cItems;
SID_INFO aSidInfo;
}
const GUID IID_IEffectivePermission = {0x3853DC76, 0x9F35, 0x407C, [0x88, 0xA1, 0xD1, 0x93, 0x44, 0x36, 0x5F, 0xBC]};
@GUID(0x3853DC76, 0x9F35, 0x407C, [0x88, 0xA1, 0xD1, 0x93, 0x44, 0x36, 0x5F, 0xBC]);
interface IEffectivePermission : IUnknown
{
HRESULT GetEffectivePermission(const(Guid)* pguidObjectType, void* pUserSid, const(wchar)* pszServerName, void* pSD, OBJECT_TYPE_LIST** ppObjectTypeList, uint* pcObjectTypeListLength, uint** ppGrantedAccessList, uint* pcGrantedAccessListLength);
}
const GUID IID_ISecurityObjectTypeInfo = {0xFC3066EB, 0x79EF, 0x444B, [0x91, 0x11, 0xD1, 0x8A, 0x75, 0xEB, 0xF2, 0xFA]};
@GUID(0xFC3066EB, 0x79EF, 0x444B, [0x91, 0x11, 0xD1, 0x8A, 0x75, 0xEB, 0xF2, 0xFA]);
interface ISecurityObjectTypeInfo : IUnknown
{
HRESULT GetInheritSource(uint si, ACL* pACL, INHERITED_FROMA** ppInheritArray);
}
const GUID IID_ISecurityInformation3 = {0xE2CDC9CC, 0x31BD, 0x4F8F, [0x8C, 0x8B, 0xB6, 0x41, 0xAF, 0x51, 0x6A, 0x1A]};
@GUID(0xE2CDC9CC, 0x31BD, 0x4F8F, [0x8C, 0x8B, 0xB6, 0x41, 0xAF, 0x51, 0x6A, 0x1A]);
interface ISecurityInformation3 : IUnknown
{
HRESULT GetFullResourceName(ushort** ppszResourceName);
HRESULT OpenElevatedEditor(HWND hWnd, SI_PAGE_TYPE uPage);
}
struct SECURITY_OBJECT
{
const(wchar)* pwszName;
void* pData;
uint cbData;
void* pData2;
uint cbData2;
uint Id;
ubyte fWellKnown;
}
struct EFFPERM_RESULT_LIST
{
ubyte fEvaluated;
uint cObjectTypeListLength;
OBJECT_TYPE_LIST* pObjectTypeList;
uint* pGrantedAccessList;
}
const GUID IID_ISecurityInformation4 = {0xEA961070, 0xCD14, 0x4621, [0xAC, 0xE4, 0xF6, 0x3C, 0x03, 0xE5, 0x83, 0xE4]};
@GUID(0xEA961070, 0xCD14, 0x4621, [0xAC, 0xE4, 0xF6, 0x3C, 0x03, 0xE5, 0x83, 0xE4]);
interface ISecurityInformation4 : IUnknown
{
HRESULT GetSecondarySecurity(SECURITY_OBJECT** pSecurityObjects, uint* pSecurityObjectCount);
}
const GUID IID_IEffectivePermission2 = {0x941FABCA, 0xDD47, 0x4FCA, [0x90, 0xBB, 0xB0, 0xE1, 0x02, 0x55, 0xF2, 0x0D]};
@GUID(0x941FABCA, 0xDD47, 0x4FCA, [0x90, 0xBB, 0xB0, 0xE1, 0x02, 0x55, 0xF2, 0x0D]);
interface IEffectivePermission2 : IUnknown
{
HRESULT ComputeEffectivePermissionWithSecondarySecurity(void* pSid, void* pDeviceSid, const(wchar)* pszServerName, char* pSecurityObjects, uint dwSecurityObjectCount, TOKEN_GROUPS* pUserGroups, char* pAuthzUserGroupsOperations, TOKEN_GROUPS* pDeviceGroups, char* pAuthzDeviceGroupsOperations, AUTHZ_SECURITY_ATTRIBUTES_INFORMATION* pAuthzUserClaims, char* pAuthzUserClaimsOperations, AUTHZ_SECURITY_ATTRIBUTES_INFORMATION* pAuthzDeviceClaims, char* pAuthzDeviceClaimsOperations, char* pEffpermResultLists);
}
alias FN_PROGRESS = extern(Windows) void function(const(wchar)* pObjectName, uint Status, PROG_INVOKE_SETTING* pInvokeSetting, void* Args, BOOL SecuritySet);
alias PFNREADOBJECTSECURITY = extern(Windows) HRESULT function(const(wchar)* param0, uint param1, void** param2, LPARAM param3);
alias PFNWRITEOBJECTSECURITY = extern(Windows) HRESULT function(const(wchar)* param0, uint param1, void* param2, LPARAM param3);
alias PFNDSCREATEISECINFO = extern(Windows) HRESULT function(const(wchar)* param0, const(wchar)* param1, uint param2, ISecurityInformation* param3, PFNREADOBJECTSECURITY param4, PFNWRITEOBJECTSECURITY param5, LPARAM param6);
alias PFNDSCREATEISECINFOEX = extern(Windows) HRESULT function(const(wchar)* param0, const(wchar)* param1, const(wchar)* param2, const(wchar)* param3, const(wchar)* param4, uint param5, ISecurityInformation* param6, PFNREADOBJECTSECURITY param7, PFNWRITEOBJECTSECURITY param8, LPARAM param9);
alias PFNDSCREATESECPAGE = extern(Windows) HRESULT function(const(wchar)* param0, const(wchar)* param1, uint param2, HPROPSHEETPAGE* param3, PFNREADOBJECTSECURITY param4, PFNWRITEOBJECTSECURITY param5, LPARAM param6);
alias PFNDSEDITSECURITY = extern(Windows) HRESULT function(HWND param0, const(wchar)* param1, const(wchar)* param2, uint param3, const(wchar)* param4, PFNREADOBJECTSECURITY param5, PFNWRITEOBJECTSECURITY param6, LPARAM param7);
const GUID CLSID_CObjectId = {0x884E2000, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2000, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CObjectId;
const GUID CLSID_CObjectIds = {0x884E2001, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2001, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CObjectIds;
const GUID CLSID_CBinaryConverter = {0x884E2002, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2002, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CBinaryConverter;
const GUID CLSID_CX500DistinguishedName = {0x884E2003, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2003, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX500DistinguishedName;
const GUID CLSID_CCspInformation = {0x884E2007, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2007, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCspInformation;
const GUID CLSID_CCspInformations = {0x884E2008, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2008, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCspInformations;
const GUID CLSID_CCspStatus = {0x884E2009, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2009, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCspStatus;
const GUID CLSID_CX509PublicKey = {0x884E200B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E200B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509PublicKey;
const GUID CLSID_CX509PrivateKey = {0x884E200C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E200C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509PrivateKey;
const GUID CLSID_CX509EndorsementKey = {0x11A25A1D, 0xB9A3, 0x4EDD, [0xAF, 0x83, 0x3B, 0x59, 0xAD, 0xBE, 0xD3, 0x61]};
@GUID(0x11A25A1D, 0xB9A3, 0x4EDD, [0xAF, 0x83, 0x3B, 0x59, 0xAD, 0xBE, 0xD3, 0x61]);
struct CX509EndorsementKey;
const GUID CLSID_CX509Extension = {0x884E200D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E200D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509Extension;
const GUID CLSID_CX509Extensions = {0x884E200E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E200E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509Extensions;
const GUID CLSID_CX509ExtensionKeyUsage = {0x884E200F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E200F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509ExtensionKeyUsage;
const GUID CLSID_CX509ExtensionEnhancedKeyUsage = {0x884E2010, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2010, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509ExtensionEnhancedKeyUsage;
const GUID CLSID_CX509ExtensionTemplateName = {0x884E2011, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2011, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509ExtensionTemplateName;
const GUID CLSID_CX509ExtensionTemplate = {0x884E2012, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2012, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509ExtensionTemplate;
const GUID CLSID_CAlternativeName = {0x884E2013, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2013, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CAlternativeName;
const GUID CLSID_CAlternativeNames = {0x884E2014, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2014, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CAlternativeNames;
const GUID CLSID_CX509ExtensionAlternativeNames = {0x884E2015, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2015, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509ExtensionAlternativeNames;
const GUID CLSID_CX509ExtensionBasicConstraints = {0x884E2016, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2016, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509ExtensionBasicConstraints;
const GUID CLSID_CX509ExtensionSubjectKeyIdentifier = {0x884E2017, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2017, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509ExtensionSubjectKeyIdentifier;
const GUID CLSID_CX509ExtensionAuthorityKeyIdentifier = {0x884E2018, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2018, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509ExtensionAuthorityKeyIdentifier;
const GUID CLSID_CSmimeCapability = {0x884E2019, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2019, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CSmimeCapability;
const GUID CLSID_CSmimeCapabilities = {0x884E201A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E201A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CSmimeCapabilities;
const GUID CLSID_CX509ExtensionSmimeCapabilities = {0x884E201B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E201B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509ExtensionSmimeCapabilities;
const GUID CLSID_CPolicyQualifier = {0x884E201C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E201C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CPolicyQualifier;
const GUID CLSID_CPolicyQualifiers = {0x884E201D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E201D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CPolicyQualifiers;
const GUID CLSID_CCertificatePolicy = {0x884E201E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E201E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertificatePolicy;
const GUID CLSID_CCertificatePolicies = {0x884E201F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E201F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertificatePolicies;
const GUID CLSID_CX509ExtensionCertificatePolicies = {0x884E2020, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2020, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509ExtensionCertificatePolicies;
const GUID CLSID_CX509ExtensionMSApplicationPolicies = {0x884E2021, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2021, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509ExtensionMSApplicationPolicies;
const GUID CLSID_CX509Attribute = {0x884E2022, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2022, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509Attribute;
const GUID CLSID_CX509Attributes = {0x884E2023, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2023, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509Attributes;
const GUID CLSID_CX509AttributeExtensions = {0x884E2024, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2024, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509AttributeExtensions;
const GUID CLSID_CX509AttributeClientId = {0x884E2025, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2025, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509AttributeClientId;
const GUID CLSID_CX509AttributeRenewalCertificate = {0x884E2026, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2026, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509AttributeRenewalCertificate;
const GUID CLSID_CX509AttributeArchiveKey = {0x884E2027, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2027, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509AttributeArchiveKey;
const GUID CLSID_CX509AttributeArchiveKeyHash = {0x884E2028, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2028, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509AttributeArchiveKeyHash;
const GUID CLSID_CX509AttributeOSVersion = {0x884E202A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E202A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509AttributeOSVersion;
const GUID CLSID_CX509AttributeCspProvider = {0x884E202B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E202B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509AttributeCspProvider;
const GUID CLSID_CCryptAttribute = {0x884E202C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E202C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCryptAttribute;
const GUID CLSID_CCryptAttributes = {0x884E202D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E202D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCryptAttributes;
const GUID CLSID_CCertProperty = {0x884E202E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E202E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertProperty;
const GUID CLSID_CCertProperties = {0x884E202F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E202F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertProperties;
const GUID CLSID_CCertPropertyFriendlyName = {0x884E2030, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2030, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertPropertyFriendlyName;
const GUID CLSID_CCertPropertyDescription = {0x884E2031, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2031, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertPropertyDescription;
const GUID CLSID_CCertPropertyAutoEnroll = {0x884E2032, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2032, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertPropertyAutoEnroll;
const GUID CLSID_CCertPropertyRequestOriginator = {0x884E2033, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2033, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertPropertyRequestOriginator;
const GUID CLSID_CCertPropertySHA1Hash = {0x884E2034, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2034, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertPropertySHA1Hash;
const GUID CLSID_CCertPropertyKeyProvInfo = {0x884E2036, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2036, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertPropertyKeyProvInfo;
const GUID CLSID_CCertPropertyArchived = {0x884E2037, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2037, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertPropertyArchived;
const GUID CLSID_CCertPropertyBackedUp = {0x884E2038, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2038, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertPropertyBackedUp;
const GUID CLSID_CCertPropertyEnrollment = {0x884E2039, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2039, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertPropertyEnrollment;
const GUID CLSID_CCertPropertyRenewal = {0x884E203A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E203A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertPropertyRenewal;
const GUID CLSID_CCertPropertyArchivedKeyHash = {0x884E203B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E203B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertPropertyArchivedKeyHash;
const GUID CLSID_CCertPropertyEnrollmentPolicyServer = {0x884E204C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E204C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CCertPropertyEnrollmentPolicyServer;
const GUID CLSID_CSignerCertificate = {0x884E203D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E203D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CSignerCertificate;
const GUID CLSID_CX509NameValuePair = {0x884E203F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E203F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509NameValuePair;
const GUID CLSID_CCertificateAttestationChallenge = {0x1362ADA1, 0xEB60, 0x456A, [0xB6, 0xE1, 0x11, 0x80, 0x50, 0xDB, 0x74, 0x1B]};
@GUID(0x1362ADA1, 0xEB60, 0x456A, [0xB6, 0xE1, 0x11, 0x80, 0x50, 0xDB, 0x74, 0x1B]);
struct CCertificateAttestationChallenge;
const GUID CLSID_CX509CertificateRequestPkcs10 = {0x884E2042, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2042, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509CertificateRequestPkcs10;
const GUID CLSID_CX509CertificateRequestCertificate = {0x884E2043, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2043, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509CertificateRequestCertificate;
const GUID CLSID_CX509CertificateRequestPkcs7 = {0x884E2044, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2044, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509CertificateRequestPkcs7;
const GUID CLSID_CX509CertificateRequestCmc = {0x884E2045, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2045, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509CertificateRequestCmc;
const GUID CLSID_CX509Enrollment = {0x884E2046, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2046, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509Enrollment;
const GUID CLSID_CX509EnrollmentWebClassFactory = {0x884E2049, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2049, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509EnrollmentWebClassFactory;
const GUID CLSID_CX509EnrollmentHelper = {0x884E2050, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2050, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509EnrollmentHelper;
const GUID CLSID_CX509MachineEnrollmentFactory = {0x884E2051, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2051, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509MachineEnrollmentFactory;
const GUID CLSID_CX509EnrollmentPolicyActiveDirectory = {0x91F39027, 0x217F, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x91F39027, 0x217F, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509EnrollmentPolicyActiveDirectory;
const GUID CLSID_CX509EnrollmentPolicyWebService = {0x91F39028, 0x217F, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x91F39028, 0x217F, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509EnrollmentPolicyWebService;
const GUID CLSID_CX509PolicyServerListManager = {0x91F39029, 0x217F, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x91F39029, 0x217F, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509PolicyServerListManager;
const GUID CLSID_CX509PolicyServerUrl = {0x91F3902A, 0x217F, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x91F3902A, 0x217F, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509PolicyServerUrl;
const GUID CLSID_CX509CertificateTemplateADWritable = {0x8336E323, 0x2E6A, 0x4A04, [0x93, 0x7C, 0x54, 0x8F, 0x68, 0x18, 0x39, 0xB3]};
@GUID(0x8336E323, 0x2E6A, 0x4A04, [0x93, 0x7C, 0x54, 0x8F, 0x68, 0x18, 0x39, 0xB3]);
struct CX509CertificateTemplateADWritable;
const GUID CLSID_CX509CertificateRevocationListEntry = {0x884E205E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E205E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509CertificateRevocationListEntry;
const GUID CLSID_CX509CertificateRevocationListEntries = {0x884E205F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E205F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509CertificateRevocationListEntries;
const GUID CLSID_CX509CertificateRevocationList = {0x884E2060, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2060, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509CertificateRevocationList;
const GUID CLSID_CX509SCEPEnrollment = {0x884E2061, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2061, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509SCEPEnrollment;
const GUID CLSID_CX509SCEPEnrollmentHelper = {0x884E2062, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E2062, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
struct CX509SCEPEnrollmentHelper;
const GUID CLSID_CCertGetConfig = {0xC6CC49B0, 0xCE17, 0x11D0, [0x88, 0x33, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0xC6CC49B0, 0xCE17, 0x11D0, [0x88, 0x33, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
struct CCertGetConfig;
const GUID CLSID_CCertConfig = {0x372FCE38, 0x4324, 0x11D0, [0x88, 0x10, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x372FCE38, 0x4324, 0x11D0, [0x88, 0x10, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
struct CCertConfig;
const GUID CLSID_CCertRequest = {0x98AFF3F0, 0x5524, 0x11D0, [0x88, 0x12, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x98AFF3F0, 0x5524, 0x11D0, [0x88, 0x12, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
struct CCertRequest;
const GUID CLSID_CCertServerPolicy = {0xAA000926, 0xFFBE, 0x11CF, [0x88, 0x00, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0xAA000926, 0xFFBE, 0x11CF, [0x88, 0x00, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
struct CCertServerPolicy;
const GUID CLSID_CCertServerExit = {0x4C4A5E40, 0x732C, 0x11D0, [0x88, 0x16, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x4C4A5E40, 0x732C, 0x11D0, [0x88, 0x16, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
struct CCertServerExit;
const GUID IID_ICertServerPolicy = {0xAA000922, 0xFFBE, 0x11CF, [0x88, 0x00, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0xAA000922, 0xFFBE, 0x11CF, [0x88, 0x00, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
interface ICertServerPolicy : IDispatch
{
HRESULT SetContext(int Context);
HRESULT GetRequestProperty(const(ushort)* strPropertyName, int PropertyType, VARIANT* pvarPropertyValue);
HRESULT GetRequestAttribute(const(ushort)* strAttributeName, BSTR* pstrAttributeValue);
HRESULT GetCertificateProperty(const(ushort)* strPropertyName, int PropertyType, VARIANT* pvarPropertyValue);
HRESULT SetCertificateProperty(const(ushort)* strPropertyName, int PropertyType, const(VARIANT)* pvarPropertyValue);
HRESULT GetCertificateExtension(const(ushort)* strExtensionName, int Type, VARIANT* pvarValue);
HRESULT GetCertificateExtensionFlags(int* pExtFlags);
HRESULT SetCertificateExtension(const(ushort)* strExtensionName, int Type, int ExtFlags, const(VARIANT)* pvarValue);
HRESULT EnumerateExtensionsSetup(int Flags);
HRESULT EnumerateExtensions(BSTR* pstrExtensionName);
HRESULT EnumerateExtensionsClose();
HRESULT EnumerateAttributesSetup(int Flags);
HRESULT EnumerateAttributes(BSTR* pstrAttributeName);
HRESULT EnumerateAttributesClose();
}
const GUID IID_ICertServerExit = {0x4BA9EB90, 0x732C, 0x11D0, [0x88, 0x16, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x4BA9EB90, 0x732C, 0x11D0, [0x88, 0x16, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
interface ICertServerExit : IDispatch
{
HRESULT SetContext(int Context);
HRESULT GetRequestProperty(const(ushort)* strPropertyName, int PropertyType, VARIANT* pvarPropertyValue);
HRESULT GetRequestAttribute(const(ushort)* strAttributeName, BSTR* pstrAttributeValue);
HRESULT GetCertificateProperty(const(ushort)* strPropertyName, int PropertyType, VARIANT* pvarPropertyValue);
HRESULT GetCertificateExtension(const(ushort)* strExtensionName, int Type, VARIANT* pvarValue);
HRESULT GetCertificateExtensionFlags(int* pExtFlags);
HRESULT EnumerateExtensionsSetup(int Flags);
HRESULT EnumerateExtensions(BSTR* pstrExtensionName);
HRESULT EnumerateExtensionsClose();
HRESULT EnumerateAttributesSetup(int Flags);
HRESULT EnumerateAttributes(BSTR* pstrAttributeName);
HRESULT EnumerateAttributesClose();
}
const GUID IID_ICertGetConfig = {0xC7EA09C0, 0xCE17, 0x11D0, [0x88, 0x33, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0xC7EA09C0, 0xCE17, 0x11D0, [0x88, 0x33, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
interface ICertGetConfig : IDispatch
{
HRESULT GetConfig(int Flags, BSTR* pstrOut);
}
const GUID IID_ICertConfig = {0x372FCE34, 0x4324, 0x11D0, [0x88, 0x10, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x372FCE34, 0x4324, 0x11D0, [0x88, 0x10, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
interface ICertConfig : IDispatch
{
HRESULT Reset(int Index, int* pCount);
HRESULT Next(int* pIndex);
HRESULT GetField(const(ushort)* strFieldName, BSTR* pstrOut);
HRESULT GetConfig(int Flags, BSTR* pstrOut);
}
const GUID IID_ICertConfig2 = {0x7A18EDDE, 0x7E78, 0x4163, [0x8D, 0xED, 0x78, 0xE2, 0xC9, 0xCE, 0xE9, 0x24]};
@GUID(0x7A18EDDE, 0x7E78, 0x4163, [0x8D, 0xED, 0x78, 0xE2, 0xC9, 0xCE, 0xE9, 0x24]);
interface ICertConfig2 : ICertConfig
{
HRESULT SetSharedFolder(const(ushort)* strSharedFolder);
}
const GUID IID_ICertRequest = {0x014E4840, 0x5523, 0x11D0, [0x88, 0x12, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x014E4840, 0x5523, 0x11D0, [0x88, 0x12, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
interface ICertRequest : IDispatch
{
HRESULT Submit(int Flags, const(ushort)* strRequest, const(ushort)* strAttributes, const(ushort)* strConfig, int* pDisposition);
HRESULT RetrievePending(int RequestId, const(ushort)* strConfig, int* pDisposition);
HRESULT GetLastStatus(int* pStatus);
HRESULT GetRequestId(int* pRequestId);
HRESULT GetDispositionMessage(BSTR* pstrDispositionMessage);
HRESULT GetCACertificate(int fExchangeCertificate, const(ushort)* strConfig, int Flags, BSTR* pstrCertificate);
HRESULT GetCertificate(int Flags, BSTR* pstrCertificate);
}
const GUID IID_ICertRequest2 = {0xA4772988, 0x4A85, 0x4FA9, [0x82, 0x4E, 0xB5, 0xCF, 0x5C, 0x16, 0x40, 0x5A]};
@GUID(0xA4772988, 0x4A85, 0x4FA9, [0x82, 0x4E, 0xB5, 0xCF, 0x5C, 0x16, 0x40, 0x5A]);
interface ICertRequest2 : ICertRequest
{
HRESULT GetIssuedCertificate(const(ushort)* strConfig, int RequestId, const(ushort)* strSerialNumber, int* pDisposition);
HRESULT GetErrorMessageText(int hrMessage, int Flags, BSTR* pstrErrorMessageText);
HRESULT GetCAProperty(const(ushort)* strConfig, int PropId, int PropIndex, int PropType, int Flags, VARIANT* pvarPropertyValue);
HRESULT GetCAPropertyFlags(const(ushort)* strConfig, int PropId, int* pPropFlags);
HRESULT GetCAPropertyDisplayName(const(ushort)* strConfig, int PropId, BSTR* pstrDisplayName);
HRESULT GetFullResponseProperty(int PropId, int PropIndex, int PropType, int Flags, VARIANT* pvarPropertyValue);
}
enum X509EnrollmentAuthFlags
{
X509AuthNone = 0,
X509AuthAnonymous = 1,
X509AuthKerberos = 2,
X509AuthUsername = 4,
X509AuthCertificate = 8,
}
const GUID IID_ICertRequest3 = {0xAFC8F92B, 0x33A2, 0x4861, [0xBF, 0x36, 0x29, 0x33, 0xB7, 0xCD, 0x67, 0xB3]};
@GUID(0xAFC8F92B, 0x33A2, 0x4861, [0xBF, 0x36, 0x29, 0x33, 0xB7, 0xCD, 0x67, 0xB3]);
interface ICertRequest3 : ICertRequest2
{
HRESULT SetCredential(int hWnd, X509EnrollmentAuthFlags AuthType, BSTR strCredential, BSTR strPassword);
HRESULT GetRequestIdString(BSTR* pstrRequestId);
HRESULT GetIssuedCertificate2(BSTR strConfig, BSTR strRequestId, BSTR strSerialNumber, int* pDisposition);
HRESULT GetRefreshPolicy(short* pValue);
}
const GUID IID_ICertManageModule = {0xE7D7AD42, 0xBD3D, 0x11D1, [0x9A, 0x4D, 0x00, 0xC0, 0x4F, 0xC2, 0x97, 0xEB]};
@GUID(0xE7D7AD42, 0xBD3D, 0x11D1, [0x9A, 0x4D, 0x00, 0xC0, 0x4F, 0xC2, 0x97, 0xEB]);
interface ICertManageModule : IDispatch
{
HRESULT GetProperty(const(ushort)* strConfig, BSTR strStorageLocation, BSTR strPropertyName, int Flags, VARIANT* pvarProperty);
HRESULT SetProperty(const(ushort)* strConfig, BSTR strStorageLocation, BSTR strPropertyName, int Flags, const(VARIANT)* pvarProperty);
HRESULT Configure(const(ushort)* strConfig, BSTR strStorageLocation, int Flags);
}
struct CERTTRANSBLOB
{
uint cb;
ubyte* pb;
}
struct CERTVIEWRESTRICTION
{
uint ColumnIndex;
int SeekOperator;
int SortOrder;
ubyte* pbValue;
uint cbValue;
}
struct CSEDB_RSTMAPW
{
ushort* pwszDatabaseName;
ushort* pwszNewDatabaseName;
}
alias FNCERTSRVISSERVERONLINEW = extern(Windows) HRESULT function(const(wchar)* pwszServerName, int* pfServerOnline);
alias FNCERTSRVBACKUPGETDYNAMICFILELISTW = extern(Windows) HRESULT function(void* hbc, ushort** ppwszzFileList, uint* pcbSize);
alias FNCERTSRVBACKUPPREPAREW = extern(Windows) HRESULT function(const(wchar)* pwszServerName, uint grbitJet, uint dwBackupFlags, void** phbc);
alias FNCERTSRVBACKUPGETDATABASENAMESW = extern(Windows) HRESULT function(void* hbc, ushort** ppwszzAttachmentInformation, uint* pcbSize);
alias FNCERTSRVBACKUPOPENFILEW = extern(Windows) HRESULT function(void* hbc, const(wchar)* pwszAttachmentName, uint cbReadHintSize, LARGE_INTEGER* pliFileSize);
alias FNCERTSRVBACKUPREAD = extern(Windows) HRESULT function(void* hbc, void* pvBuffer, uint cbBuffer, uint* pcbRead);
alias FNCERTSRVBACKUPCLOSE = extern(Windows) HRESULT function(void* hbc);
alias FNCERTSRVBACKUPGETBACKUPLOGSW = extern(Windows) HRESULT function(void* hbc, ushort** ppwszzBackupLogFiles, uint* pcbSize);
alias FNCERTSRVBACKUPTRUNCATELOGS = extern(Windows) HRESULT function(void* hbc);
alias FNCERTSRVBACKUPEND = extern(Windows) HRESULT function(void* hbc);
alias FNCERTSRVBACKUPFREE = extern(Windows) void function(void* pv);
alias FNCERTSRVRESTOREGETDATABASELOCATIONSW = extern(Windows) HRESULT function(void* hbc, ushort** ppwszzDatabaseLocationList, uint* pcbSize);
alias FNCERTSRVRESTOREPREPAREW = extern(Windows) HRESULT function(const(wchar)* pwszServerName, uint dwRestoreFlags, void** phbc);
alias FNCERTSRVRESTOREREGISTERW = extern(Windows) HRESULT function(void* hbc, const(wchar)* pwszCheckPointFilePath, const(wchar)* pwszLogPath, CSEDB_RSTMAPW* rgrstmap, int crstmap, const(wchar)* pwszBackupLogPath, uint genLow, uint genHigh);
alias FNCERTSRVRESTOREREGISTERCOMPLETE = extern(Windows) HRESULT function(void* hbc, HRESULT hrRestoreState);
alias FNCERTSRVRESTOREEND = extern(Windows) HRESULT function(void* hbc);
alias FNCERTSRVSERVERCONTROLW = extern(Windows) HRESULT function(const(wchar)* pwszServerName, uint dwControlFlags, uint* pcbOut, ubyte** ppbOut);
const GUID IID_ICertPolicy = {0x38BB5A00, 0x7636, 0x11D0, [0xB4, 0x13, 0x00, 0xA0, 0xC9, 0x1B, 0xBF, 0x8C]};
@GUID(0x38BB5A00, 0x7636, 0x11D0, [0xB4, 0x13, 0x00, 0xA0, 0xC9, 0x1B, 0xBF, 0x8C]);
interface ICertPolicy : IDispatch
{
HRESULT Initialize(const(ushort)* strConfig);
HRESULT VerifyRequest(const(ushort)* strConfig, int Context, int bNewRequest, int Flags, int* pDisposition);
HRESULT GetDescription(BSTR* pstrDescription);
HRESULT ShutDown();
}
const GUID IID_ICertPolicy2 = {0x3DB4910E, 0x8001, 0x4BF1, [0xAA, 0x1B, 0xF4, 0x3A, 0x80, 0x83, 0x17, 0xA0]};
@GUID(0x3DB4910E, 0x8001, 0x4BF1, [0xAA, 0x1B, 0xF4, 0x3A, 0x80, 0x83, 0x17, 0xA0]);
interface ICertPolicy2 : ICertPolicy
{
HRESULT GetManageModule(ICertManageModule* ppManageModule);
}
enum X509SCEPMessageType
{
SCEPMessageUnknown = -1,
SCEPMessageCertResponse = 3,
SCEPMessagePKCSRequest = 19,
SCEPMessageGetCertInitial = 20,
SCEPMessageGetCert = 21,
SCEPMessageGetCRL = 22,
SCEPMessageClaimChallengeAnswer = 41,
}
enum X509SCEPDisposition
{
SCEPDispositionUnknown = -1,
SCEPDispositionSuccess = 0,
SCEPDispositionFailure = 2,
SCEPDispositionPending = 3,
SCEPDispositionPendingChallenge = 11,
}
enum X509SCEPFailInfo
{
SCEPFailUnknown = -1,
SCEPFailBadAlgorithm = 0,
SCEPFailBadMessageCheck = 1,
SCEPFailBadRequest = 2,
SCEPFailBadTime = 3,
SCEPFailBadCertId = 4,
}
const GUID IID_INDESPolicy = {0x13CA515D, 0x431D, 0x46CC, [0x8C, 0x2E, 0x1D, 0xA2, 0x69, 0xBB, 0xD6, 0x25]};
@GUID(0x13CA515D, 0x431D, 0x46CC, [0x8C, 0x2E, 0x1D, 0xA2, 0x69, 0xBB, 0xD6, 0x25]);
interface INDESPolicy : IUnknown
{
HRESULT Initialize();
HRESULT Uninitialize();
HRESULT GenerateChallenge(const(wchar)* pwszTemplate, const(wchar)* pwszParams, ushort** ppwszResponse);
HRESULT VerifyRequest(CERTTRANSBLOB* pctbRequest, CERTTRANSBLOB* pctbSigningCertEncoded, const(wchar)* pwszTemplate, const(wchar)* pwszTransactionId, int* pfVerified);
HRESULT Notify(const(wchar)* pwszChallenge, const(wchar)* pwszTransactionId, X509SCEPDisposition disposition, int lastHResult, CERTTRANSBLOB* pctbIssuedCertEncoded);
}
enum CERTENROLL_OBJECTID
{
XCN_OID_NONE = 0,
XCN_OID_RSA = 1,
XCN_OID_PKCS = 2,
XCN_OID_RSA_HASH = 3,
XCN_OID_RSA_ENCRYPT = 4,
XCN_OID_PKCS_1 = 5,
XCN_OID_PKCS_2 = 6,
XCN_OID_PKCS_3 = 7,
XCN_OID_PKCS_4 = 8,
XCN_OID_PKCS_5 = 9,
XCN_OID_PKCS_6 = 10,
XCN_OID_PKCS_7 = 11,
XCN_OID_PKCS_8 = 12,
XCN_OID_PKCS_9 = 13,
XCN_OID_PKCS_10 = 14,
XCN_OID_PKCS_12 = 15,
XCN_OID_RSA_RSA = 16,
XCN_OID_RSA_MD2RSA = 17,
XCN_OID_RSA_MD4RSA = 18,
XCN_OID_RSA_MD5RSA = 19,
XCN_OID_RSA_SHA1RSA = 20,
XCN_OID_RSA_SETOAEP_RSA = 21,
XCN_OID_RSA_DH = 22,
XCN_OID_RSA_data = 23,
XCN_OID_RSA_signedData = 24,
XCN_OID_RSA_envelopedData = 25,
XCN_OID_RSA_signEnvData = 26,
XCN_OID_RSA_digestedData = 27,
XCN_OID_RSA_hashedData = 28,
XCN_OID_RSA_encryptedData = 29,
XCN_OID_RSA_emailAddr = 30,
XCN_OID_RSA_unstructName = 31,
XCN_OID_RSA_contentType = 32,
XCN_OID_RSA_messageDigest = 33,
XCN_OID_RSA_signingTime = 34,
XCN_OID_RSA_counterSign = 35,
XCN_OID_RSA_challengePwd = 36,
XCN_OID_RSA_unstructAddr = 37,
XCN_OID_RSA_extCertAttrs = 38,
XCN_OID_RSA_certExtensions = 39,
XCN_OID_RSA_SMIMECapabilities = 40,
XCN_OID_RSA_preferSignedData = 41,
XCN_OID_RSA_SMIMEalg = 42,
XCN_OID_RSA_SMIMEalgESDH = 43,
XCN_OID_RSA_SMIMEalgCMS3DESwrap = 44,
XCN_OID_RSA_SMIMEalgCMSRC2wrap = 45,
XCN_OID_RSA_MD2 = 46,
XCN_OID_RSA_MD4 = 47,
XCN_OID_RSA_MD5 = 48,
XCN_OID_RSA_RC2CBC = 49,
XCN_OID_RSA_RC4 = 50,
XCN_OID_RSA_DES_EDE3_CBC = 51,
XCN_OID_RSA_RC5_CBCPad = 52,
XCN_OID_ANSI_X942 = 53,
XCN_OID_ANSI_X942_DH = 54,
XCN_OID_X957 = 55,
XCN_OID_X957_DSA = 56,
XCN_OID_X957_SHA1DSA = 57,
XCN_OID_DS = 58,
XCN_OID_DSALG = 59,
XCN_OID_DSALG_CRPT = 60,
XCN_OID_DSALG_HASH = 61,
XCN_OID_DSALG_SIGN = 62,
XCN_OID_DSALG_RSA = 63,
XCN_OID_OIW = 64,
XCN_OID_OIWSEC = 65,
XCN_OID_OIWSEC_md4RSA = 66,
XCN_OID_OIWSEC_md5RSA = 67,
XCN_OID_OIWSEC_md4RSA2 = 68,
XCN_OID_OIWSEC_desECB = 69,
XCN_OID_OIWSEC_desCBC = 70,
XCN_OID_OIWSEC_desOFB = 71,
XCN_OID_OIWSEC_desCFB = 72,
XCN_OID_OIWSEC_desMAC = 73,
XCN_OID_OIWSEC_rsaSign = 74,
XCN_OID_OIWSEC_dsa = 75,
XCN_OID_OIWSEC_shaDSA = 76,
XCN_OID_OIWSEC_mdc2RSA = 77,
XCN_OID_OIWSEC_shaRSA = 78,
XCN_OID_OIWSEC_dhCommMod = 79,
XCN_OID_OIWSEC_desEDE = 80,
XCN_OID_OIWSEC_sha = 81,
XCN_OID_OIWSEC_mdc2 = 82,
XCN_OID_OIWSEC_dsaComm = 83,
XCN_OID_OIWSEC_dsaCommSHA = 84,
XCN_OID_OIWSEC_rsaXchg = 85,
XCN_OID_OIWSEC_keyHashSeal = 86,
XCN_OID_OIWSEC_md2RSASign = 87,
XCN_OID_OIWSEC_md5RSASign = 88,
XCN_OID_OIWSEC_sha1 = 89,
XCN_OID_OIWSEC_dsaSHA1 = 90,
XCN_OID_OIWSEC_dsaCommSHA1 = 91,
XCN_OID_OIWSEC_sha1RSASign = 92,
XCN_OID_OIWDIR = 93,
XCN_OID_OIWDIR_CRPT = 94,
XCN_OID_OIWDIR_HASH = 95,
XCN_OID_OIWDIR_SIGN = 96,
XCN_OID_OIWDIR_md2 = 97,
XCN_OID_OIWDIR_md2RSA = 98,
XCN_OID_INFOSEC = 99,
XCN_OID_INFOSEC_sdnsSignature = 100,
XCN_OID_INFOSEC_mosaicSignature = 101,
XCN_OID_INFOSEC_sdnsConfidentiality = 102,
XCN_OID_INFOSEC_mosaicConfidentiality = 103,
XCN_OID_INFOSEC_sdnsIntegrity = 104,
XCN_OID_INFOSEC_mosaicIntegrity = 105,
XCN_OID_INFOSEC_sdnsTokenProtection = 106,
XCN_OID_INFOSEC_mosaicTokenProtection = 107,
XCN_OID_INFOSEC_sdnsKeyManagement = 108,
XCN_OID_INFOSEC_mosaicKeyManagement = 109,
XCN_OID_INFOSEC_sdnsKMandSig = 110,
XCN_OID_INFOSEC_mosaicKMandSig = 111,
XCN_OID_INFOSEC_SuiteASignature = 112,
XCN_OID_INFOSEC_SuiteAConfidentiality = 113,
XCN_OID_INFOSEC_SuiteAIntegrity = 114,
XCN_OID_INFOSEC_SuiteATokenProtection = 115,
XCN_OID_INFOSEC_SuiteAKeyManagement = 116,
XCN_OID_INFOSEC_SuiteAKMandSig = 117,
XCN_OID_INFOSEC_mosaicUpdatedSig = 118,
XCN_OID_INFOSEC_mosaicKMandUpdSig = 119,
XCN_OID_INFOSEC_mosaicUpdatedInteg = 120,
XCN_OID_COMMON_NAME = 121,
XCN_OID_SUR_NAME = 122,
XCN_OID_DEVICE_SERIAL_NUMBER = 123,
XCN_OID_COUNTRY_NAME = 124,
XCN_OID_LOCALITY_NAME = 125,
XCN_OID_STATE_OR_PROVINCE_NAME = 126,
XCN_OID_STREET_ADDRESS = 127,
XCN_OID_ORGANIZATION_NAME = 128,
XCN_OID_ORGANIZATIONAL_UNIT_NAME = 129,
XCN_OID_TITLE = 130,
XCN_OID_DESCRIPTION = 131,
XCN_OID_SEARCH_GUIDE = 132,
XCN_OID_BUSINESS_CATEGORY = 133,
XCN_OID_POSTAL_ADDRESS = 134,
XCN_OID_POSTAL_CODE = 135,
XCN_OID_POST_OFFICE_BOX = 136,
XCN_OID_PHYSICAL_DELIVERY_OFFICE_NAME = 137,
XCN_OID_TELEPHONE_NUMBER = 138,
XCN_OID_TELEX_NUMBER = 139,
XCN_OID_TELETEXT_TERMINAL_IDENTIFIER = 140,
XCN_OID_FACSIMILE_TELEPHONE_NUMBER = 141,
XCN_OID_X21_ADDRESS = 142,
XCN_OID_INTERNATIONAL_ISDN_NUMBER = 143,
XCN_OID_REGISTERED_ADDRESS = 144,
XCN_OID_DESTINATION_INDICATOR = 145,
XCN_OID_PREFERRED_DELIVERY_METHOD = 146,
XCN_OID_PRESENTATION_ADDRESS = 147,
XCN_OID_SUPPORTED_APPLICATION_CONTEXT = 148,
XCN_OID_MEMBER = 149,
XCN_OID_OWNER = 150,
XCN_OID_ROLE_OCCUPANT = 151,
XCN_OID_SEE_ALSO = 152,
XCN_OID_USER_PASSWORD = 153,
XCN_OID_USER_CERTIFICATE = 154,
XCN_OID_CA_CERTIFICATE = 155,
XCN_OID_AUTHORITY_REVOCATION_LIST = 156,
XCN_OID_CERTIFICATE_REVOCATION_LIST = 157,
XCN_OID_CROSS_CERTIFICATE_PAIR = 158,
XCN_OID_GIVEN_NAME = 159,
XCN_OID_INITIALS = 160,
XCN_OID_DN_QUALIFIER = 161,
XCN_OID_DOMAIN_COMPONENT = 162,
XCN_OID_PKCS_12_FRIENDLY_NAME_ATTR = 163,
XCN_OID_PKCS_12_LOCAL_KEY_ID = 164,
XCN_OID_PKCS_12_KEY_PROVIDER_NAME_ATTR = 165,
XCN_OID_LOCAL_MACHINE_KEYSET = 166,
XCN_OID_PKCS_12_EXTENDED_ATTRIBUTES = 167,
XCN_OID_KEYID_RDN = 168,
XCN_OID_AUTHORITY_KEY_IDENTIFIER = 169,
XCN_OID_KEY_ATTRIBUTES = 170,
XCN_OID_CERT_POLICIES_95 = 171,
XCN_OID_KEY_USAGE_RESTRICTION = 172,
XCN_OID_SUBJECT_ALT_NAME = 173,
XCN_OID_ISSUER_ALT_NAME = 174,
XCN_OID_BASIC_CONSTRAINTS = 175,
XCN_OID_KEY_USAGE = 176,
XCN_OID_PRIVATEKEY_USAGE_PERIOD = 177,
XCN_OID_BASIC_CONSTRAINTS2 = 178,
XCN_OID_CERT_POLICIES = 179,
XCN_OID_ANY_CERT_POLICY = 180,
XCN_OID_AUTHORITY_KEY_IDENTIFIER2 = 181,
XCN_OID_SUBJECT_KEY_IDENTIFIER = 182,
XCN_OID_SUBJECT_ALT_NAME2 = 183,
XCN_OID_ISSUER_ALT_NAME2 = 184,
XCN_OID_CRL_REASON_CODE = 185,
XCN_OID_REASON_CODE_HOLD = 186,
XCN_OID_CRL_DIST_POINTS = 187,
XCN_OID_ENHANCED_KEY_USAGE = 188,
XCN_OID_CRL_NUMBER = 189,
XCN_OID_DELTA_CRL_INDICATOR = 190,
XCN_OID_ISSUING_DIST_POINT = 191,
XCN_OID_FRESHEST_CRL = 192,
XCN_OID_NAME_CONSTRAINTS = 193,
XCN_OID_POLICY_MAPPINGS = 194,
XCN_OID_LEGACY_POLICY_MAPPINGS = 195,
XCN_OID_POLICY_CONSTRAINTS = 196,
XCN_OID_RENEWAL_CERTIFICATE = 197,
XCN_OID_ENROLLMENT_NAME_VALUE_PAIR = 198,
XCN_OID_ENROLLMENT_CSP_PROVIDER = 199,
XCN_OID_OS_VERSION = 200,
XCN_OID_ENROLLMENT_AGENT = 201,
XCN_OID_PKIX = 202,
XCN_OID_PKIX_PE = 203,
XCN_OID_AUTHORITY_INFO_ACCESS = 204,
XCN_OID_BIOMETRIC_EXT = 205,
XCN_OID_LOGOTYPE_EXT = 206,
XCN_OID_CERT_EXTENSIONS = 207,
XCN_OID_NEXT_UPDATE_LOCATION = 208,
XCN_OID_REMOVE_CERTIFICATE = 209,
XCN_OID_CROSS_CERT_DIST_POINTS = 210,
XCN_OID_CTL = 211,
XCN_OID_SORTED_CTL = 212,
XCN_OID_SERIALIZED = 213,
XCN_OID_NT_PRINCIPAL_NAME = 214,
XCN_OID_PRODUCT_UPDATE = 215,
XCN_OID_ANY_APPLICATION_POLICY = 216,
XCN_OID_AUTO_ENROLL_CTL_USAGE = 217,
XCN_OID_ENROLL_CERTTYPE_EXTENSION = 218,
XCN_OID_CERT_MANIFOLD = 219,
XCN_OID_CERTSRV_CA_VERSION = 220,
XCN_OID_CERTSRV_PREVIOUS_CERT_HASH = 221,
XCN_OID_CRL_VIRTUAL_BASE = 222,
XCN_OID_CRL_NEXT_PUBLISH = 223,
XCN_OID_KP_CA_EXCHANGE = 224,
XCN_OID_KP_KEY_RECOVERY_AGENT = 225,
XCN_OID_CERTIFICATE_TEMPLATE = 226,
XCN_OID_ENTERPRISE_OID_ROOT = 227,
XCN_OID_RDN_DUMMY_SIGNER = 228,
XCN_OID_APPLICATION_CERT_POLICIES = 229,
XCN_OID_APPLICATION_POLICY_MAPPINGS = 230,
XCN_OID_APPLICATION_POLICY_CONSTRAINTS = 231,
XCN_OID_ARCHIVED_KEY_ATTR = 232,
XCN_OID_CRL_SELF_CDP = 233,
XCN_OID_REQUIRE_CERT_CHAIN_POLICY = 234,
XCN_OID_ARCHIVED_KEY_CERT_HASH = 235,
XCN_OID_ISSUED_CERT_HASH = 236,
XCN_OID_DS_EMAIL_REPLICATION = 237,
XCN_OID_REQUEST_CLIENT_INFO = 238,
XCN_OID_ENCRYPTED_KEY_HASH = 239,
XCN_OID_CERTSRV_CROSSCA_VERSION = 240,
XCN_OID_NTDS_REPLICATION = 241,
XCN_OID_SUBJECT_DIR_ATTRS = 242,
XCN_OID_PKIX_KP = 243,
XCN_OID_PKIX_KP_SERVER_AUTH = 244,
XCN_OID_PKIX_KP_CLIENT_AUTH = 245,
XCN_OID_PKIX_KP_CODE_SIGNING = 246,
XCN_OID_PKIX_KP_EMAIL_PROTECTION = 247,
XCN_OID_PKIX_KP_IPSEC_END_SYSTEM = 248,
XCN_OID_PKIX_KP_IPSEC_TUNNEL = 249,
XCN_OID_PKIX_KP_IPSEC_USER = 250,
XCN_OID_PKIX_KP_TIMESTAMP_SIGNING = 251,
XCN_OID_PKIX_KP_OCSP_SIGNING = 252,
XCN_OID_PKIX_OCSP_NOCHECK = 253,
XCN_OID_IPSEC_KP_IKE_INTERMEDIATE = 254,
XCN_OID_KP_CTL_USAGE_SIGNING = 255,
XCN_OID_KP_TIME_STAMP_SIGNING = 256,
XCN_OID_SERVER_GATED_CRYPTO = 257,
XCN_OID_SGC_NETSCAPE = 258,
XCN_OID_KP_EFS = 259,
XCN_OID_EFS_RECOVERY = 260,
XCN_OID_WHQL_CRYPTO = 261,
XCN_OID_NT5_CRYPTO = 262,
XCN_OID_OEM_WHQL_CRYPTO = 263,
XCN_OID_EMBEDDED_NT_CRYPTO = 264,
XCN_OID_ROOT_LIST_SIGNER = 265,
XCN_OID_KP_QUALIFIED_SUBORDINATION = 266,
XCN_OID_KP_KEY_RECOVERY = 267,
XCN_OID_KP_DOCUMENT_SIGNING = 268,
XCN_OID_KP_LIFETIME_SIGNING = 269,
XCN_OID_KP_MOBILE_DEVICE_SOFTWARE = 270,
XCN_OID_KP_SMART_DISPLAY = 271,
XCN_OID_KP_CSP_SIGNATURE = 272,
XCN_OID_DRM = 273,
XCN_OID_DRM_INDIVIDUALIZATION = 274,
XCN_OID_LICENSES = 275,
XCN_OID_LICENSE_SERVER = 276,
XCN_OID_KP_SMARTCARD_LOGON = 277,
XCN_OID_YESNO_TRUST_ATTR = 278,
XCN_OID_PKIX_POLICY_QUALIFIER_CPS = 279,
XCN_OID_PKIX_POLICY_QUALIFIER_USERNOTICE = 280,
XCN_OID_CERT_POLICIES_95_QUALIFIER1 = 281,
XCN_OID_PKIX_ACC_DESCR = 282,
XCN_OID_PKIX_OCSP = 283,
XCN_OID_PKIX_CA_ISSUERS = 284,
XCN_OID_VERISIGN_PRIVATE_6_9 = 285,
XCN_OID_VERISIGN_ONSITE_JURISDICTION_HASH = 286,
XCN_OID_VERISIGN_BITSTRING_6_13 = 287,
XCN_OID_VERISIGN_ISS_STRONG_CRYPTO = 288,
XCN_OID_NETSCAPE = 289,
XCN_OID_NETSCAPE_CERT_EXTENSION = 290,
XCN_OID_NETSCAPE_CERT_TYPE = 291,
XCN_OID_NETSCAPE_BASE_URL = 292,
XCN_OID_NETSCAPE_REVOCATION_URL = 293,
XCN_OID_NETSCAPE_CA_REVOCATION_URL = 294,
XCN_OID_NETSCAPE_CERT_RENEWAL_URL = 295,
XCN_OID_NETSCAPE_CA_POLICY_URL = 296,
XCN_OID_NETSCAPE_SSL_SERVER_NAME = 297,
XCN_OID_NETSCAPE_COMMENT = 298,
XCN_OID_NETSCAPE_DATA_TYPE = 299,
XCN_OID_NETSCAPE_CERT_SEQUENCE = 300,
XCN_OID_CT_PKI_DATA = 301,
XCN_OID_CT_PKI_RESPONSE = 302,
XCN_OID_PKIX_NO_SIGNATURE = 303,
XCN_OID_CMC = 304,
XCN_OID_CMC_STATUS_INFO = 305,
XCN_OID_CMC_IDENTIFICATION = 306,
XCN_OID_CMC_IDENTITY_PROOF = 307,
XCN_OID_CMC_DATA_RETURN = 308,
XCN_OID_CMC_TRANSACTION_ID = 309,
XCN_OID_CMC_SENDER_NONCE = 310,
XCN_OID_CMC_RECIPIENT_NONCE = 311,
XCN_OID_CMC_ADD_EXTENSIONS = 312,
XCN_OID_CMC_ENCRYPTED_POP = 313,
XCN_OID_CMC_DECRYPTED_POP = 314,
XCN_OID_CMC_LRA_POP_WITNESS = 315,
XCN_OID_CMC_GET_CERT = 316,
XCN_OID_CMC_GET_CRL = 317,
XCN_OID_CMC_REVOKE_REQUEST = 318,
XCN_OID_CMC_REG_INFO = 319,
XCN_OID_CMC_RESPONSE_INFO = 320,
XCN_OID_CMC_QUERY_PENDING = 321,
XCN_OID_CMC_ID_POP_LINK_RANDOM = 322,
XCN_OID_CMC_ID_POP_LINK_WITNESS = 323,
XCN_OID_CMC_ID_CONFIRM_CERT_ACCEPTANCE = 324,
XCN_OID_CMC_ADD_ATTRIBUTES = 325,
XCN_OID_LOYALTY_OTHER_LOGOTYPE = 326,
XCN_OID_BACKGROUND_OTHER_LOGOTYPE = 327,
XCN_OID_PKIX_OCSP_BASIC_SIGNED_RESPONSE = 328,
XCN_OID_PKCS_7_DATA = 329,
XCN_OID_PKCS_7_SIGNED = 330,
XCN_OID_PKCS_7_ENVELOPED = 331,
XCN_OID_PKCS_7_SIGNEDANDENVELOPED = 332,
XCN_OID_PKCS_7_DIGESTED = 333,
XCN_OID_PKCS_7_ENCRYPTED = 334,
XCN_OID_PKCS_9_CONTENT_TYPE = 335,
XCN_OID_PKCS_9_MESSAGE_DIGEST = 336,
XCN_OID_CERT_PROP_ID_PREFIX = 337,
XCN_OID_CERT_KEY_IDENTIFIER_PROP_ID = 338,
XCN_OID_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID = 339,
XCN_OID_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID = 340,
XCN_OID_CERT_MD5_HASH_PROP_ID = 341,
XCN_OID_RSA_SHA256RSA = 342,
XCN_OID_RSA_SHA384RSA = 343,
XCN_OID_RSA_SHA512RSA = 344,
XCN_OID_NIST_sha256 = 345,
XCN_OID_NIST_sha384 = 346,
XCN_OID_NIST_sha512 = 347,
XCN_OID_RSA_MGF1 = 348,
XCN_OID_ECC_PUBLIC_KEY = 349,
XCN_OID_ECDSA_SHA1 = 350,
XCN_OID_ECDSA_SPECIFIED = 351,
XCN_OID_ANY_ENHANCED_KEY_USAGE = 352,
XCN_OID_RSA_SSA_PSS = 353,
XCN_OID_ATTR_SUPPORTED_ALGORITHMS = 355,
XCN_OID_ATTR_TPM_SECURITY_ASSERTIONS = 356,
XCN_OID_ATTR_TPM_SPECIFICATION = 357,
XCN_OID_CERT_DISALLOWED_FILETIME_PROP_ID = 358,
XCN_OID_CERT_SIGNATURE_HASH_PROP_ID = 359,
XCN_OID_CERT_STRONG_KEY_OS_1 = 360,
XCN_OID_CERT_STRONG_KEY_OS_CURRENT = 361,
XCN_OID_CERT_STRONG_KEY_OS_PREFIX = 362,
XCN_OID_CERT_STRONG_SIGN_OS_1 = 363,
XCN_OID_CERT_STRONG_SIGN_OS_CURRENT = 364,
XCN_OID_CERT_STRONG_SIGN_OS_PREFIX = 365,
XCN_OID_DH_SINGLE_PASS_STDDH_SHA1_KDF = 366,
XCN_OID_DH_SINGLE_PASS_STDDH_SHA256_KDF = 367,
XCN_OID_DH_SINGLE_PASS_STDDH_SHA384_KDF = 368,
XCN_OID_DISALLOWED_HASH = 369,
XCN_OID_DISALLOWED_LIST = 370,
XCN_OID_ECC_CURVE_P256 = 371,
XCN_OID_ECC_CURVE_P384 = 372,
XCN_OID_ECC_CURVE_P521 = 373,
XCN_OID_ECDSA_SHA256 = 374,
XCN_OID_ECDSA_SHA384 = 375,
XCN_OID_ECDSA_SHA512 = 376,
XCN_OID_ENROLL_CAXCHGCERT_HASH = 377,
XCN_OID_ENROLL_EK_INFO = 378,
XCN_OID_ENROLL_EKPUB_CHALLENGE = 379,
XCN_OID_ENROLL_EKVERIFYCERT = 380,
XCN_OID_ENROLL_EKVERIFYCREDS = 381,
XCN_OID_ENROLL_EKVERIFYKEY = 382,
XCN_OID_EV_RDN_COUNTRY = 383,
XCN_OID_EV_RDN_LOCALE = 384,
XCN_OID_EV_RDN_STATE_OR_PROVINCE = 385,
XCN_OID_INHIBIT_ANY_POLICY = 386,
XCN_OID_INTERNATIONALIZED_EMAIL_ADDRESS = 387,
XCN_OID_KP_KERNEL_MODE_CODE_SIGNING = 388,
XCN_OID_KP_KERNEL_MODE_HAL_EXTENSION_SIGNING = 389,
XCN_OID_KP_KERNEL_MODE_TRUSTED_BOOT_SIGNING = 390,
XCN_OID_KP_TPM_AIK_CERTIFICATE = 391,
XCN_OID_KP_TPM_EK_CERTIFICATE = 392,
XCN_OID_KP_TPM_PLATFORM_CERTIFICATE = 393,
XCN_OID_NIST_AES128_CBC = 394,
XCN_OID_NIST_AES128_WRAP = 395,
XCN_OID_NIST_AES192_CBC = 396,
XCN_OID_NIST_AES192_WRAP = 397,
XCN_OID_NIST_AES256_CBC = 398,
XCN_OID_NIST_AES256_WRAP = 399,
XCN_OID_PKCS_12_PbeIds = 400,
XCN_OID_PKCS_12_pbeWithSHA1And128BitRC2 = 401,
XCN_OID_PKCS_12_pbeWithSHA1And128BitRC4 = 402,
XCN_OID_PKCS_12_pbeWithSHA1And2KeyTripleDES = 403,
XCN_OID_PKCS_12_pbeWithSHA1And3KeyTripleDES = 404,
XCN_OID_PKCS_12_pbeWithSHA1And40BitRC2 = 405,
XCN_OID_PKCS_12_pbeWithSHA1And40BitRC4 = 406,
XCN_OID_PKCS_12_PROTECTED_PASSWORD_SECRET_BAG_TYPE_ID = 407,
XCN_OID_PKINIT_KP_KDC = 408,
XCN_OID_PKIX_CA_REPOSITORY = 409,
XCN_OID_PKIX_OCSP_NONCE = 410,
XCN_OID_PKIX_TIME_STAMPING = 411,
XCN_OID_QC_EU_COMPLIANCE = 412,
XCN_OID_QC_SSCD = 413,
XCN_OID_QC_STATEMENTS_EXT = 414,
XCN_OID_RDN_TPM_MANUFACTURER = 415,
XCN_OID_RDN_TPM_MODEL = 416,
XCN_OID_RDN_TPM_VERSION = 417,
XCN_OID_REVOKED_LIST_SIGNER = 418,
XCN_OID_RFC3161_counterSign = 419,
XCN_OID_ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION = 420,
XCN_OID_ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION = 421,
XCN_OID_ROOT_PROGRAM_FLAGS = 422,
XCN_OID_ROOT_PROGRAM_NO_OCSP_FAILOVER_TO_CRL = 423,
XCN_OID_RSA_PSPECIFIED = 424,
XCN_OID_RSAES_OAEP = 425,
XCN_OID_SUBJECT_INFO_ACCESS = 426,
XCN_OID_TIMESTAMP_TOKEN = 427,
XCN_OID_ENROLL_SCEP_ERROR = 428,
XCN_OIDVerisign_MessageType = 429,
XCN_OIDVerisign_PkiStatus = 430,
XCN_OIDVerisign_FailInfo = 431,
XCN_OIDVerisign_SenderNonce = 432,
XCN_OIDVerisign_RecipientNonce = 433,
XCN_OIDVerisign_TransactionID = 434,
XCN_OID_ENROLL_ATTESTATION_CHALLENGE = 435,
XCN_OID_ENROLL_ATTESTATION_STATEMENT = 436,
XCN_OID_ENROLL_ENCRYPTION_ALGORITHM = 437,
XCN_OID_ENROLL_KSP_NAME = 438,
}
enum WebSecurityLevel
{
LevelUnsafe = 0,
LevelSafe = 1,
}
enum EncodingType
{
XCN_CRYPT_STRING_BASE64HEADER = 0,
XCN_CRYPT_STRING_BASE64 = 1,
XCN_CRYPT_STRING_BINARY = 2,
XCN_CRYPT_STRING_BASE64REQUESTHEADER = 3,
XCN_CRYPT_STRING_HEX = 4,
XCN_CRYPT_STRING_HEXASCII = 5,
XCN_CRYPT_STRING_BASE64_ANY = 6,
XCN_CRYPT_STRING_ANY = 7,
XCN_CRYPT_STRING_HEX_ANY = 8,
XCN_CRYPT_STRING_BASE64X509CRLHEADER = 9,
XCN_CRYPT_STRING_HEXADDR = 10,
XCN_CRYPT_STRING_HEXASCIIADDR = 11,
XCN_CRYPT_STRING_HEXRAW = 12,
XCN_CRYPT_STRING_BASE64URI = 13,
XCN_CRYPT_STRING_ENCODEMASK = 255,
XCN_CRYPT_STRING_CHAIN = 256,
XCN_CRYPT_STRING_TEXT = 512,
XCN_CRYPT_STRING_PERCENTESCAPE = 134217728,
XCN_CRYPT_STRING_HASHDATA = 268435456,
XCN_CRYPT_STRING_STRICT = 536870912,
XCN_CRYPT_STRING_NOCRLF = 1073741824,
XCN_CRYPT_STRING_NOCR = -2147483648,
}
enum PFXExportOptions
{
PFXExportEEOnly = 0,
PFXExportChainNoRoot = 1,
PFXExportChainWithRoot = 2,
}
enum ObjectIdGroupId
{
XCN_CRYPT_ANY_GROUP_ID = 0,
XCN_CRYPT_HASH_ALG_OID_GROUP_ID = 1,
XCN_CRYPT_ENCRYPT_ALG_OID_GROUP_ID = 2,
XCN_CRYPT_PUBKEY_ALG_OID_GROUP_ID = 3,
XCN_CRYPT_SIGN_ALG_OID_GROUP_ID = 4,
XCN_CRYPT_RDN_ATTR_OID_GROUP_ID = 5,
XCN_CRYPT_EXT_OR_ATTR_OID_GROUP_ID = 6,
XCN_CRYPT_ENHKEY_USAGE_OID_GROUP_ID = 7,
XCN_CRYPT_POLICY_OID_GROUP_ID = 8,
XCN_CRYPT_TEMPLATE_OID_GROUP_ID = 9,
XCN_CRYPT_KDF_OID_GROUP_ID = 10,
XCN_CRYPT_LAST_OID_GROUP_ID = 10,
XCN_CRYPT_FIRST_ALG_OID_GROUP_ID = 1,
XCN_CRYPT_LAST_ALG_OID_GROUP_ID = 4,
XCN_CRYPT_GROUP_ID_MASK = 65535,
XCN_CRYPT_OID_PREFER_CNG_ALGID_FLAG = 1073741824,
XCN_CRYPT_OID_DISABLE_SEARCH_DS_FLAG = -2147483648,
XCN_CRYPT_OID_INFO_OID_GROUP_BIT_LEN_MASK = 268369920,
XCN_CRYPT_OID_INFO_OID_GROUP_BIT_LEN_SHIFT = 16,
XCN_CRYPT_KEY_LENGTH_MASK = 268369920,
}
enum ObjectIdPublicKeyFlags
{
XCN_CRYPT_OID_INFO_PUBKEY_ANY = 0,
XCN_CRYPT_OID_INFO_PUBKEY_SIGN_KEY_FLAG = -2147483648,
XCN_CRYPT_OID_INFO_PUBKEY_ENCRYPT_KEY_FLAG = 1073741824,
}
enum AlgorithmFlags
{
AlgorithmFlagsNone = 0,
AlgorithmFlagsWrap = 1,
}
const GUID IID_IObjectId = {0x728AB300, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB300, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IObjectId : IDispatch
{
HRESULT InitializeFromName(CERTENROLL_OBJECTID Name);
HRESULT InitializeFromValue(BSTR strValue);
HRESULT InitializeFromAlgorithmName(ObjectIdGroupId GroupId, ObjectIdPublicKeyFlags KeyFlags, AlgorithmFlags AlgFlags, BSTR strAlgorithmName);
HRESULT get_Name(CERTENROLL_OBJECTID* pValue);
HRESULT get_FriendlyName(BSTR* pValue);
HRESULT put_FriendlyName(BSTR Value);
HRESULT get_Value(BSTR* pValue);
HRESULT GetAlgorithmName(ObjectIdGroupId GroupId, ObjectIdPublicKeyFlags KeyFlags, BSTR* pstrAlgorithmName);
}
const GUID IID_IObjectIds = {0x728AB301, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB301, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IObjectIds : IDispatch
{
HRESULT get_ItemByIndex(int Index, IObjectId* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(IObjectId pVal);
HRESULT Remove(int Index);
HRESULT Clear();
HRESULT AddRange(IObjectIds pValue);
}
const GUID IID_IBinaryConverter = {0x728AB302, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB302, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IBinaryConverter : IDispatch
{
HRESULT StringToString(BSTR strEncodedIn, EncodingType EncodingIn, EncodingType Encoding, BSTR* pstrEncoded);
HRESULT VariantByteArrayToString(VARIANT* pvarByteArray, EncodingType Encoding, BSTR* pstrEncoded);
HRESULT StringToVariantByteArray(BSTR strEncoded, EncodingType Encoding, VARIANT* pvarByteArray);
}
const GUID IID_IBinaryConverter2 = {0x8D7928B4, 0x4E17, 0x428D, [0x9A, 0x17, 0x72, 0x8D, 0xF0, 0x0D, 0x1B, 0x2B]};
@GUID(0x8D7928B4, 0x4E17, 0x428D, [0x9A, 0x17, 0x72, 0x8D, 0xF0, 0x0D, 0x1B, 0x2B]);
interface IBinaryConverter2 : IBinaryConverter
{
HRESULT StringArrayToVariantArray(VARIANT* pvarStringArray, VARIANT* pvarVariantArray);
HRESULT VariantArrayToStringArray(VARIANT* pvarVariantArray, VARIANT* pvarStringArray);
}
enum X500NameFlags
{
XCN_CERT_NAME_STR_NONE = 0,
XCN_CERT_SIMPLE_NAME_STR = 1,
XCN_CERT_OID_NAME_STR = 2,
XCN_CERT_X500_NAME_STR = 3,
XCN_CERT_XML_NAME_STR = 4,
XCN_CERT_NAME_STR_SEMICOLON_FLAG = 1073741824,
XCN_CERT_NAME_STR_NO_PLUS_FLAG = 536870912,
XCN_CERT_NAME_STR_NO_QUOTING_FLAG = 268435456,
XCN_CERT_NAME_STR_CRLF_FLAG = 134217728,
XCN_CERT_NAME_STR_COMMA_FLAG = 67108864,
XCN_CERT_NAME_STR_REVERSE_FLAG = 33554432,
XCN_CERT_NAME_STR_FORWARD_FLAG = 16777216,
XCN_CERT_NAME_STR_AMBIGUOUS_SEPARATOR_FLAGS = 1275068416,
XCN_CERT_NAME_STR_DISABLE_IE4_UTF8_FLAG = 65536,
XCN_CERT_NAME_STR_ENABLE_T61_UNICODE_FLAG = 131072,
XCN_CERT_NAME_STR_ENABLE_UTF8_UNICODE_FLAG = 262144,
XCN_CERT_NAME_STR_FORCE_UTF8_DIR_STR_FLAG = 524288,
XCN_CERT_NAME_STR_DISABLE_UTF8_DIR_STR_FLAG = 1048576,
XCN_CERT_NAME_STR_ENABLE_PUNYCODE_FLAG = 2097152,
XCN_CERT_NAME_STR_DS_ESCAPED = 8388608,
}
const GUID IID_IX500DistinguishedName = {0x728AB303, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB303, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX500DistinguishedName : IDispatch
{
HRESULT Decode(BSTR strEncodedName, EncodingType Encoding, X500NameFlags NameFlags);
HRESULT Encode(BSTR strName, X500NameFlags NameFlags);
HRESULT get_Name(BSTR* pValue);
HRESULT get_EncodedName(EncodingType Encoding, BSTR* pValue);
}
enum X509CertificateEnrollmentContext
{
ContextNone = 0,
ContextUser = 1,
ContextMachine = 2,
ContextAdministratorForceMachine = 3,
}
enum EnrollmentEnrollStatus
{
Enrolled = 1,
EnrollPended = 2,
EnrollUIDeferredEnrollmentRequired = 4,
EnrollError = 16,
EnrollUnknown = 32,
EnrollSkipped = 64,
EnrollDenied = 256,
}
enum EnrollmentSelectionStatus
{
SelectedNo = 0,
SelectedYes = 1,
}
enum EnrollmentDisplayStatus
{
DisplayNo = 0,
DisplayYes = 1,
}
const GUID IID_IX509EnrollmentStatus = {0x728AB304, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB304, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509EnrollmentStatus : IDispatch
{
HRESULT AppendText(BSTR strText);
HRESULT get_Text(BSTR* pValue);
HRESULT put_Text(BSTR Value);
HRESULT get_Selected(EnrollmentSelectionStatus* pValue);
HRESULT put_Selected(EnrollmentSelectionStatus Value);
HRESULT get_Display(EnrollmentDisplayStatus* pValue);
HRESULT put_Display(EnrollmentDisplayStatus Value);
HRESULT get_Status(EnrollmentEnrollStatus* pValue);
HRESULT put_Status(EnrollmentEnrollStatus Value);
HRESULT get_Error(int* pValue);
HRESULT put_Error(HRESULT Value);
HRESULT get_ErrorText(BSTR* pValue);
}
enum X509ProviderType
{
XCN_PROV_NONE = 0,
XCN_PROV_RSA_FULL = 1,
XCN_PROV_RSA_SIG = 2,
XCN_PROV_DSS = 3,
XCN_PROV_FORTEZZA = 4,
XCN_PROV_MS_EXCHANGE = 5,
XCN_PROV_SSL = 6,
XCN_PROV_RSA_SCHANNEL = 12,
XCN_PROV_DSS_DH = 13,
XCN_PROV_EC_ECDSA_SIG = 14,
XCN_PROV_EC_ECNRA_SIG = 15,
XCN_PROV_EC_ECDSA_FULL = 16,
XCN_PROV_EC_ECNRA_FULL = 17,
XCN_PROV_DH_SCHANNEL = 18,
XCN_PROV_SPYRUS_LYNKS = 20,
XCN_PROV_RNG = 21,
XCN_PROV_INTEL_SEC = 22,
XCN_PROV_REPLACE_OWF = 23,
XCN_PROV_RSA_AES = 24,
}
enum AlgorithmType
{
XCN_BCRYPT_UNKNOWN_INTERFACE = 0,
XCN_BCRYPT_CIPHER_INTERFACE = 1,
XCN_BCRYPT_HASH_INTERFACE = 2,
XCN_BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE = 3,
XCN_BCRYPT_SIGNATURE_INTERFACE = 5,
XCN_BCRYPT_SECRET_AGREEMENT_INTERFACE = 4,
XCN_BCRYPT_RNG_INTERFACE = 6,
XCN_BCRYPT_KEY_DERIVATION_INTERFACE = 7,
}
enum AlgorithmOperationFlags
{
XCN_NCRYPT_NO_OPERATION = 0,
XCN_NCRYPT_CIPHER_OPERATION = 1,
XCN_NCRYPT_HASH_OPERATION = 2,
XCN_NCRYPT_ASYMMETRIC_ENCRYPTION_OPERATION = 4,
XCN_NCRYPT_SECRET_AGREEMENT_OPERATION = 8,
XCN_NCRYPT_SIGNATURE_OPERATION = 16,
XCN_NCRYPT_RNG_OPERATION = 32,
XCN_NCRYPT_KEY_DERIVATION_OPERATION = 64,
XCN_NCRYPT_ANY_ASYMMETRIC_OPERATION = 28,
XCN_NCRYPT_PREFER_SIGNATURE_ONLY_OPERATION = 2097152,
XCN_NCRYPT_PREFER_NON_SIGNATURE_OPERATION = 4194304,
XCN_NCRYPT_EXACT_MATCH_OPERATION = 8388608,
XCN_NCRYPT_PREFERENCE_MASK_OPERATION = 14680064,
}
const GUID IID_ICspAlgorithm = {0x728AB305, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB305, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICspAlgorithm : IDispatch
{
HRESULT GetAlgorithmOid(int Length, AlgorithmFlags AlgFlags, IObjectId* ppValue);
HRESULT get_DefaultLength(int* pValue);
HRESULT get_IncrementLength(int* pValue);
HRESULT get_LongName(BSTR* pValue);
HRESULT get_Valid(short* pValue);
HRESULT get_MaxLength(int* pValue);
HRESULT get_MinLength(int* pValue);
HRESULT get_Name(BSTR* pValue);
HRESULT get_Type(AlgorithmType* pValue);
HRESULT get_Operations(AlgorithmOperationFlags* pValue);
}
const GUID IID_ICspAlgorithms = {0x728AB306, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB306, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICspAlgorithms : IDispatch
{
HRESULT get_ItemByIndex(int Index, ICspAlgorithm* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(ICspAlgorithm pVal);
HRESULT Remove(int Index);
HRESULT Clear();
HRESULT get_ItemByName(BSTR strName, ICspAlgorithm* ppValue);
HRESULT get_IndexByObjectId(IObjectId pObjectId, int* pIndex);
}
enum X509KeySpec
{
XCN_AT_NONE = 0,
XCN_AT_KEYEXCHANGE = 1,
XCN_AT_SIGNATURE = 2,
}
const GUID IID_ICspInformation = {0x728AB307, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB307, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICspInformation : IDispatch
{
HRESULT InitializeFromName(BSTR strName);
HRESULT InitializeFromType(X509ProviderType Type, IObjectId pAlgorithm, short MachineContext);
HRESULT get_CspAlgorithms(ICspAlgorithms* ppValue);
HRESULT get_HasHardwareRandomNumberGenerator(short* pValue);
HRESULT get_IsHardwareDevice(short* pValue);
HRESULT get_IsRemovable(short* pValue);
HRESULT get_IsSoftwareDevice(short* pValue);
HRESULT get_Valid(short* pValue);
HRESULT get_MaxKeyContainerNameLength(int* pValue);
HRESULT get_Name(BSTR* pValue);
HRESULT get_Type(X509ProviderType* pValue);
HRESULT get_Version(int* pValue);
HRESULT get_KeySpec(X509KeySpec* pValue);
HRESULT get_IsSmartCard(short* pValue);
HRESULT GetDefaultSecurityDescriptor(short MachineContext, BSTR* pValue);
HRESULT get_LegacyCsp(short* pValue);
HRESULT GetCspStatusFromOperations(IObjectId pAlgorithm, AlgorithmOperationFlags Operations, ICspStatus* ppValue);
}
const GUID IID_ICspInformations = {0x728AB308, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB308, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICspInformations : IDispatch
{
HRESULT get_ItemByIndex(int Index, ICspInformation* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(ICspInformation pVal);
HRESULT Remove(int Index);
HRESULT Clear();
HRESULT AddAvailableCsps();
HRESULT get_ItemByName(BSTR strName, ICspInformation* ppCspInformation);
HRESULT GetCspStatusFromProviderName(BSTR strProviderName, X509KeySpec LegacyKeySpec, ICspStatus* ppValue);
HRESULT GetCspStatusesFromOperations(AlgorithmOperationFlags Operations, ICspInformation pCspInformation, ICspStatuses* ppValue);
HRESULT GetEncryptionCspAlgorithms(ICspInformation pCspInformation, ICspAlgorithms* ppValue);
HRESULT GetHashAlgorithms(ICspInformation pCspInformation, IObjectIds* ppValue);
}
const GUID IID_ICspStatus = {0x728AB309, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB309, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICspStatus : IDispatch
{
HRESULT Initialize(ICspInformation pCsp, ICspAlgorithm pAlgorithm);
HRESULT get_Ordinal(int* pValue);
HRESULT put_Ordinal(int Value);
HRESULT get_CspAlgorithm(ICspAlgorithm* ppValue);
HRESULT get_CspInformation(ICspInformation* ppValue);
HRESULT get_EnrollmentStatus(IX509EnrollmentStatus* ppValue);
HRESULT get_DisplayName(BSTR* pValue);
}
const GUID IID_ICspStatuses = {0x728AB30A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB30A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICspStatuses : IDispatch
{
HRESULT get_ItemByIndex(int Index, ICspStatus* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(ICspStatus pVal);
HRESULT Remove(int Index);
HRESULT Clear();
HRESULT get_ItemByName(BSTR strCspName, BSTR strAlgorithmName, ICspStatus* ppValue);
HRESULT get_ItemByOrdinal(int Ordinal, ICspStatus* ppValue);
HRESULT get_ItemByOperations(BSTR strCspName, BSTR strAlgorithmName, AlgorithmOperationFlags Operations, ICspStatus* ppValue);
HRESULT get_ItemByProvider(ICspStatus pCspStatus, ICspStatus* ppValue);
}
enum KeyIdentifierHashAlgorithm
{
SKIHashDefault = 0,
SKIHashSha1 = 1,
SKIHashCapiSha1 = 2,
SKIHashSha256 = 3,
SKIHashHPKP = 5,
}
const GUID IID_IX509PublicKey = {0x728AB30B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB30B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509PublicKey : IDispatch
{
HRESULT Initialize(IObjectId pObjectId, BSTR strEncodedKey, BSTR strEncodedParameters, EncodingType Encoding);
HRESULT InitializeFromEncodedPublicKeyInfo(BSTR strEncodedPublicKeyInfo, EncodingType Encoding);
HRESULT get_Algorithm(IObjectId* ppValue);
HRESULT get_Length(int* pValue);
HRESULT get_EncodedKey(EncodingType Encoding, BSTR* pValue);
HRESULT get_EncodedParameters(EncodingType Encoding, BSTR* pValue);
HRESULT ComputeKeyIdentifier(KeyIdentifierHashAlgorithm Algorithm, EncodingType Encoding, BSTR* pValue);
}
enum X509PrivateKeyExportFlags
{
XCN_NCRYPT_ALLOW_EXPORT_NONE = 0,
XCN_NCRYPT_ALLOW_EXPORT_FLAG = 1,
XCN_NCRYPT_ALLOW_PLAINTEXT_EXPORT_FLAG = 2,
XCN_NCRYPT_ALLOW_ARCHIVING_FLAG = 4,
XCN_NCRYPT_ALLOW_PLAINTEXT_ARCHIVING_FLAG = 8,
}
enum X509PrivateKeyUsageFlags
{
XCN_NCRYPT_ALLOW_USAGES_NONE = 0,
XCN_NCRYPT_ALLOW_DECRYPT_FLAG = 1,
XCN_NCRYPT_ALLOW_SIGNING_FLAG = 2,
XCN_NCRYPT_ALLOW_KEY_AGREEMENT_FLAG = 4,
XCN_NCRYPT_ALLOW_KEY_IMPORT_FLAG = 8,
XCN_NCRYPT_ALLOW_ALL_USAGES = 16777215,
}
enum X509PrivateKeyProtection
{
XCN_NCRYPT_UI_NO_PROTECTION_FLAG = 0,
XCN_NCRYPT_UI_PROTECT_KEY_FLAG = 1,
XCN_NCRYPT_UI_FORCE_HIGH_PROTECTION_FLAG = 2,
XCN_NCRYPT_UI_FINGERPRINT_PROTECTION_FLAG = 4,
XCN_NCRYPT_UI_APPCONTAINER_ACCESS_MEDIUM_FLAG = 8,
}
enum X509PrivateKeyVerify
{
VerifyNone = 0,
VerifySilent = 1,
VerifySmartCardNone = 2,
VerifySmartCardSilent = 3,
VerifyAllowUI = 4,
}
const GUID IID_IX509PrivateKey = {0x728AB30C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB30C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509PrivateKey : IDispatch
{
HRESULT Open();
HRESULT Create();
HRESULT Close();
HRESULT Delete();
HRESULT Verify(X509PrivateKeyVerify VerifyType);
HRESULT Import(BSTR strExportType, BSTR strEncodedKey, EncodingType Encoding);
HRESULT Export(BSTR strExportType, EncodingType Encoding, BSTR* pstrEncodedKey);
HRESULT ExportPublicKey(IX509PublicKey* ppPublicKey);
HRESULT get_ContainerName(BSTR* pValue);
HRESULT put_ContainerName(BSTR Value);
HRESULT get_ContainerNamePrefix(BSTR* pValue);
HRESULT put_ContainerNamePrefix(BSTR Value);
HRESULT get_ReaderName(BSTR* pValue);
HRESULT put_ReaderName(BSTR Value);
HRESULT get_CspInformations(ICspInformations* ppValue);
HRESULT put_CspInformations(ICspInformations pValue);
HRESULT get_CspStatus(ICspStatus* ppValue);
HRESULT put_CspStatus(ICspStatus pValue);
HRESULT get_ProviderName(BSTR* pValue);
HRESULT put_ProviderName(BSTR Value);
HRESULT get_ProviderType(X509ProviderType* pValue);
HRESULT put_ProviderType(X509ProviderType Value);
HRESULT get_LegacyCsp(short* pValue);
HRESULT put_LegacyCsp(short Value);
HRESULT get_Algorithm(IObjectId* ppValue);
HRESULT put_Algorithm(IObjectId pValue);
HRESULT get_KeySpec(X509KeySpec* pValue);
HRESULT put_KeySpec(X509KeySpec Value);
HRESULT get_Length(int* pValue);
HRESULT put_Length(int Value);
HRESULT get_ExportPolicy(X509PrivateKeyExportFlags* pValue);
HRESULT put_ExportPolicy(X509PrivateKeyExportFlags Value);
HRESULT get_KeyUsage(X509PrivateKeyUsageFlags* pValue);
HRESULT put_KeyUsage(X509PrivateKeyUsageFlags Value);
HRESULT get_KeyProtection(X509PrivateKeyProtection* pValue);
HRESULT put_KeyProtection(X509PrivateKeyProtection Value);
HRESULT get_MachineContext(short* pValue);
HRESULT put_MachineContext(short Value);
HRESULT get_SecurityDescriptor(BSTR* pValue);
HRESULT put_SecurityDescriptor(BSTR Value);
HRESULT get_Certificate(EncodingType Encoding, BSTR* pValue);
HRESULT put_Certificate(EncodingType Encoding, BSTR Value);
HRESULT get_UniqueContainerName(BSTR* pValue);
HRESULT get_Opened(short* pValue);
HRESULT get_DefaultContainer(short* pValue);
HRESULT get_Existing(short* pValue);
HRESULT put_Existing(short Value);
HRESULT get_Silent(short* pValue);
HRESULT put_Silent(short Value);
HRESULT get_ParentWindow(int* pValue);
HRESULT put_ParentWindow(int Value);
HRESULT get_UIContextMessage(BSTR* pValue);
HRESULT put_UIContextMessage(BSTR Value);
HRESULT put_Pin(BSTR Value);
HRESULT get_FriendlyName(BSTR* pValue);
HRESULT put_FriendlyName(BSTR Value);
HRESULT get_Description(BSTR* pValue);
HRESULT put_Description(BSTR Value);
}
enum X509HardwareKeyUsageFlags
{
XCN_NCRYPT_PCP_NONE = 0,
XCN_NCRYPT_TPM12_PROVIDER = 65536,
XCN_NCRYPT_PCP_SIGNATURE_KEY = 1,
XCN_NCRYPT_PCP_ENCRYPTION_KEY = 2,
XCN_NCRYPT_PCP_GENERIC_KEY = 3,
XCN_NCRYPT_PCP_STORAGE_KEY = 4,
XCN_NCRYPT_PCP_IDENTITY_KEY = 8,
}
enum X509KeyParametersExportType
{
XCN_CRYPT_OID_USE_CURVE_NONE = 0,
XCN_CRYPT_OID_USE_CURVE_NAME_FOR_ENCODE_FLAG = 536870912,
XCN_CRYPT_OID_USE_CURVE_PARAMETERS_FOR_ENCODE_FLAG = 268435456,
}
const GUID IID_IX509PrivateKey2 = {0x728AB362, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB362, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509PrivateKey2 : IX509PrivateKey
{
HRESULT get_HardwareKeyUsage(X509HardwareKeyUsageFlags* pValue);
HRESULT put_HardwareKeyUsage(X509HardwareKeyUsageFlags Value);
HRESULT get_AlternateStorageLocation(BSTR* pValue);
HRESULT put_AlternateStorageLocation(BSTR Value);
HRESULT get_AlgorithmName(BSTR* pValue);
HRESULT put_AlgorithmName(BSTR Value);
HRESULT get_AlgorithmParameters(EncodingType Encoding, BSTR* pValue);
HRESULT put_AlgorithmParameters(EncodingType Encoding, BSTR Value);
HRESULT get_ParametersExportType(X509KeyParametersExportType* pValue);
HRESULT put_ParametersExportType(X509KeyParametersExportType Value);
}
const GUID IID_IX509EndorsementKey = {0xB11CD855, 0xF4C4, 0x4FC6, [0xB7, 0x10, 0x44, 0x22, 0x23, 0x7F, 0x09, 0xE9]};
@GUID(0xB11CD855, 0xF4C4, 0x4FC6, [0xB7, 0x10, 0x44, 0x22, 0x23, 0x7F, 0x09, 0xE9]);
interface IX509EndorsementKey : IDispatch
{
HRESULT get_ProviderName(BSTR* pValue);
HRESULT put_ProviderName(BSTR Value);
HRESULT get_Length(int* pValue);
HRESULT get_Opened(short* pValue);
HRESULT AddCertificate(EncodingType Encoding, BSTR strCertificate);
HRESULT RemoveCertificate(EncodingType Encoding, BSTR strCertificate);
HRESULT GetCertificateByIndex(short ManufacturerOnly, int dwIndex, EncodingType Encoding, BSTR* pValue);
HRESULT GetCertificateCount(short ManufacturerOnly, int* pCount);
HRESULT ExportPublicKey(IX509PublicKey* ppPublicKey);
HRESULT Open();
HRESULT Close();
}
const GUID IID_IX509Extension = {0x728AB30D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB30D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509Extension : IDispatch
{
HRESULT Initialize(IObjectId pObjectId, EncodingType Encoding, BSTR strEncodedData);
HRESULT get_ObjectId(IObjectId* ppValue);
HRESULT get_RawData(EncodingType Encoding, BSTR* pValue);
HRESULT get_Critical(short* pValue);
HRESULT put_Critical(short Value);
}
const GUID IID_IX509Extensions = {0x728AB30E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB30E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509Extensions : IDispatch
{
HRESULT get_ItemByIndex(int Index, IX509Extension* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(IX509Extension pVal);
HRESULT Remove(int Index);
HRESULT Clear();
HRESULT get_IndexByObjectId(IObjectId pObjectId, int* pIndex);
HRESULT AddRange(IX509Extensions pValue);
}
enum X509KeyUsageFlags
{
XCN_CERT_NO_KEY_USAGE = 0,
XCN_CERT_DIGITAL_SIGNATURE_KEY_USAGE = 128,
XCN_CERT_NON_REPUDIATION_KEY_USAGE = 64,
XCN_CERT_KEY_ENCIPHERMENT_KEY_USAGE = 32,
XCN_CERT_DATA_ENCIPHERMENT_KEY_USAGE = 16,
XCN_CERT_KEY_AGREEMENT_KEY_USAGE = 8,
XCN_CERT_KEY_CERT_SIGN_KEY_USAGE = 4,
XCN_CERT_OFFLINE_CRL_SIGN_KEY_USAGE = 2,
XCN_CERT_CRL_SIGN_KEY_USAGE = 2,
XCN_CERT_ENCIPHER_ONLY_KEY_USAGE = 1,
XCN_CERT_DECIPHER_ONLY_KEY_USAGE = 32768,
}
const GUID IID_IX509ExtensionKeyUsage = {0x728AB30F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB30F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509ExtensionKeyUsage : IX509Extension
{
HRESULT InitializeEncode(X509KeyUsageFlags UsageFlags);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_KeyUsage(X509KeyUsageFlags* pValue);
}
const GUID IID_IX509ExtensionEnhancedKeyUsage = {0x728AB310, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB310, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509ExtensionEnhancedKeyUsage : IX509Extension
{
HRESULT InitializeEncode(IObjectIds pValue);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_EnhancedKeyUsage(IObjectIds* ppValue);
}
const GUID IID_IX509ExtensionTemplateName = {0x728AB311, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB311, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509ExtensionTemplateName : IX509Extension
{
HRESULT InitializeEncode(BSTR strTemplateName);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_TemplateName(BSTR* pValue);
}
const GUID IID_IX509ExtensionTemplate = {0x728AB312, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB312, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509ExtensionTemplate : IX509Extension
{
HRESULT InitializeEncode(IObjectId pTemplateOid, int MajorVersion, int MinorVersion);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_TemplateOid(IObjectId* ppValue);
HRESULT get_MajorVersion(int* pValue);
HRESULT get_MinorVersion(int* pValue);
}
enum AlternativeNameType
{
XCN_CERT_ALT_NAME_UNKNOWN = 0,
XCN_CERT_ALT_NAME_OTHER_NAME = 1,
XCN_CERT_ALT_NAME_RFC822_NAME = 2,
XCN_CERT_ALT_NAME_DNS_NAME = 3,
XCN_CERT_ALT_NAME_X400_ADDRESS = 4,
XCN_CERT_ALT_NAME_DIRECTORY_NAME = 5,
XCN_CERT_ALT_NAME_EDI_PARTY_NAME = 6,
XCN_CERT_ALT_NAME_URL = 7,
XCN_CERT_ALT_NAME_IP_ADDRESS = 8,
XCN_CERT_ALT_NAME_REGISTERED_ID = 9,
XCN_CERT_ALT_NAME_GUID = 10,
XCN_CERT_ALT_NAME_USER_PRINCIPLE_NAME = 11,
}
const GUID IID_IAlternativeName = {0x728AB313, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB313, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IAlternativeName : IDispatch
{
HRESULT InitializeFromString(AlternativeNameType Type, BSTR strValue);
HRESULT InitializeFromRawData(AlternativeNameType Type, EncodingType Encoding, BSTR strRawData);
HRESULT InitializeFromOtherName(IObjectId pObjectId, EncodingType Encoding, BSTR strRawData, short ToBeWrapped);
HRESULT get_Type(AlternativeNameType* pValue);
HRESULT get_StrValue(BSTR* pValue);
HRESULT get_ObjectId(IObjectId* ppValue);
HRESULT get_RawData(EncodingType Encoding, BSTR* pValue);
}
const GUID IID_IAlternativeNames = {0x728AB314, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB314, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IAlternativeNames : IDispatch
{
HRESULT get_ItemByIndex(int Index, IAlternativeName* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(IAlternativeName pVal);
HRESULT Remove(int Index);
HRESULT Clear();
}
const GUID IID_IX509ExtensionAlternativeNames = {0x728AB315, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB315, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509ExtensionAlternativeNames : IX509Extension
{
HRESULT InitializeEncode(IAlternativeNames pValue);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_AlternativeNames(IAlternativeNames* ppValue);
}
const GUID IID_IX509ExtensionBasicConstraints = {0x728AB316, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB316, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509ExtensionBasicConstraints : IX509Extension
{
HRESULT InitializeEncode(short IsCA, int PathLenConstraint);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_IsCA(short* pValue);
HRESULT get_PathLenConstraint(int* pValue);
}
const GUID IID_IX509ExtensionSubjectKeyIdentifier = {0x728AB317, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB317, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509ExtensionSubjectKeyIdentifier : IX509Extension
{
HRESULT InitializeEncode(EncodingType Encoding, BSTR strKeyIdentifier);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_SubjectKeyIdentifier(EncodingType Encoding, BSTR* pValue);
}
const GUID IID_IX509ExtensionAuthorityKeyIdentifier = {0x728AB318, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB318, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509ExtensionAuthorityKeyIdentifier : IX509Extension
{
HRESULT InitializeEncode(EncodingType Encoding, BSTR strKeyIdentifier);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_AuthorityKeyIdentifier(EncodingType Encoding, BSTR* pValue);
}
const GUID IID_ISmimeCapability = {0x728AB319, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB319, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ISmimeCapability : IDispatch
{
HRESULT Initialize(IObjectId pObjectId, int BitCount);
HRESULT get_ObjectId(IObjectId* ppValue);
HRESULT get_BitCount(int* pValue);
}
const GUID IID_ISmimeCapabilities = {0x728AB31A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB31A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ISmimeCapabilities : IDispatch
{
HRESULT get_ItemByIndex(int Index, ISmimeCapability* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(ISmimeCapability pVal);
HRESULT Remove(int Index);
HRESULT Clear();
HRESULT AddFromCsp(ICspInformation pValue);
HRESULT AddAvailableSmimeCapabilities(short MachineContext);
}
const GUID IID_IX509ExtensionSmimeCapabilities = {0x728AB31B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB31B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509ExtensionSmimeCapabilities : IX509Extension
{
HRESULT InitializeEncode(ISmimeCapabilities pValue);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_SmimeCapabilities(ISmimeCapabilities* ppValue);
}
enum PolicyQualifierType
{
PolicyQualifierTypeUnknown = 0,
PolicyQualifierTypeUrl = 1,
PolicyQualifierTypeUserNotice = 2,
PolicyQualifierTypeFlags = 3,
}
const GUID IID_IPolicyQualifier = {0x728AB31C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB31C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IPolicyQualifier : IDispatch
{
HRESULT InitializeEncode(BSTR strQualifier, PolicyQualifierType Type);
HRESULT get_ObjectId(IObjectId* ppValue);
HRESULT get_Qualifier(BSTR* pValue);
HRESULT get_Type(PolicyQualifierType* pValue);
HRESULT get_RawData(EncodingType Encoding, BSTR* pValue);
}
const GUID IID_IPolicyQualifiers = {0x728AB31D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB31D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IPolicyQualifiers : IDispatch
{
HRESULT get_ItemByIndex(int Index, IPolicyQualifier* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(IPolicyQualifier pVal);
HRESULT Remove(int Index);
HRESULT Clear();
}
const GUID IID_ICertificatePolicy = {0x728AB31E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB31E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertificatePolicy : IDispatch
{
HRESULT Initialize(IObjectId pValue);
HRESULT get_ObjectId(IObjectId* ppValue);
HRESULT get_PolicyQualifiers(IPolicyQualifiers* ppValue);
}
const GUID IID_ICertificatePolicies = {0x728AB31F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB31F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertificatePolicies : IDispatch
{
HRESULT get_ItemByIndex(int Index, ICertificatePolicy* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(ICertificatePolicy pVal);
HRESULT Remove(int Index);
HRESULT Clear();
}
const GUID IID_IX509ExtensionCertificatePolicies = {0x728AB320, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB320, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509ExtensionCertificatePolicies : IX509Extension
{
HRESULT InitializeEncode(ICertificatePolicies pValue);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_Policies(ICertificatePolicies* ppValue);
}
const GUID IID_IX509ExtensionMSApplicationPolicies = {0x728AB321, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB321, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509ExtensionMSApplicationPolicies : IX509Extension
{
HRESULT InitializeEncode(ICertificatePolicies pValue);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_Policies(ICertificatePolicies* ppValue);
}
const GUID IID_IX509Attribute = {0x728AB322, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB322, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509Attribute : IDispatch
{
HRESULT Initialize(IObjectId pObjectId, EncodingType Encoding, BSTR strEncodedData);
HRESULT get_ObjectId(IObjectId* ppValue);
HRESULT get_RawData(EncodingType Encoding, BSTR* pValue);
}
const GUID IID_IX509Attributes = {0x728AB323, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB323, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509Attributes : IDispatch
{
HRESULT get_ItemByIndex(int Index, IX509Attribute* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(IX509Attribute pVal);
HRESULT Remove(int Index);
HRESULT Clear();
}
const GUID IID_IX509AttributeExtensions = {0x728AB324, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB324, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509AttributeExtensions : IX509Attribute
{
HRESULT InitializeEncode(IX509Extensions pExtensions);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_X509Extensions(IX509Extensions* ppValue);
}
enum RequestClientInfoClientId
{
ClientIdNone = 0,
ClientIdXEnroll2003 = 1,
ClientIdAutoEnroll2003 = 2,
ClientIdWizard2003 = 3,
ClientIdCertReq2003 = 4,
ClientIdDefaultRequest = 5,
ClientIdAutoEnroll = 6,
ClientIdRequestWizard = 7,
ClientIdEOBO = 8,
ClientIdCertReq = 9,
ClientIdTest = 10,
ClientIdWinRT = 11,
ClientIdUserStart = 1000,
}
const GUID IID_IX509AttributeClientId = {0x728AB325, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB325, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509AttributeClientId : IX509Attribute
{
HRESULT InitializeEncode(RequestClientInfoClientId ClientId, BSTR strMachineDnsName, BSTR strUserSamName, BSTR strProcessName);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_ClientId(RequestClientInfoClientId* pValue);
HRESULT get_MachineDnsName(BSTR* pValue);
HRESULT get_UserSamName(BSTR* pValue);
HRESULT get_ProcessName(BSTR* pValue);
}
const GUID IID_IX509AttributeRenewalCertificate = {0x728AB326, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB326, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509AttributeRenewalCertificate : IX509Attribute
{
HRESULT InitializeEncode(EncodingType Encoding, BSTR strCert);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_RenewalCertificate(EncodingType Encoding, BSTR* pValue);
}
const GUID IID_IX509AttributeArchiveKey = {0x728AB327, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB327, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509AttributeArchiveKey : IX509Attribute
{
HRESULT InitializeEncode(IX509PrivateKey pKey, EncodingType Encoding, BSTR strCAXCert, IObjectId pAlgorithm, int EncryptionStrength);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_EncryptedKeyBlob(EncodingType Encoding, BSTR* pValue);
HRESULT get_EncryptionAlgorithm(IObjectId* ppValue);
HRESULT get_EncryptionStrength(int* pValue);
}
const GUID IID_IX509AttributeArchiveKeyHash = {0x728AB328, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB328, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509AttributeArchiveKeyHash : IX509Attribute
{
HRESULT InitializeEncodeFromEncryptedKeyBlob(EncodingType Encoding, BSTR strEncryptedKeyBlob);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_EncryptedKeyHashBlob(EncodingType Encoding, BSTR* pValue);
}
const GUID IID_IX509AttributeOSVersion = {0x728AB32A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB32A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509AttributeOSVersion : IX509Attribute
{
HRESULT InitializeEncode(BSTR strOSVersion);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_OSVersion(BSTR* pValue);
}
const GUID IID_IX509AttributeCspProvider = {0x728AB32B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB32B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509AttributeCspProvider : IX509Attribute
{
HRESULT InitializeEncode(X509KeySpec KeySpec, BSTR strProviderName, EncodingType Encoding, BSTR strSignature);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_KeySpec(X509KeySpec* pValue);
HRESULT get_ProviderName(BSTR* pValue);
HRESULT get_Signature(EncodingType Encoding, BSTR* pValue);
}
const GUID IID_ICryptAttribute = {0x728AB32C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB32C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICryptAttribute : IDispatch
{
HRESULT InitializeFromObjectId(IObjectId pObjectId);
HRESULT InitializeFromValues(IX509Attributes pAttributes);
HRESULT get_ObjectId(IObjectId* ppValue);
HRESULT get_Values(IX509Attributes* ppValue);
}
const GUID IID_ICryptAttributes = {0x728AB32D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB32D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICryptAttributes : IDispatch
{
HRESULT get_ItemByIndex(int Index, ICryptAttribute* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(ICryptAttribute pVal);
HRESULT Remove(int Index);
HRESULT Clear();
HRESULT get_IndexByObjectId(IObjectId pObjectId, int* pIndex);
HRESULT AddRange(ICryptAttributes pValue);
}
enum CERTENROLL_PROPERTYID
{
XCN_PROPERTYID_NONE = 0,
XCN_CERT_KEY_PROV_HANDLE_PROP_ID = 1,
XCN_CERT_KEY_PROV_INFO_PROP_ID = 2,
XCN_CERT_SHA1_HASH_PROP_ID = 3,
XCN_CERT_MD5_HASH_PROP_ID = 4,
XCN_CERT_HASH_PROP_ID = 3,
XCN_CERT_KEY_CONTEXT_PROP_ID = 5,
XCN_CERT_KEY_SPEC_PROP_ID = 6,
XCN_CERT_IE30_RESERVED_PROP_ID = 7,
XCN_CERT_PUBKEY_HASH_RESERVED_PROP_ID = 8,
XCN_CERT_ENHKEY_USAGE_PROP_ID = 9,
XCN_CERT_CTL_USAGE_PROP_ID = 9,
XCN_CERT_NEXT_UPDATE_LOCATION_PROP_ID = 10,
XCN_CERT_FRIENDLY_NAME_PROP_ID = 11,
XCN_CERT_PVK_FILE_PROP_ID = 12,
XCN_CERT_DESCRIPTION_PROP_ID = 13,
XCN_CERT_ACCESS_STATE_PROP_ID = 14,
XCN_CERT_SIGNATURE_HASH_PROP_ID = 15,
XCN_CERT_SMART_CARD_DATA_PROP_ID = 16,
XCN_CERT_EFS_PROP_ID = 17,
XCN_CERT_FORTEZZA_DATA_PROP_ID = 18,
XCN_CERT_ARCHIVED_PROP_ID = 19,
XCN_CERT_KEY_IDENTIFIER_PROP_ID = 20,
XCN_CERT_AUTO_ENROLL_PROP_ID = 21,
XCN_CERT_PUBKEY_ALG_PARA_PROP_ID = 22,
XCN_CERT_CROSS_CERT_DIST_POINTS_PROP_ID = 23,
XCN_CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID = 24,
XCN_CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID = 25,
XCN_CERT_ENROLLMENT_PROP_ID = 26,
XCN_CERT_DATE_STAMP_PROP_ID = 27,
XCN_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID = 28,
XCN_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID = 29,
XCN_CERT_EXTENDED_ERROR_INFO_PROP_ID = 30,
XCN_CERT_RENEWAL_PROP_ID = 64,
XCN_CERT_ARCHIVED_KEY_HASH_PROP_ID = 65,
XCN_CERT_AUTO_ENROLL_RETRY_PROP_ID = 66,
XCN_CERT_AIA_URL_RETRIEVED_PROP_ID = 67,
XCN_CERT_AUTHORITY_INFO_ACCESS_PROP_ID = 68,
XCN_CERT_BACKED_UP_PROP_ID = 69,
XCN_CERT_OCSP_RESPONSE_PROP_ID = 70,
XCN_CERT_REQUEST_ORIGINATOR_PROP_ID = 71,
XCN_CERT_SOURCE_LOCATION_PROP_ID = 72,
XCN_CERT_SOURCE_URL_PROP_ID = 73,
XCN_CERT_NEW_KEY_PROP_ID = 74,
XCN_CERT_OCSP_CACHE_PREFIX_PROP_ID = 75,
XCN_CERT_SMART_CARD_ROOT_INFO_PROP_ID = 76,
XCN_CERT_NO_AUTO_EXPIRE_CHECK_PROP_ID = 77,
XCN_CERT_NCRYPT_KEY_HANDLE_PROP_ID = 78,
XCN_CERT_HCRYPTPROV_OR_NCRYPT_KEY_HANDLE_PROP_ID = 79,
XCN_CERT_SUBJECT_INFO_ACCESS_PROP_ID = 80,
XCN_CERT_CA_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID = 81,
XCN_CERT_CA_DISABLE_CRL_PROP_ID = 82,
XCN_CERT_ROOT_PROGRAM_CERT_POLICIES_PROP_ID = 83,
XCN_CERT_ROOT_PROGRAM_NAME_CONSTRAINTS_PROP_ID = 84,
XCN_CERT_SUBJECT_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID = 85,
XCN_CERT_SUBJECT_DISABLE_CRL_PROP_ID = 86,
XCN_CERT_CEP_PROP_ID = 87,
XCN_CERT_SIGN_HASH_CNG_ALG_PROP_ID = 89,
XCN_CERT_SCARD_PIN_ID_PROP_ID = 90,
XCN_CERT_SCARD_PIN_INFO_PROP_ID = 91,
XCN_CERT_SUBJECT_PUB_KEY_BIT_LENGTH_PROP_ID = 92,
XCN_CERT_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID = 93,
XCN_CERT_ISSUER_PUB_KEY_BIT_LENGTH_PROP_ID = 94,
XCN_CERT_ISSUER_CHAIN_SIGN_HASH_CNG_ALG_PROP_ID = 95,
XCN_CERT_ISSUER_CHAIN_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID = 96,
XCN_CERT_NO_EXPIRE_NOTIFICATION_PROP_ID = 97,
XCN_CERT_AUTH_ROOT_SHA256_HASH_PROP_ID = 98,
XCN_CERT_NCRYPT_KEY_HANDLE_TRANSFER_PROP_ID = 99,
XCN_CERT_HCRYPTPROV_TRANSFER_PROP_ID = 100,
XCN_CERT_SMART_CARD_READER_PROP_ID = 101,
XCN_CERT_SEND_AS_TRUSTED_ISSUER_PROP_ID = 102,
XCN_CERT_KEY_REPAIR_ATTEMPTED_PROP_ID = 103,
XCN_CERT_DISALLOWED_FILETIME_PROP_ID = 104,
XCN_CERT_ROOT_PROGRAM_CHAIN_POLICIES_PROP_ID = 105,
XCN_CERT_SMART_CARD_READER_NON_REMOVABLE_PROP_ID = 106,
XCN_CERT_SHA256_HASH_PROP_ID = 107,
XCN_CERT_SCEP_SERVER_CERTS_PROP_ID = 108,
XCN_CERT_SCEP_RA_SIGNATURE_CERT_PROP_ID = 109,
XCN_CERT_SCEP_RA_ENCRYPTION_CERT_PROP_ID = 110,
XCN_CERT_SCEP_CA_CERT_PROP_ID = 111,
XCN_CERT_SCEP_SIGNER_CERT_PROP_ID = 112,
XCN_CERT_SCEP_NONCE_PROP_ID = 113,
XCN_CERT_SCEP_ENCRYPT_HASH_CNG_ALG_PROP_ID = 114,
XCN_CERT_SCEP_FLAGS_PROP_ID = 115,
XCN_CERT_SCEP_GUID_PROP_ID = 116,
XCN_CERT_SERIALIZABLE_KEY_CONTEXT_PROP_ID = 117,
XCN_CERT_ISOLATED_KEY_PROP_ID = 118,
XCN_CERT_SERIAL_CHAIN_PROP_ID = 119,
XCN_CERT_KEY_CLASSIFICATION_PROP_ID = 120,
XCN_CERT_DISALLOWED_ENHKEY_USAGE_PROP_ID = 122,
XCN_CERT_NONCOMPLIANT_ROOT_URL_PROP_ID = 123,
XCN_CERT_PIN_SHA256_HASH_PROP_ID = 124,
XCN_CERT_CLR_DELETE_KEY_PROP_ID = 125,
XCN_CERT_NOT_BEFORE_FILETIME_PROP_ID = 126,
XCN_CERT_CERT_NOT_BEFORE_ENHKEY_USAGE_PROP_ID = 127,
XCN_CERT_FIRST_RESERVED_PROP_ID = 128,
XCN_CERT_LAST_RESERVED_PROP_ID = 32767,
XCN_CERT_FIRST_USER_PROP_ID = 32768,
XCN_CERT_LAST_USER_PROP_ID = 65535,
XCN_CERT_STORE_LOCALIZED_NAME_PROP_ID = 4096,
}
const GUID IID_ICertProperty = {0x728AB32E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB32E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertProperty : IDispatch
{
HRESULT InitializeFromCertificate(short MachineContext, EncodingType Encoding, BSTR strCertificate);
HRESULT InitializeDecode(EncodingType Encoding, BSTR strEncodedData);
HRESULT get_PropertyId(CERTENROLL_PROPERTYID* pValue);
HRESULT put_PropertyId(CERTENROLL_PROPERTYID Value);
HRESULT get_RawData(EncodingType Encoding, BSTR* pValue);
HRESULT RemoveFromCertificate(short MachineContext, EncodingType Encoding, BSTR strCertificate);
HRESULT SetValueOnCertificate(short MachineContext, EncodingType Encoding, BSTR strCertificate);
}
const GUID IID_ICertProperties = {0x728AB32F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB32F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertProperties : IDispatch
{
HRESULT get_ItemByIndex(int Index, ICertProperty* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(ICertProperty pVal);
HRESULT Remove(int Index);
HRESULT Clear();
HRESULT InitializeFromCertificate(short MachineContext, EncodingType Encoding, BSTR strCertificate);
}
const GUID IID_ICertPropertyFriendlyName = {0x728AB330, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB330, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertPropertyFriendlyName : ICertProperty
{
HRESULT Initialize(BSTR strFriendlyName);
HRESULT get_FriendlyName(BSTR* pValue);
}
const GUID IID_ICertPropertyDescription = {0x728AB331, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB331, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertPropertyDescription : ICertProperty
{
HRESULT Initialize(BSTR strDescription);
HRESULT get_Description(BSTR* pValue);
}
const GUID IID_ICertPropertyAutoEnroll = {0x728AB332, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB332, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertPropertyAutoEnroll : ICertProperty
{
HRESULT Initialize(BSTR strTemplateName);
HRESULT get_TemplateName(BSTR* pValue);
}
const GUID IID_ICertPropertyRequestOriginator = {0x728AB333, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB333, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertPropertyRequestOriginator : ICertProperty
{
HRESULT Initialize(BSTR strRequestOriginator);
HRESULT InitializeFromLocalRequestOriginator();
HRESULT get_RequestOriginator(BSTR* pValue);
}
const GUID IID_ICertPropertySHA1Hash = {0x728AB334, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB334, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertPropertySHA1Hash : ICertProperty
{
HRESULT Initialize(EncodingType Encoding, BSTR strRenewalValue);
HRESULT get_SHA1Hash(EncodingType Encoding, BSTR* pValue);
}
const GUID IID_ICertPropertyKeyProvInfo = {0x728AB336, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB336, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertPropertyKeyProvInfo : ICertProperty
{
HRESULT Initialize(IX509PrivateKey pValue);
HRESULT get_PrivateKey(IX509PrivateKey* ppValue);
}
const GUID IID_ICertPropertyArchived = {0x728AB337, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB337, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertPropertyArchived : ICertProperty
{
HRESULT Initialize(short ArchivedValue);
HRESULT get_Archived(short* pValue);
}
const GUID IID_ICertPropertyBackedUp = {0x728AB338, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB338, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertPropertyBackedUp : ICertProperty
{
HRESULT InitializeFromCurrentTime(short BackedUpValue);
HRESULT Initialize(short BackedUpValue, double Date);
HRESULT get_BackedUpValue(short* pValue);
HRESULT get_BackedUpTime(double* pDate);
}
const GUID IID_ICertPropertyEnrollment = {0x728AB339, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB339, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertPropertyEnrollment : ICertProperty
{
HRESULT Initialize(int RequestId, BSTR strCADnsName, BSTR strCAName, BSTR strFriendlyName);
HRESULT get_RequestId(int* pValue);
HRESULT get_CADnsName(BSTR* pValue);
HRESULT get_CAName(BSTR* pValue);
HRESULT get_FriendlyName(BSTR* pValue);
}
const GUID IID_ICertPropertyRenewal = {0x728AB33A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB33A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertPropertyRenewal : ICertProperty
{
HRESULT Initialize(EncodingType Encoding, BSTR strRenewalValue);
HRESULT InitializeFromCertificateHash(short MachineContext, EncodingType Encoding, BSTR strCertificate);
HRESULT get_Renewal(EncodingType Encoding, BSTR* pValue);
}
const GUID IID_ICertPropertyArchivedKeyHash = {0x728AB33B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB33B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertPropertyArchivedKeyHash : ICertProperty
{
HRESULT Initialize(EncodingType Encoding, BSTR strArchivedKeyHashValue);
HRESULT get_ArchivedKeyHash(EncodingType Encoding, BSTR* pValue);
}
enum EnrollmentPolicyServerPropertyFlags
{
DefaultNone = 0,
DefaultPolicyServer = 1,
}
enum PolicyServerUrlFlags
{
PsfNone = 0,
PsfLocationGroupPolicy = 1,
PsfLocationRegistry = 2,
PsfUseClientId = 4,
PsfAutoEnrollmentEnabled = 16,
PsfAllowUnTrustedCA = 32,
}
const GUID IID_ICertPropertyEnrollmentPolicyServer = {0x728AB34A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB34A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertPropertyEnrollmentPolicyServer : ICertProperty
{
HRESULT Initialize(EnrollmentPolicyServerPropertyFlags PropertyFlags, X509EnrollmentAuthFlags AuthFlags, X509EnrollmentAuthFlags EnrollmentServerAuthFlags, PolicyServerUrlFlags UrlFlags, BSTR strRequestId, BSTR strUrl, BSTR strId, BSTR strEnrollmentServerUrl);
HRESULT GetPolicyServerUrl(BSTR* pValue);
HRESULT GetPolicyServerId(BSTR* pValue);
HRESULT GetEnrollmentServerUrl(BSTR* pValue);
HRESULT GetRequestIdString(BSTR* pValue);
HRESULT GetPropertyFlags(EnrollmentPolicyServerPropertyFlags* pValue);
HRESULT GetUrlFlags(PolicyServerUrlFlags* pValue);
HRESULT GetAuthentication(X509EnrollmentAuthFlags* pValue);
HRESULT GetEnrollmentServerAuthentication(X509EnrollmentAuthFlags* pValue);
}
const GUID IID_IX509SignatureInformation = {0x728AB33C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB33C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509SignatureInformation : IDispatch
{
HRESULT get_HashAlgorithm(IObjectId* ppValue);
HRESULT put_HashAlgorithm(IObjectId pValue);
HRESULT get_PublicKeyAlgorithm(IObjectId* ppValue);
HRESULT put_PublicKeyAlgorithm(IObjectId pValue);
HRESULT get_Parameters(EncodingType Encoding, BSTR* pValue);
HRESULT put_Parameters(EncodingType Encoding, BSTR Value);
HRESULT get_AlternateSignatureAlgorithm(short* pValue);
HRESULT put_AlternateSignatureAlgorithm(short Value);
HRESULT get_AlternateSignatureAlgorithmSet(short* pValue);
HRESULT get_NullSigned(short* pValue);
HRESULT put_NullSigned(short Value);
HRESULT GetSignatureAlgorithm(short Pkcs7Signature, short SignatureKey, IObjectId* ppValue);
HRESULT SetDefaultValues();
}
const GUID IID_ISignerCertificate = {0x728AB33D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB33D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ISignerCertificate : IDispatch
{
HRESULT Initialize(short MachineContext, X509PrivateKeyVerify VerifyType, EncodingType Encoding, BSTR strCertificate);
HRESULT get_Certificate(EncodingType Encoding, BSTR* pValue);
HRESULT get_PrivateKey(IX509PrivateKey* ppValue);
HRESULT get_Silent(short* pValue);
HRESULT put_Silent(short Value);
HRESULT get_ParentWindow(int* pValue);
HRESULT put_ParentWindow(int Value);
HRESULT get_UIContextMessage(BSTR* pValue);
HRESULT put_UIContextMessage(BSTR Value);
HRESULT put_Pin(BSTR Value);
HRESULT get_SignatureInformation(IX509SignatureInformation* ppValue);
}
const GUID IID_ISignerCertificates = {0x728AB33E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB33E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ISignerCertificates : IDispatch
{
HRESULT get_ItemByIndex(int Index, ISignerCertificate* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(ISignerCertificate pVal);
HRESULT Remove(int Index);
HRESULT Clear();
HRESULT Find(ISignerCertificate pSignerCert, int* piSignerCert);
}
const GUID IID_IX509NameValuePair = {0x728AB33F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB33F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509NameValuePair : IDispatch
{
HRESULT Initialize(BSTR strName, BSTR strValue);
HRESULT get_Value(BSTR* pValue);
HRESULT get_Name(BSTR* pValue);
}
const GUID IID_IX509NameValuePairs = {0x728AB340, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB340, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509NameValuePairs : IDispatch
{
HRESULT get_ItemByIndex(int Index, IX509NameValuePair* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(IX509NameValuePair pVal);
HRESULT Remove(int Index);
HRESULT Clear();
}
enum EnrollmentTemplateProperty
{
TemplatePropCommonName = 1,
TemplatePropFriendlyName = 2,
TemplatePropEKUs = 3,
TemplatePropCryptoProviders = 4,
TemplatePropMajorRevision = 5,
TemplatePropDescription = 6,
TemplatePropKeySpec = 7,
TemplatePropSchemaVersion = 8,
TemplatePropMinorRevision = 9,
TemplatePropRASignatureCount = 10,
TemplatePropMinimumKeySize = 11,
TemplatePropOID = 12,
TemplatePropSupersede = 13,
TemplatePropRACertificatePolicies = 14,
TemplatePropRAEKUs = 15,
TemplatePropCertificatePolicies = 16,
TemplatePropV1ApplicationPolicy = 17,
TemplatePropAsymmetricAlgorithm = 18,
TemplatePropKeySecurityDescriptor = 19,
TemplatePropSymmetricAlgorithm = 20,
TemplatePropSymmetricKeyLength = 21,
TemplatePropHashAlgorithm = 22,
TemplatePropKeyUsage = 23,
TemplatePropEnrollmentFlags = 24,
TemplatePropSubjectNameFlags = 25,
TemplatePropPrivateKeyFlags = 26,
TemplatePropGeneralFlags = 27,
TemplatePropSecurityDescriptor = 28,
TemplatePropExtensions = 29,
TemplatePropValidityPeriod = 30,
TemplatePropRenewalPeriod = 31,
}
const GUID IID_IX509CertificateTemplate = {0x54244A13, 0x555A, 0x4E22, [0x89, 0x6D, 0x1B, 0x0E, 0x52, 0xF7, 0x64, 0x06]};
@GUID(0x54244A13, 0x555A, 0x4E22, [0x89, 0x6D, 0x1B, 0x0E, 0x52, 0xF7, 0x64, 0x06]);
interface IX509CertificateTemplate : IDispatch
{
HRESULT get_Property(EnrollmentTemplateProperty property, VARIANT* pValue);
}
const GUID IID_IX509CertificateTemplates = {0x13B79003, 0x2181, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x13B79003, 0x2181, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509CertificateTemplates : IDispatch
{
HRESULT get_ItemByIndex(int Index, IX509CertificateTemplate* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(IX509CertificateTemplate pVal);
HRESULT Remove(int Index);
HRESULT Clear();
HRESULT get_ItemByName(BSTR bstrName, IX509CertificateTemplate* ppValue);
HRESULT get_ItemByOid(IObjectId pOid, IX509CertificateTemplate* ppValue);
}
enum CommitTemplateFlags
{
CommitFlagSaveTemplateGenerateOID = 1,
CommitFlagSaveTemplateUseCurrentOID = 2,
CommitFlagSaveTemplateOverwrite = 3,
CommitFlagDeleteTemplate = 4,
}
const GUID IID_IX509CertificateTemplateWritable = {0xF49466A7, 0x395A, 0x4E9E, [0xB6, 0xE7, 0x32, 0xB3, 0x31, 0x60, 0x0D, 0xC0]};
@GUID(0xF49466A7, 0x395A, 0x4E9E, [0xB6, 0xE7, 0x32, 0xB3, 0x31, 0x60, 0x0D, 0xC0]);
interface IX509CertificateTemplateWritable : IDispatch
{
HRESULT Initialize(IX509CertificateTemplate pValue);
HRESULT Commit(CommitTemplateFlags commitFlags, BSTR strServerContext);
HRESULT get_Property(EnrollmentTemplateProperty property, VARIANT* pValue);
HRESULT put_Property(EnrollmentTemplateProperty property, VARIANT value);
HRESULT get_Template(IX509CertificateTemplate* ppValue);
}
enum EnrollmentCAProperty
{
CAPropCommonName = 1,
CAPropDistinguishedName = 2,
CAPropSanitizedName = 3,
CAPropSanitizedShortName = 4,
CAPropDNSName = 5,
CAPropCertificateTypes = 6,
CAPropCertificate = 7,
CAPropDescription = 8,
CAPropWebServers = 9,
CAPropSiteName = 10,
CAPropSecurity = 11,
CAPropRenewalOnly = 12,
}
const GUID IID_ICertificationAuthority = {0x835D1F61, 0x1E95, 0x4BC8, [0xB4, 0xD3, 0x97, 0x6C, 0x42, 0xB9, 0x68, 0xF7]};
@GUID(0x835D1F61, 0x1E95, 0x4BC8, [0xB4, 0xD3, 0x97, 0x6C, 0x42, 0xB9, 0x68, 0xF7]);
interface ICertificationAuthority : IDispatch
{
HRESULT get_Property(EnrollmentCAProperty property, VARIANT* pValue);
}
const GUID IID_ICertificationAuthorities = {0x13B79005, 0x2181, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x13B79005, 0x2181, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface ICertificationAuthorities : IDispatch
{
HRESULT get_ItemByIndex(int Index, ICertificationAuthority* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(ICertificationAuthority pVal);
HRESULT Remove(int Index);
HRESULT Clear();
HRESULT ComputeSiteCosts();
HRESULT get_ItemByName(BSTR strName, ICertificationAuthority* ppValue);
}
enum X509EnrollmentPolicyLoadOption
{
LoadOptionDefault = 0,
LoadOptionCacheOnly = 1,
LoadOptionReload = 2,
LoadOptionRegisterForADChanges = 4,
}
enum EnrollmentPolicyFlags
{
DisableGroupPolicyList = 2,
DisableUserServerList = 4,
}
enum PolicyServerUrlPropertyID
{
PsPolicyID = 0,
PsFriendlyName = 1,
}
enum X509EnrollmentPolicyExportFlags
{
ExportTemplates = 1,
ExportOIDs = 2,
ExportCAs = 4,
}
const GUID IID_IX509EnrollmentPolicyServer = {0x13B79026, 0x2181, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x13B79026, 0x2181, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509EnrollmentPolicyServer : IDispatch
{
HRESULT Initialize(BSTR bstrPolicyServerUrl, BSTR bstrPolicyServerId, X509EnrollmentAuthFlags authFlags, short fIsUnTrusted, X509CertificateEnrollmentContext context);
HRESULT LoadPolicy(X509EnrollmentPolicyLoadOption option);
HRESULT GetTemplates(IX509CertificateTemplates* pTemplates);
HRESULT GetCAsForTemplate(IX509CertificateTemplate pTemplate, ICertificationAuthorities* ppCAs);
HRESULT GetCAs(ICertificationAuthorities* ppCAs);
HRESULT Validate();
HRESULT GetCustomOids(IObjectIds* ppObjectIds);
HRESULT GetNextUpdateTime(double* pDate);
HRESULT GetLastUpdateTime(double* pDate);
HRESULT GetPolicyServerUrl(BSTR* pValue);
HRESULT GetPolicyServerId(BSTR* pValue);
HRESULT GetFriendlyName(BSTR* pValue);
HRESULT GetIsDefaultCEP(short* pValue);
HRESULT GetUseClientId(short* pValue);
HRESULT GetAllowUnTrustedCA(short* pValue);
HRESULT GetCachePath(BSTR* pValue);
HRESULT GetCacheDir(BSTR* pValue);
HRESULT GetAuthFlags(X509EnrollmentAuthFlags* pValue);
HRESULT SetCredential(int hWndParent, X509EnrollmentAuthFlags flag, BSTR strCredential, BSTR strPassword);
HRESULT QueryChanges(short* pValue);
HRESULT InitializeImport(VARIANT val);
HRESULT Export(X509EnrollmentPolicyExportFlags exportFlags, VARIANT* pVal);
HRESULT get_Cost(uint* pValue);
HRESULT put_Cost(uint value);
}
const GUID IID_IX509PolicyServerUrl = {0x884E204A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E204A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509PolicyServerUrl : IDispatch
{
HRESULT Initialize(X509CertificateEnrollmentContext context);
HRESULT get_Url(BSTR* ppValue);
HRESULT put_Url(BSTR pValue);
HRESULT get_Default(short* pValue);
HRESULT put_Default(short value);
HRESULT get_Flags(PolicyServerUrlFlags* pValue);
HRESULT put_Flags(PolicyServerUrlFlags Flags);
HRESULT get_AuthFlags(X509EnrollmentAuthFlags* pValue);
HRESULT put_AuthFlags(X509EnrollmentAuthFlags Flags);
HRESULT get_Cost(uint* pValue);
HRESULT put_Cost(uint value);
HRESULT GetStringProperty(PolicyServerUrlPropertyID propertyId, BSTR* ppValue);
HRESULT SetStringProperty(PolicyServerUrlPropertyID propertyId, BSTR pValue);
HRESULT UpdateRegistry(X509CertificateEnrollmentContext context);
HRESULT RemoveFromRegistry(X509CertificateEnrollmentContext context);
}
const GUID IID_IX509PolicyServerListManager = {0x884E204B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x884E204B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509PolicyServerListManager : IDispatch
{
HRESULT get_ItemByIndex(int Index, IX509PolicyServerUrl* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(IX509PolicyServerUrl pVal);
HRESULT Remove(int Index);
HRESULT Clear();
HRESULT Initialize(X509CertificateEnrollmentContext context, PolicyServerUrlFlags Flags);
}
enum X509RequestType
{
TypeAny = 0,
TypePkcs10 = 1,
TypePkcs7 = 2,
TypeCmc = 3,
TypeCertificate = 4,
}
enum X509RequestInheritOptions
{
InheritDefault = 0,
InheritNewDefaultKey = 1,
InheritNewSimilarKey = 2,
InheritPrivateKey = 3,
InheritPublicKey = 4,
InheritKeyMask = 15,
InheritNone = 16,
InheritRenewalCertificateFlag = 32,
InheritTemplateFlag = 64,
InheritSubjectFlag = 128,
InheritExtensionsFlag = 256,
InheritSubjectAltNameFlag = 512,
InheritValidityPeriodFlag = 1024,
InheritReserved80000000 = -2147483648,
}
enum InnerRequestLevel
{
LevelInnermost = 0,
LevelNext = 1,
}
const GUID IID_IX509CertificateRequest = {0x728AB341, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB341, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509CertificateRequest : IDispatch
{
HRESULT Initialize(X509CertificateEnrollmentContext Context);
HRESULT Encode();
HRESULT ResetForEncode();
HRESULT GetInnerRequest(InnerRequestLevel Level, IX509CertificateRequest* ppValue);
HRESULT get_Type(X509RequestType* pValue);
HRESULT get_EnrollmentContext(X509CertificateEnrollmentContext* pValue);
HRESULT get_Silent(short* pValue);
HRESULT put_Silent(short Value);
HRESULT get_ParentWindow(int* pValue);
HRESULT put_ParentWindow(int Value);
HRESULT get_UIContextMessage(BSTR* pValue);
HRESULT put_UIContextMessage(BSTR Value);
HRESULT get_SuppressDefaults(short* pValue);
HRESULT put_SuppressDefaults(short Value);
HRESULT get_RenewalCertificate(EncodingType Encoding, BSTR* pValue);
HRESULT put_RenewalCertificate(EncodingType Encoding, BSTR Value);
HRESULT get_ClientId(RequestClientInfoClientId* pValue);
HRESULT put_ClientId(RequestClientInfoClientId Value);
HRESULT get_CspInformations(ICspInformations* ppValue);
HRESULT put_CspInformations(ICspInformations pValue);
HRESULT get_HashAlgorithm(IObjectId* ppValue);
HRESULT put_HashAlgorithm(IObjectId pValue);
HRESULT get_AlternateSignatureAlgorithm(short* pValue);
HRESULT put_AlternateSignatureAlgorithm(short Value);
HRESULT get_RawData(EncodingType Encoding, BSTR* pValue);
}
enum Pkcs10AllowedSignatureTypes
{
AllowedKeySignature = 1,
AllowedNullSignature = 2,
}
const GUID IID_IX509CertificateRequestPkcs10 = {0x728AB342, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB342, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509CertificateRequestPkcs10 : IX509CertificateRequest
{
HRESULT InitializeFromTemplateName(X509CertificateEnrollmentContext Context, BSTR strTemplateName);
HRESULT InitializeFromPrivateKey(X509CertificateEnrollmentContext Context, IX509PrivateKey pPrivateKey, BSTR strTemplateName);
HRESULT InitializeFromPublicKey(X509CertificateEnrollmentContext Context, IX509PublicKey pPublicKey, BSTR strTemplateName);
HRESULT InitializeFromCertificate(X509CertificateEnrollmentContext Context, BSTR strCertificate, EncodingType Encoding, X509RequestInheritOptions InheritOptions);
HRESULT InitializeDecode(BSTR strEncodedData, EncodingType Encoding);
HRESULT CheckSignature(Pkcs10AllowedSignatureTypes AllowedSignatureTypes);
HRESULT IsSmartCard(short* pValue);
HRESULT get_TemplateObjectId(IObjectId* ppValue);
HRESULT get_PublicKey(IX509PublicKey* ppValue);
HRESULT get_PrivateKey(IX509PrivateKey* ppValue);
HRESULT get_NullSigned(short* pValue);
HRESULT get_ReuseKey(short* pValue);
HRESULT get_OldCertificate(EncodingType Encoding, BSTR* pValue);
HRESULT get_Subject(IX500DistinguishedName* ppValue);
HRESULT put_Subject(IX500DistinguishedName pValue);
HRESULT get_CspStatuses(ICspStatuses* ppValue);
HRESULT get_SmimeCapabilities(short* pValue);
HRESULT put_SmimeCapabilities(short Value);
HRESULT get_SignatureInformation(IX509SignatureInformation* ppValue);
HRESULT get_KeyContainerNamePrefix(BSTR* pValue);
HRESULT put_KeyContainerNamePrefix(BSTR Value);
HRESULT get_CryptAttributes(ICryptAttributes* ppValue);
HRESULT get_X509Extensions(IX509Extensions* ppValue);
HRESULT get_CriticalExtensions(IObjectIds* ppValue);
HRESULT get_SuppressOids(IObjectIds* ppValue);
HRESULT get_RawDataToBeSigned(EncodingType Encoding, BSTR* pValue);
HRESULT get_Signature(EncodingType Encoding, BSTR* pValue);
HRESULT GetCspStatuses(X509KeySpec KeySpec, ICspStatuses* ppCspStatuses);
}
const GUID IID_IX509CertificateRequestPkcs10V2 = {0x728AB35B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB35B, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509CertificateRequestPkcs10V2 : IX509CertificateRequestPkcs10
{
HRESULT InitializeFromTemplate(X509CertificateEnrollmentContext context, IX509EnrollmentPolicyServer pPolicyServer, IX509CertificateTemplate pTemplate);
HRESULT InitializeFromPrivateKeyTemplate(X509CertificateEnrollmentContext Context, IX509PrivateKey pPrivateKey, IX509EnrollmentPolicyServer pPolicyServer, IX509CertificateTemplate pTemplate);
HRESULT InitializeFromPublicKeyTemplate(X509CertificateEnrollmentContext Context, IX509PublicKey pPublicKey, IX509EnrollmentPolicyServer pPolicyServer, IX509CertificateTemplate pTemplate);
HRESULT get_PolicyServer(IX509EnrollmentPolicyServer* ppPolicyServer);
HRESULT get_Template(IX509CertificateTemplate* ppTemplate);
}
const GUID IID_IX509CertificateRequestPkcs10V3 = {0x54EA9942, 0x3D66, 0x4530, [0xB7, 0x6E, 0x7C, 0x91, 0x70, 0xD3, 0xEC, 0x52]};
@GUID(0x54EA9942, 0x3D66, 0x4530, [0xB7, 0x6E, 0x7C, 0x91, 0x70, 0xD3, 0xEC, 0x52]);
interface IX509CertificateRequestPkcs10V3 : IX509CertificateRequestPkcs10V2
{
HRESULT get_AttestPrivateKey(short* pValue);
HRESULT put_AttestPrivateKey(short Value);
HRESULT get_AttestationEncryptionCertificate(EncodingType Encoding, BSTR* pValue);
HRESULT put_AttestationEncryptionCertificate(EncodingType Encoding, BSTR Value);
HRESULT get_EncryptionAlgorithm(IObjectId* ppValue);
HRESULT put_EncryptionAlgorithm(IObjectId pValue);
HRESULT get_EncryptionStrength(int* pValue);
HRESULT put_EncryptionStrength(int Value);
HRESULT get_ChallengePassword(BSTR* pValue);
HRESULT put_ChallengePassword(BSTR Value);
HRESULT get_NameValuePairs(IX509NameValuePairs* ppValue);
}
enum KeyAttestationClaimType
{
XCN_NCRYPT_CLAIM_NONE = 0,
XCN_NCRYPT_CLAIM_AUTHORITY_AND_SUBJECT = 3,
XCN_NCRYPT_CLAIM_AUTHORITY_ONLY = 1,
XCN_NCRYPT_CLAIM_SUBJECT_ONLY = 2,
XCN_NCRYPT_CLAIM_UNKNOWN = 4096,
}
const GUID IID_IX509CertificateRequestPkcs10V4 = {0x728AB363, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB363, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509CertificateRequestPkcs10V4 : IX509CertificateRequestPkcs10V3
{
HRESULT get_ClaimType(KeyAttestationClaimType* pValue);
HRESULT put_ClaimType(KeyAttestationClaimType Value);
HRESULT get_AttestPrivateKeyPreferred(short* pValue);
HRESULT put_AttestPrivateKeyPreferred(short Value);
}
const GUID IID_IX509CertificateRequestCertificate = {0x728AB343, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB343, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509CertificateRequestCertificate : IX509CertificateRequestPkcs10
{
HRESULT CheckPublicKeySignature(IX509PublicKey pPublicKey);
HRESULT get_Issuer(IX500DistinguishedName* ppValue);
HRESULT put_Issuer(IX500DistinguishedName pValue);
HRESULT get_NotBefore(double* pValue);
HRESULT put_NotBefore(double Value);
HRESULT get_NotAfter(double* pValue);
HRESULT put_NotAfter(double Value);
HRESULT get_SerialNumber(EncodingType Encoding, BSTR* pValue);
HRESULT put_SerialNumber(EncodingType Encoding, BSTR Value);
HRESULT get_SignerCertificate(ISignerCertificate* ppValue);
HRESULT put_SignerCertificate(ISignerCertificate pValue);
}
const GUID IID_IX509CertificateRequestCertificate2 = {0x728AB35A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB35A, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509CertificateRequestCertificate2 : IX509CertificateRequestCertificate
{
HRESULT InitializeFromTemplate(X509CertificateEnrollmentContext context, IX509EnrollmentPolicyServer pPolicyServer, IX509CertificateTemplate pTemplate);
HRESULT InitializeFromPrivateKeyTemplate(X509CertificateEnrollmentContext Context, IX509PrivateKey pPrivateKey, IX509EnrollmentPolicyServer pPolicyServer, IX509CertificateTemplate pTemplate);
HRESULT get_PolicyServer(IX509EnrollmentPolicyServer* ppPolicyServer);
HRESULT get_Template(IX509CertificateTemplate* ppTemplate);
}
const GUID IID_IX509CertificateRequestPkcs7 = {0x728AB344, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB344, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509CertificateRequestPkcs7 : IX509CertificateRequest
{
HRESULT InitializeFromTemplateName(X509CertificateEnrollmentContext Context, BSTR strTemplateName);
HRESULT InitializeFromCertificate(X509CertificateEnrollmentContext Context, short RenewalRequest, BSTR strCertificate, EncodingType Encoding, X509RequestInheritOptions InheritOptions);
HRESULT InitializeFromInnerRequest(IX509CertificateRequest pInnerRequest);
HRESULT InitializeDecode(BSTR strEncodedData, EncodingType Encoding);
HRESULT get_RequesterName(BSTR* pValue);
HRESULT put_RequesterName(BSTR Value);
HRESULT get_SignerCertificate(ISignerCertificate* ppValue);
HRESULT put_SignerCertificate(ISignerCertificate pValue);
}
const GUID IID_IX509CertificateRequestPkcs7V2 = {0x728AB35C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB35C, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509CertificateRequestPkcs7V2 : IX509CertificateRequestPkcs7
{
HRESULT InitializeFromTemplate(X509CertificateEnrollmentContext context, IX509EnrollmentPolicyServer pPolicyServer, IX509CertificateTemplate pTemplate);
HRESULT get_PolicyServer(IX509EnrollmentPolicyServer* ppPolicyServer);
HRESULT get_Template(IX509CertificateTemplate* ppTemplate);
HRESULT CheckCertificateSignature(short ValidateCertificateChain);
}
const GUID IID_IX509CertificateRequestCmc = {0x728AB345, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB345, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509CertificateRequestCmc : IX509CertificateRequestPkcs7
{
HRESULT InitializeFromInnerRequestTemplateName(IX509CertificateRequest pInnerRequest, BSTR strTemplateName);
HRESULT get_TemplateObjectId(IObjectId* ppValue);
HRESULT get_NullSigned(short* pValue);
HRESULT get_CryptAttributes(ICryptAttributes* ppValue);
HRESULT get_NameValuePairs(IX509NameValuePairs* ppValue);
HRESULT get_X509Extensions(IX509Extensions* ppValue);
HRESULT get_CriticalExtensions(IObjectIds* ppValue);
HRESULT get_SuppressOids(IObjectIds* ppValue);
HRESULT get_TransactionId(int* pValue);
HRESULT put_TransactionId(int Value);
HRESULT get_SenderNonce(EncodingType Encoding, BSTR* pValue);
HRESULT put_SenderNonce(EncodingType Encoding, BSTR Value);
HRESULT get_SignatureInformation(IX509SignatureInformation* ppValue);
HRESULT get_ArchivePrivateKey(short* pValue);
HRESULT put_ArchivePrivateKey(short Value);
HRESULT get_KeyArchivalCertificate(EncodingType Encoding, BSTR* pValue);
HRESULT put_KeyArchivalCertificate(EncodingType Encoding, BSTR Value);
HRESULT get_EncryptionAlgorithm(IObjectId* ppValue);
HRESULT put_EncryptionAlgorithm(IObjectId pValue);
HRESULT get_EncryptionStrength(int* pValue);
HRESULT put_EncryptionStrength(int Value);
HRESULT get_EncryptedKeyHash(EncodingType Encoding, BSTR* pValue);
HRESULT get_SignerCertificates(ISignerCertificates* ppValue);
}
const GUID IID_IX509CertificateRequestCmc2 = {0x728AB35D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB35D, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509CertificateRequestCmc2 : IX509CertificateRequestCmc
{
HRESULT InitializeFromTemplate(X509CertificateEnrollmentContext context, IX509EnrollmentPolicyServer pPolicyServer, IX509CertificateTemplate pTemplate);
HRESULT InitializeFromInnerRequestTemplate(IX509CertificateRequest pInnerRequest, IX509EnrollmentPolicyServer pPolicyServer, IX509CertificateTemplate pTemplate);
HRESULT get_PolicyServer(IX509EnrollmentPolicyServer* ppPolicyServer);
HRESULT get_Template(IX509CertificateTemplate* ppTemplate);
HRESULT CheckSignature(Pkcs10AllowedSignatureTypes AllowedSignatureTypes);
HRESULT CheckCertificateSignature(ISignerCertificate pSignerCertificate, short ValidateCertificateChain);
}
enum InstallResponseRestrictionFlags
{
AllowNone = 0,
AllowNoOutstandingRequest = 1,
AllowUntrustedCertificate = 2,
AllowUntrustedRoot = 4,
}
const GUID IID_IX509Enrollment = {0x728AB346, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB346, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509Enrollment : IDispatch
{
HRESULT Initialize(X509CertificateEnrollmentContext Context);
HRESULT InitializeFromTemplateName(X509CertificateEnrollmentContext Context, BSTR strTemplateName);
HRESULT InitializeFromRequest(IX509CertificateRequest pRequest);
HRESULT CreateRequest(EncodingType Encoding, BSTR* pValue);
HRESULT Enroll();
HRESULT InstallResponse(InstallResponseRestrictionFlags Restrictions, BSTR strResponse, EncodingType Encoding, BSTR strPassword);
HRESULT CreatePFX(BSTR strPassword, PFXExportOptions ExportOptions, EncodingType Encoding, BSTR* pValue);
HRESULT get_Request(IX509CertificateRequest* pValue);
HRESULT get_Silent(short* pValue);
HRESULT put_Silent(short Value);
HRESULT get_ParentWindow(int* pValue);
HRESULT put_ParentWindow(int Value);
HRESULT get_NameValuePairs(IX509NameValuePairs* ppValue);
HRESULT get_EnrollmentContext(X509CertificateEnrollmentContext* pValue);
HRESULT get_Status(IX509EnrollmentStatus* ppValue);
HRESULT get_Certificate(EncodingType Encoding, BSTR* pValue);
HRESULT get_Response(EncodingType Encoding, BSTR* pValue);
HRESULT get_CertificateFriendlyName(BSTR* pValue);
HRESULT put_CertificateFriendlyName(BSTR strValue);
HRESULT get_CertificateDescription(BSTR* pValue);
HRESULT put_CertificateDescription(BSTR strValue);
HRESULT get_RequestId(int* pValue);
HRESULT get_CAConfigString(BSTR* pValue);
}
const GUID IID_IX509Enrollment2 = {0x728AB350, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB350, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509Enrollment2 : IX509Enrollment
{
HRESULT InitializeFromTemplate(X509CertificateEnrollmentContext context, IX509EnrollmentPolicyServer pPolicyServer, IX509CertificateTemplate pTemplate);
HRESULT InstallResponse2(InstallResponseRestrictionFlags Restrictions, BSTR strResponse, EncodingType Encoding, BSTR strPassword, BSTR strEnrollmentPolicyServerUrl, BSTR strEnrollmentPolicyServerID, PolicyServerUrlFlags EnrollmentPolicyServerFlags, X509EnrollmentAuthFlags authFlags);
HRESULT get_PolicyServer(IX509EnrollmentPolicyServer* ppPolicyServer);
HRESULT get_Template(IX509CertificateTemplate* ppTemplate);
HRESULT get_RequestIdString(BSTR* pValue);
}
enum WebEnrollmentFlags
{
EnrollPrompt = 1,
}
const GUID IID_IX509EnrollmentHelper = {0x728AB351, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB351, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509EnrollmentHelper : IDispatch
{
HRESULT AddPolicyServer(BSTR strEnrollmentPolicyServerURI, BSTR strEnrollmentPolicyID, PolicyServerUrlFlags EnrollmentPolicyServerFlags, X509EnrollmentAuthFlags authFlags, BSTR strCredential, BSTR strPassword);
HRESULT AddEnrollmentServer(BSTR strEnrollmentServerURI, X509EnrollmentAuthFlags authFlags, BSTR strCredential, BSTR strPassword);
HRESULT Enroll(BSTR strEnrollmentPolicyServerURI, BSTR strTemplateName, EncodingType Encoding, WebEnrollmentFlags enrollFlags, BSTR* pstrCertificate);
HRESULT Initialize(X509CertificateEnrollmentContext Context);
}
const GUID IID_IX509EnrollmentWebClassFactory = {0x728AB349, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB349, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509EnrollmentWebClassFactory : IDispatch
{
HRESULT CreateObject(BSTR strProgID, IUnknown* ppIUnknown);
}
const GUID IID_IX509MachineEnrollmentFactory = {0x728AB352, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB352, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509MachineEnrollmentFactory : IDispatch
{
HRESULT CreateObject(BSTR strProgID, IX509EnrollmentHelper* ppIHelper);
}
enum CRLRevocationReason
{
XCN_CRL_REASON_UNSPECIFIED = 0,
XCN_CRL_REASON_KEY_COMPROMISE = 1,
XCN_CRL_REASON_CA_COMPROMISE = 2,
XCN_CRL_REASON_AFFILIATION_CHANGED = 3,
XCN_CRL_REASON_SUPERSEDED = 4,
XCN_CRL_REASON_CESSATION_OF_OPERATION = 5,
XCN_CRL_REASON_CERTIFICATE_HOLD = 6,
XCN_CRL_REASON_REMOVE_FROM_CRL = 8,
XCN_CRL_REASON_PRIVILEGE_WITHDRAWN = 9,
XCN_CRL_REASON_AA_COMPROMISE = 10,
}
const GUID IID_IX509CertificateRevocationListEntry = {0x728AB35E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB35E, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509CertificateRevocationListEntry : IDispatch
{
HRESULT Initialize(EncodingType Encoding, BSTR SerialNumber, double RevocationDate);
HRESULT get_SerialNumber(EncodingType Encoding, BSTR* pValue);
HRESULT get_RevocationDate(double* pValue);
HRESULT get_RevocationReason(CRLRevocationReason* pValue);
HRESULT put_RevocationReason(CRLRevocationReason Value);
HRESULT get_X509Extensions(IX509Extensions* ppValue);
HRESULT get_CriticalExtensions(IObjectIds* ppValue);
}
const GUID IID_IX509CertificateRevocationListEntries = {0x728AB35F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB35F, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509CertificateRevocationListEntries : IDispatch
{
HRESULT get_ItemByIndex(int Index, IX509CertificateRevocationListEntry* pVal);
HRESULT get_Count(int* pVal);
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT Add(IX509CertificateRevocationListEntry pVal);
HRESULT Remove(int Index);
HRESULT Clear();
HRESULT get_IndexBySerialNumber(EncodingType Encoding, BSTR SerialNumber, int* pIndex);
HRESULT AddRange(IX509CertificateRevocationListEntries pValue);
}
const GUID IID_IX509CertificateRevocationList = {0x728AB360, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB360, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509CertificateRevocationList : IDispatch
{
HRESULT Initialize();
HRESULT InitializeDecode(BSTR strEncodedData, EncodingType Encoding);
HRESULT Encode();
HRESULT ResetForEncode();
HRESULT CheckPublicKeySignature(IX509PublicKey pPublicKey);
HRESULT CheckSignature();
HRESULT get_Issuer(IX500DistinguishedName* ppValue);
HRESULT put_Issuer(IX500DistinguishedName pValue);
HRESULT get_ThisUpdate(double* pValue);
HRESULT put_ThisUpdate(double Value);
HRESULT get_NextUpdate(double* pValue);
HRESULT put_NextUpdate(double Value);
HRESULT get_X509CRLEntries(IX509CertificateRevocationListEntries* ppValue);
HRESULT get_X509Extensions(IX509Extensions* ppValue);
HRESULT get_CriticalExtensions(IObjectIds* ppValue);
HRESULT get_SignerCertificate(ISignerCertificate* ppValue);
HRESULT put_SignerCertificate(ISignerCertificate pValue);
HRESULT get_CRLNumber(EncodingType Encoding, BSTR* pValue);
HRESULT put_CRLNumber(EncodingType Encoding, BSTR Value);
HRESULT get_CAVersion(int* pValue);
HRESULT put_CAVersion(int pValue);
HRESULT get_BaseCRL(short* pValue);
HRESULT get_NullSigned(short* pValue);
HRESULT get_HashAlgorithm(IObjectId* ppValue);
HRESULT put_HashAlgorithm(IObjectId pValue);
HRESULT get_AlternateSignatureAlgorithm(short* pValue);
HRESULT put_AlternateSignatureAlgorithm(short Value);
HRESULT get_SignatureInformation(IX509SignatureInformation* ppValue);
HRESULT get_RawData(EncodingType Encoding, BSTR* pValue);
HRESULT get_RawDataToBeSigned(EncodingType Encoding, BSTR* pValue);
HRESULT get_Signature(EncodingType Encoding, BSTR* pValue);
}
const GUID IID_ICertificateAttestationChallenge = {0x6F175A7C, 0x4A3A, 0x40AE, [0x9D, 0xBA, 0x59, 0x2F, 0xD6, 0xBB, 0xF9, 0xB8]};
@GUID(0x6F175A7C, 0x4A3A, 0x40AE, [0x9D, 0xBA, 0x59, 0x2F, 0xD6, 0xBB, 0xF9, 0xB8]);
interface ICertificateAttestationChallenge : IDispatch
{
HRESULT Initialize(EncodingType Encoding, BSTR strPendingFullCmcResponseWithChallenge);
HRESULT DecryptChallenge(EncodingType Encoding, BSTR* pstrEnvelopedPkcs7ReencryptedToCA);
HRESULT get_RequestID(BSTR* pstrRequestID);
}
const GUID IID_ICertificateAttestationChallenge2 = {0x4631334D, 0xE266, 0x47D6, [0xBD, 0x79, 0xBE, 0x53, 0xCB, 0x2E, 0x27, 0x53]};
@GUID(0x4631334D, 0xE266, 0x47D6, [0xBD, 0x79, 0xBE, 0x53, 0xCB, 0x2E, 0x27, 0x53]);
interface ICertificateAttestationChallenge2 : ICertificateAttestationChallenge
{
HRESULT put_KeyContainerName(BSTR Value);
HRESULT put_KeyBlob(EncodingType Encoding, BSTR Value);
}
const GUID IID_IX509SCEPEnrollment = {0x728AB361, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB361, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509SCEPEnrollment : IDispatch
{
HRESULT Initialize(IX509CertificateRequestPkcs10 pRequest, BSTR strThumbprint, EncodingType ThumprintEncoding, BSTR strServerCertificates, EncodingType Encoding);
HRESULT InitializeForPending(X509CertificateEnrollmentContext Context);
HRESULT CreateRequestMessage(EncodingType Encoding, BSTR* pValue);
HRESULT CreateRetrievePendingMessage(EncodingType Encoding, BSTR* pValue);
HRESULT CreateRetrieveCertificateMessage(X509CertificateEnrollmentContext Context, BSTR strIssuer, EncodingType IssuerEncoding, BSTR strSerialNumber, EncodingType SerialNumberEncoding, EncodingType Encoding, BSTR* pValue);
HRESULT ProcessResponseMessage(BSTR strResponse, EncodingType Encoding, X509SCEPDisposition* pDisposition);
HRESULT put_ServerCapabilities(BSTR Value);
HRESULT get_FailInfo(X509SCEPFailInfo* pValue);
HRESULT get_SignerCertificate(ISignerCertificate* ppValue);
HRESULT put_SignerCertificate(ISignerCertificate pValue);
HRESULT get_OldCertificate(ISignerCertificate* ppValue);
HRESULT put_OldCertificate(ISignerCertificate pValue);
HRESULT get_TransactionId(EncodingType Encoding, BSTR* pValue);
HRESULT put_TransactionId(EncodingType Encoding, BSTR Value);
HRESULT get_Request(IX509CertificateRequestPkcs10* ppValue);
HRESULT get_CertificateFriendlyName(BSTR* pValue);
HRESULT put_CertificateFriendlyName(BSTR Value);
HRESULT get_Status(IX509EnrollmentStatus* ppValue);
HRESULT get_Certificate(EncodingType Encoding, BSTR* pValue);
HRESULT get_Silent(short* pValue);
HRESULT put_Silent(short Value);
HRESULT DeleteRequest();
}
enum X509SCEPProcessMessageFlags
{
SCEPProcessDefault = 0,
SCEPProcessSkipCertInstall = 1,
}
enum DelayRetryAction
{
DelayRetryUnknown = 0,
DelayRetryNone = 1,
DelayRetryShort = 2,
DelayRetryLong = 3,
DelayRetrySuccess = 4,
DelayRetryPastSuccess = 5,
}
const GUID IID_IX509SCEPEnrollment2 = {0x728AB364, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB364, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509SCEPEnrollment2 : IX509SCEPEnrollment
{
HRESULT CreateChallengeAnswerMessage(EncodingType Encoding, BSTR* pValue);
HRESULT ProcessResponseMessage2(X509SCEPProcessMessageFlags Flags, BSTR strResponse, EncodingType Encoding, X509SCEPDisposition* pDisposition);
HRESULT get_ResultMessageText(BSTR* pValue);
HRESULT get_DelayRetry(DelayRetryAction* pValue);
HRESULT get_ActivityId(BSTR* pValue);
HRESULT put_ActivityId(BSTR Value);
}
const GUID IID_IX509SCEPEnrollmentHelper = {0x728AB365, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]};
@GUID(0x728AB365, 0x217D, 0x11DA, [0xB2, 0xA4, 0x00, 0x0E, 0x7B, 0xBB, 0x2B, 0x09]);
interface IX509SCEPEnrollmentHelper : IDispatch
{
HRESULT Initialize(BSTR strServerUrl, BSTR strRequestHeaders, IX509CertificateRequestPkcs10 pRequest, BSTR strCACertificateThumbprint);
HRESULT InitializeForPending(BSTR strServerUrl, BSTR strRequestHeaders, X509CertificateEnrollmentContext Context, BSTR strTransactionId);
HRESULT Enroll(X509SCEPProcessMessageFlags ProcessFlags, X509SCEPDisposition* pDisposition);
HRESULT FetchPending(X509SCEPProcessMessageFlags ProcessFlags, X509SCEPDisposition* pDisposition);
HRESULT get_X509SCEPEnrollment(IX509SCEPEnrollment* ppValue);
HRESULT get_ResultMessageText(BSTR* pValue);
}
enum X509CertificateTemplateGeneralFlag
{
GeneralMachineType = 64,
GeneralCA = 128,
GeneralCrossCA = 2048,
GeneralDefault = 65536,
GeneralModified = 131072,
GeneralDonotPersist = 4096,
}
enum X509CertificateTemplateEnrollmentFlag
{
EnrollmentIncludeSymmetricAlgorithms = 1,
EnrollmentPendAllRequests = 2,
EnrollmentPublishToKRAContainer = 4,
EnrollmentPublishToDS = 8,
EnrollmentAutoEnrollmentCheckUserDSCertificate = 16,
EnrollmentAutoEnrollment = 32,
EnrollmentDomainAuthenticationNotRequired = 128,
EnrollmentPreviousApprovalValidateReenrollment = 64,
EnrollmentUserInteractionRequired = 256,
EnrollmentAddTemplateName = 512,
EnrollmentRemoveInvalidCertificateFromPersonalStore = 1024,
EnrollmentAllowEnrollOnBehalfOf = 2048,
EnrollmentAddOCSPNoCheck = 4096,
EnrollmentReuseKeyOnFullSmartCard = 8192,
EnrollmentNoRevocationInfoInCerts = 16384,
EnrollmentIncludeBasicConstraintsForEECerts = 32768,
EnrollmentPreviousApprovalKeyBasedValidateReenrollment = 65536,
EnrollmentCertificateIssuancePoliciesFromRequest = 131072,
EnrollmentSkipAutoRenewal = 262144,
}
enum X509CertificateTemplateSubjectNameFlag
{
SubjectNameEnrolleeSupplies = 1,
SubjectNameRequireDirectoryPath = -2147483648,
SubjectNameRequireCommonName = 1073741824,
SubjectNameRequireEmail = 536870912,
SubjectNameRequireDNS = 268435456,
SubjectNameAndAlternativeNameOldCertSupplies = 8,
SubjectAlternativeNameEnrolleeSupplies = 65536,
SubjectAlternativeNameRequireDirectoryGUID = 16777216,
SubjectAlternativeNameRequireUPN = 33554432,
SubjectAlternativeNameRequireEmail = 67108864,
SubjectAlternativeNameRequireSPN = 8388608,
SubjectAlternativeNameRequireDNS = 134217728,
SubjectAlternativeNameRequireDomainDNS = 4194304,
}
enum X509CertificateTemplatePrivateKeyFlag
{
PrivateKeyRequireArchival = 1,
PrivateKeyExportable = 16,
PrivateKeyRequireStrongKeyProtection = 32,
PrivateKeyRequireAlternateSignatureAlgorithm = 64,
PrivateKeyRequireSameKeyRenewal = 128,
PrivateKeyUseLegacyProvider = 256,
PrivateKeyEKTrustOnUse = 512,
PrivateKeyEKValidateCert = 1024,
PrivateKeyEKValidateKey = 2048,
PrivateKeyAttestNone = 0,
PrivateKeyAttestPreferred = 4096,
PrivateKeyAttestRequired = 8192,
PrivateKeyAttestMask = 12288,
PrivateKeyAttestWithoutPolicy = 16384,
PrivateKeyServerVersionMask = 983040,
PrivateKeyServerVersionShift = 16,
PrivateKeyHelloKspKey = 1048576,
PrivateKeyHelloLogonKey = 2097152,
PrivateKeyClientVersionMask = 251658240,
PrivateKeyClientVersionShift = 24,
}
enum ImportPFXFlags
{
ImportNone = 0,
ImportMachineContext = 1,
ImportForceOverwrite = 2,
ImportSilent = 4,
ImportSaveProperties = 8,
ImportExportable = 16,
ImportExportableEncrypted = 32,
ImportNoUserProtected = 64,
ImportUserProtected = 128,
ImportUserProtectedHigh = 256,
ImportInstallCertificate = 512,
ImportInstallChain = 1024,
ImportInstallChainAndRoot = 2048,
}
alias FNIMPORTPFXTOPROVIDER = extern(Windows) HRESULT function(HWND hWndParent, char* pbPFX, uint cbPFX, ImportPFXFlags ImportFlags, const(wchar)* pwszPassword, const(wchar)* pwszProviderName, const(wchar)* pwszReaderName, const(wchar)* pwszContainerNamePrefix, const(wchar)* pwszPin, const(wchar)* pwszFriendlyName, uint* pcCertOut, CERT_CONTEXT*** prgpCertOut);
alias FNIMPORTPFXTOPROVIDERFREEDATA = extern(Windows) void function(uint cCert, char* rgpCert);
struct NCRYPT_DESCRIPTOR_HANDLE__
{
int unused;
}
struct NCRYPT_STREAM_HANDLE__
{
int unused;
}
alias PFNCryptStreamOutputCallback = extern(Windows) int function(void* pvCallbackCtxt, char* pbData, uint cbData, BOOL fFinal);
struct NCRYPT_PROTECT_STREAM_INFO
{
PFNCryptStreamOutputCallback pfnStreamOutput;
void* pvCallbackCtxt;
}
alias PFNCryptStreamOutputCallbackEx = extern(Windows) int function(void* pvCallbackCtxt, char* pbData, uint cbData, NCRYPT_DESCRIPTOR_HANDLE__* hDescriptor, BOOL fFinal);
struct NCRYPT_PROTECT_STREAM_INFO_EX
{
PFNCryptStreamOutputCallbackEx pfnStreamOutput;
void* pvCallbackCtxt;
}
enum TOKENBINDING_TYPE
{
TOKENBINDING_TYPE_PROVIDED = 0,
TOKENBINDING_TYPE_REFERRED = 1,
}
enum TOKENBINDING_EXTENSION_FORMAT
{
TOKENBINDING_EXTENSION_FORMAT_UNDEFINED = 0,
}
enum TOKENBINDING_KEY_PARAMETERS_TYPE
{
TOKENBINDING_KEY_PARAMETERS_TYPE_RSA2048_PKCS = 0,
TOKENBINDING_KEY_PARAMETERS_TYPE_RSA2048_PSS = 1,
TOKENBINDING_KEY_PARAMETERS_TYPE_ECDSAP256 = 2,
TOKENBINDING_KEY_PARAMETERS_TYPE_ANYEXISTING = 255,
}
struct TOKENBINDING_IDENTIFIER
{
ubyte keyType;
}
struct TOKENBINDING_RESULT_DATA
{
TOKENBINDING_TYPE bindingType;
uint identifierSize;
TOKENBINDING_IDENTIFIER* identifierData;
TOKENBINDING_EXTENSION_FORMAT extensionFormat;
uint extensionSize;
void* extensionData;
}
struct TOKENBINDING_RESULT_LIST
{
uint resultCount;
TOKENBINDING_RESULT_DATA* resultData;
}
struct TOKENBINDING_KEY_TYPES
{
uint keyCount;
TOKENBINDING_KEY_PARAMETERS_TYPE* keyType;
}
enum CRYPT_XML_CHARSET
{
CRYPT_XML_CHARSET_AUTO = 0,
CRYPT_XML_CHARSET_UTF8 = 1,
CRYPT_XML_CHARSET_UTF16LE = 2,
CRYPT_XML_CHARSET_UTF16BE = 3,
}
struct CRYPT_XML_BLOB
{
CRYPT_XML_CHARSET dwCharset;
uint cbData;
ubyte* pbData;
}
struct CRYPT_XML_DATA_BLOB
{
uint cbData;
ubyte* pbData;
}
enum CRYPT_XML_PROPERTY_ID
{
CRYPT_XML_PROPERTY_MAX_HEAP_SIZE = 1,
CRYPT_XML_PROPERTY_SIGNATURE_LOCATION = 2,
CRYPT_XML_PROPERTY_MAX_SIGNATURES = 3,
CRYPT_XML_PROPERTY_DOC_DECLARATION = 4,
CRYPT_XML_PROPERTY_XML_OUTPUT_CHARSET = 5,
}
struct CRYPT_XML_PROPERTY
{
CRYPT_XML_PROPERTY_ID dwPropId;
const(void)* pvValue;
uint cbValue;
}
alias PFN_CRYPT_XML_WRITE_CALLBACK = extern(Windows) HRESULT function(void* pvCallbackState, char* pbData, uint cbData);
alias PFN_CRYPT_XML_DATA_PROVIDER_READ = extern(Windows) HRESULT function(void* pvCallbackState, char* pbData, uint cbData, uint* pcbRead);
alias PFN_CRYPT_XML_DATA_PROVIDER_CLOSE = extern(Windows) HRESULT function(void* pvCallbackState);
struct CRYPT_XML_DATA_PROVIDER
{
void* pvCallbackState;
uint cbBufferSize;
PFN_CRYPT_XML_DATA_PROVIDER_READ pfnRead;
PFN_CRYPT_XML_DATA_PROVIDER_CLOSE pfnClose;
}
alias PFN_CRYPT_XML_CREATE_TRANSFORM = extern(Windows) HRESULT function(const(CRYPT_XML_ALGORITHM)* pTransform, CRYPT_XML_DATA_PROVIDER* pProviderIn, CRYPT_XML_DATA_PROVIDER* pProviderOut);
struct CRYPT_XML_STATUS
{
uint cbSize;
uint dwErrorStatus;
uint dwInfoStatus;
}
struct CRYPT_XML_ALGORITHM
{
uint cbSize;
const(wchar)* wszAlgorithm;
CRYPT_XML_BLOB Encoded;
}
struct CRYPT_XML_TRANSFORM_INFO
{
uint cbSize;
const(wchar)* wszAlgorithm;
uint cbBufferSize;
uint dwFlags;
PFN_CRYPT_XML_CREATE_TRANSFORM pfnCreateTransform;
}
struct CRYPT_XML_TRANSFORM_CHAIN_CONFIG
{
uint cbSize;
uint cTransformInfo;
CRYPT_XML_TRANSFORM_INFO** rgpTransformInfo;
}
struct CRYPT_XML_KEY_DSA_KEY_VALUE
{
CRYPT_XML_DATA_BLOB P;
CRYPT_XML_DATA_BLOB Q;
CRYPT_XML_DATA_BLOB G;
CRYPT_XML_DATA_BLOB Y;
CRYPT_XML_DATA_BLOB J;
CRYPT_XML_DATA_BLOB Seed;
CRYPT_XML_DATA_BLOB Counter;
}
struct CRYPT_XML_KEY_ECDSA_KEY_VALUE
{
const(wchar)* wszNamedCurve;
CRYPT_XML_DATA_BLOB X;
CRYPT_XML_DATA_BLOB Y;
CRYPT_XML_BLOB ExplicitPara;
}
struct CRYPT_XML_KEY_RSA_KEY_VALUE
{
CRYPT_XML_DATA_BLOB Modulus;
CRYPT_XML_DATA_BLOB Exponent;
}
struct CRYPT_XML_KEY_VALUE
{
uint dwType;
_Anonymous_e__Union Anonymous;
}
struct CRYPT_XML_ISSUER_SERIAL
{
const(wchar)* wszIssuer;
const(wchar)* wszSerial;
}
struct CRYPT_XML_X509DATA_ITEM
{
uint dwType;
_Anonymous_e__Union Anonymous;
}
struct CRYPT_XML_X509DATA
{
uint cX509Data;
CRYPT_XML_X509DATA_ITEM* rgX509Data;
}
struct CRYPT_XML_KEY_INFO_ITEM
{
uint dwType;
_Anonymous_e__Union Anonymous;
}
struct CRYPT_XML_KEY_INFO
{
uint cbSize;
const(wchar)* wszId;
uint cKeyInfo;
CRYPT_XML_KEY_INFO_ITEM* rgKeyInfo;
void* hVerifyKey;
}
struct CRYPT_XML_REFERENCE
{
uint cbSize;
void* hReference;
const(wchar)* wszId;
const(wchar)* wszUri;
const(wchar)* wszType;
CRYPT_XML_ALGORITHM DigestMethod;
CRYPTOAPI_BLOB DigestValue;
uint cTransform;
CRYPT_XML_ALGORITHM* rgTransform;
}
struct CRYPT_XML_REFERENCES
{
uint cReference;
CRYPT_XML_REFERENCE** rgpReference;
}
struct CRYPT_XML_SIGNED_INFO
{
uint cbSize;
const(wchar)* wszId;
CRYPT_XML_ALGORITHM Canonicalization;
CRYPT_XML_ALGORITHM SignatureMethod;
uint cReference;
CRYPT_XML_REFERENCE** rgpReference;
CRYPT_XML_BLOB Encoded;
}
struct CRYPT_XML_OBJECT
{
uint cbSize;
void* hObject;
const(wchar)* wszId;
const(wchar)* wszMimeType;
const(wchar)* wszEncoding;
CRYPT_XML_REFERENCES Manifest;
CRYPT_XML_BLOB Encoded;
}
struct CRYPT_XML_SIGNATURE
{
uint cbSize;
void* hSignature;
const(wchar)* wszId;
CRYPT_XML_SIGNED_INFO SignedInfo;
CRYPTOAPI_BLOB SignatureValue;
CRYPT_XML_KEY_INFO* pKeyInfo;
uint cObject;
CRYPT_XML_OBJECT** rgpObject;
}
struct CRYPT_XML_DOC_CTXT
{
uint cbSize;
void* hDocCtxt;
CRYPT_XML_TRANSFORM_CHAIN_CONFIG* pTransformsConfig;
uint cSignature;
CRYPT_XML_SIGNATURE** rgpSignature;
}
struct CRYPT_XML_KEYINFO_PARAM
{
const(wchar)* wszId;
const(wchar)* wszKeyName;
CRYPTOAPI_BLOB SKI;
const(wchar)* wszSubjectName;
uint cCertificate;
CRYPTOAPI_BLOB* rgCertificate;
uint cCRL;
CRYPTOAPI_BLOB* rgCRL;
}
enum CRYPT_XML_KEYINFO_SPEC
{
CRYPT_XML_KEYINFO_SPEC_NONE = 0,
CRYPT_XML_KEYINFO_SPEC_ENCODED = 1,
CRYPT_XML_KEYINFO_SPEC_PARAM = 2,
}
struct CRYPT_XML_ALGORITHM_INFO
{
uint cbSize;
ushort* wszAlgorithmURI;
ushort* wszName;
uint dwGroupId;
ushort* wszCNGAlgid;
ushort* wszCNGExtraAlgid;
uint dwSignFlags;
uint dwVerifyFlags;
void* pvPaddingInfo;
void* pvExtraInfo;
}
alias PFN_CRYPT_XML_ENUM_ALG_INFO = extern(Windows) BOOL function(const(CRYPT_XML_ALGORITHM_INFO)* pInfo, void* pvArg);
alias CryptXmlDllGetInterface = extern(Windows) HRESULT function(uint dwFlags, const(CRYPT_XML_ALGORITHM_INFO)* pMethod, CRYPT_XML_CRYPTOGRAPHIC_INTERFACE* pInterface);
alias CryptXmlDllEncodeAlgorithm = extern(Windows) HRESULT function(const(CRYPT_XML_ALGORITHM_INFO)* pAlgInfo, CRYPT_XML_CHARSET dwCharset, void* pvCallbackState, PFN_CRYPT_XML_WRITE_CALLBACK pfnWrite);
alias CryptXmlDllCreateDigest = extern(Windows) HRESULT function(const(CRYPT_XML_ALGORITHM)* pDigestMethod, uint* pcbSize, void** phDigest);
alias CryptXmlDllDigestData = extern(Windows) HRESULT function(void* hDigest, char* pbData, uint cbData);
alias CryptXmlDllFinalizeDigest = extern(Windows) HRESULT function(void* hDigest, char* pbDigest, uint cbDigest);
alias CryptXmlDllCloseDigest = extern(Windows) HRESULT function(void* hDigest);
alias CryptXmlDllSignData = extern(Windows) HRESULT function(const(CRYPT_XML_ALGORITHM)* pSignatureMethod, uint hCryptProvOrNCryptKey, uint dwKeySpec, char* pbInput, uint cbInput, char* pbOutput, uint cbOutput, uint* pcbResult);
alias CryptXmlDllVerifySignature = extern(Windows) HRESULT function(const(CRYPT_XML_ALGORITHM)* pSignatureMethod, void* hKey, char* pbInput, uint cbInput, char* pbSignature, uint cbSignature);
alias CryptXmlDllGetAlgorithmInfo = extern(Windows) HRESULT function(const(CRYPT_XML_ALGORITHM)* pXmlAlgorithm, CRYPT_XML_ALGORITHM_INFO** ppAlgInfo);
struct CRYPT_XML_CRYPTOGRAPHIC_INTERFACE
{
uint cbSize;
CryptXmlDllEncodeAlgorithm fpCryptXmlEncodeAlgorithm;
CryptXmlDllCreateDigest fpCryptXmlCreateDigest;
CryptXmlDllDigestData fpCryptXmlDigestData;
CryptXmlDllFinalizeDigest fpCryptXmlFinalizeDigest;
CryptXmlDllCloseDigest fpCryptXmlCloseDigest;
CryptXmlDllSignData fpCryptXmlSignData;
CryptXmlDllVerifySignature fpCryptXmlVerifySignature;
CryptXmlDllGetAlgorithmInfo fpCryptXmlGetAlgorithmInfo;
}
alias CryptXmlDllEncodeKeyValue = extern(Windows) HRESULT function(uint hKey, CRYPT_XML_CHARSET dwCharset, void* pvCallbackState, PFN_CRYPT_XML_WRITE_CALLBACK pfnWrite);
alias CryptXmlDllCreateKey = extern(Windows) HRESULT function(const(CRYPT_XML_BLOB)* pEncoded, void** phKey);
const GUID CLSID_CCertSrvSetupKeyInformation = {0x38373906, 0x5433, 0x4633, [0xB0, 0xFB, 0x29, 0xB7, 0xE7, 0x82, 0x62, 0xE1]};
@GUID(0x38373906, 0x5433, 0x4633, [0xB0, 0xFB, 0x29, 0xB7, 0xE7, 0x82, 0x62, 0xE1]);
struct CCertSrvSetupKeyInformation;
const GUID CLSID_CCertSrvSetup = {0x961F180F, 0xF55C, 0x413D, [0xA9, 0xB3, 0x7D, 0x2A, 0xF4, 0xD8, 0xE4, 0x2F]};
@GUID(0x961F180F, 0xF55C, 0x413D, [0xA9, 0xB3, 0x7D, 0x2A, 0xF4, 0xD8, 0xE4, 0x2F]);
struct CCertSrvSetup;
const GUID CLSID_CMSCEPSetup = {0xAA4F5C02, 0x8E7C, 0x49C4, [0x94, 0xFA, 0x67, 0xA5, 0xCC, 0x5E, 0xAD, 0xB4]};
@GUID(0xAA4F5C02, 0x8E7C, 0x49C4, [0x94, 0xFA, 0x67, 0xA5, 0xCC, 0x5E, 0xAD, 0xB4]);
struct CMSCEPSetup;
const GUID CLSID_CCertificateEnrollmentServerSetup = {0x9902F3BC, 0x88AF, 0x4CF8, [0xAE, 0x62, 0x71, 0x40, 0x53, 0x15, 0x52, 0xB6]};
@GUID(0x9902F3BC, 0x88AF, 0x4CF8, [0xAE, 0x62, 0x71, 0x40, 0x53, 0x15, 0x52, 0xB6]);
struct CCertificateEnrollmentServerSetup;
const GUID CLSID_CCertificateEnrollmentPolicyServerSetup = {0xAFE2FA32, 0x41B1, 0x459D, [0xA5, 0xDE, 0x49, 0xAD, 0xD8, 0xA7, 0x21, 0x82]};
@GUID(0xAFE2FA32, 0x41B1, 0x459D, [0xA5, 0xDE, 0x49, 0xAD, 0xD8, 0xA7, 0x21, 0x82]);
struct CCertificateEnrollmentPolicyServerSetup;
const GUID IID_ICertSrvSetupKeyInformation = {0x6BA73778, 0x36DA, 0x4C39, [0x8A, 0x85, 0xBC, 0xFA, 0x7D, 0x00, 0x07, 0x93]};
@GUID(0x6BA73778, 0x36DA, 0x4C39, [0x8A, 0x85, 0xBC, 0xFA, 0x7D, 0x00, 0x07, 0x93]);
interface ICertSrvSetupKeyInformation : IDispatch
{
HRESULT get_ProviderName(BSTR* pVal);
HRESULT put_ProviderName(const(ushort)* bstrVal);
HRESULT get_Length(int* pVal);
HRESULT put_Length(int lVal);
HRESULT get_Existing(short* pVal);
HRESULT put_Existing(short bVal);
HRESULT get_ContainerName(BSTR* pVal);
HRESULT put_ContainerName(const(ushort)* bstrVal);
HRESULT get_HashAlgorithm(BSTR* pVal);
HRESULT put_HashAlgorithm(const(ushort)* bstrVal);
HRESULT get_ExistingCACertificate(VARIANT* pVal);
HRESULT put_ExistingCACertificate(VARIANT varVal);
}
const GUID IID_ICertSrvSetupKeyInformationCollection = {0xE65C8B00, 0xE58F, 0x41F9, [0xA9, 0xEC, 0xA2, 0x8D, 0x74, 0x27, 0xC8, 0x44]};
@GUID(0xE65C8B00, 0xE58F, 0x41F9, [0xA9, 0xEC, 0xA2, 0x8D, 0x74, 0x27, 0xC8, 0x44]);
interface ICertSrvSetupKeyInformationCollection : IDispatch
{
HRESULT get__NewEnum(IUnknown* ppVal);
HRESULT get_Item(int Index, VARIANT* pVal);
HRESULT get_Count(int* pVal);
HRESULT Add(ICertSrvSetupKeyInformation pIKeyInformation);
}
enum CASetupProperty
{
ENUM_SETUPPROP_INVALID = -1,
ENUM_SETUPPROP_CATYPE = 0,
ENUM_SETUPPROP_CAKEYINFORMATION = 1,
ENUM_SETUPPROP_INTERACTIVE = 2,
ENUM_SETUPPROP_CANAME = 3,
ENUM_SETUPPROP_CADSSUFFIX = 4,
ENUM_SETUPPROP_VALIDITYPERIOD = 5,
ENUM_SETUPPROP_VALIDITYPERIODUNIT = 6,
ENUM_SETUPPROP_EXPIRATIONDATE = 7,
ENUM_SETUPPROP_PRESERVEDATABASE = 8,
ENUM_SETUPPROP_DATABASEDIRECTORY = 9,
ENUM_SETUPPROP_LOGDIRECTORY = 10,
ENUM_SETUPPROP_SHAREDFOLDER = 11,
ENUM_SETUPPROP_PARENTCAMACHINE = 12,
ENUM_SETUPPROP_PARENTCANAME = 13,
ENUM_SETUPPROP_REQUESTFILE = 14,
ENUM_SETUPPROP_WEBCAMACHINE = 15,
ENUM_SETUPPROP_WEBCANAME = 16,
}
const GUID IID_ICertSrvSetup = {0xB760A1BB, 0x4784, 0x44C0, [0x8F, 0x12, 0x55, 0x5F, 0x07, 0x80, 0xFF, 0x25]};
@GUID(0xB760A1BB, 0x4784, 0x44C0, [0x8F, 0x12, 0x55, 0x5F, 0x07, 0x80, 0xFF, 0x25]);
interface ICertSrvSetup : IDispatch
{
HRESULT get_CAErrorId(int* pVal);
HRESULT get_CAErrorString(BSTR* pVal);
HRESULT InitializeDefaults(short bServer, short bClient);
HRESULT GetCASetupProperty(CASetupProperty propertyId, VARIANT* pPropertyValue);
HRESULT SetCASetupProperty(CASetupProperty propertyId, VARIANT* pPropertyValue);
HRESULT IsPropertyEditable(CASetupProperty propertyId, short* pbEditable);
HRESULT GetSupportedCATypes(VARIANT* pCATypes);
HRESULT GetProviderNameList(VARIANT* pVal);
HRESULT GetKeyLengthList(const(ushort)* bstrProviderName, VARIANT* pVal);
HRESULT GetHashAlgorithmList(const(ushort)* bstrProviderName, VARIANT* pVal);
HRESULT GetPrivateKeyContainerList(const(ushort)* bstrProviderName, VARIANT* pVal);
HRESULT GetExistingCACertificates(ICertSrvSetupKeyInformationCollection* ppVal);
HRESULT CAImportPFX(const(ushort)* bstrFileName, const(ushort)* bstrPasswd, short bOverwriteExistingKey, ICertSrvSetupKeyInformation* ppVal);
HRESULT SetCADistinguishedName(const(ushort)* bstrCADN, short bIgnoreUnicode, short bOverwriteExistingKey, short bOverwriteExistingCAInDS);
HRESULT SetDatabaseInformation(const(ushort)* bstrDBDirectory, const(ushort)* bstrLogDirectory, const(ushort)* bstrSharedFolder, short bForceOverwrite);
HRESULT SetParentCAInformation(const(ushort)* bstrCAConfiguration);
HRESULT SetWebCAInformation(const(ushort)* bstrCAConfiguration);
HRESULT Install();
HRESULT PreUnInstall(short bClientOnly);
HRESULT PostUnInstall();
}
enum MSCEPSetupProperty
{
ENUM_CEPSETUPPROP_USELOCALSYSTEM = 0,
ENUM_CEPSETUPPROP_USECHALLENGE = 1,
ENUM_CEPSETUPPROP_RANAME_CN = 2,
ENUM_CEPSETUPPROP_RANAME_EMAIL = 3,
ENUM_CEPSETUPPROP_RANAME_COMPANY = 4,
ENUM_CEPSETUPPROP_RANAME_DEPT = 5,
ENUM_CEPSETUPPROP_RANAME_CITY = 6,
ENUM_CEPSETUPPROP_RANAME_STATE = 7,
ENUM_CEPSETUPPROP_RANAME_COUNTRY = 8,
ENUM_CEPSETUPPROP_SIGNINGKEYINFORMATION = 9,
ENUM_CEPSETUPPROP_EXCHANGEKEYINFORMATION = 10,
ENUM_CEPSETUPPROP_CAINFORMATION = 11,
ENUM_CEPSETUPPROP_MSCEPURL = 12,
ENUM_CEPSETUPPROP_CHALLENGEURL = 13,
}
const GUID IID_IMSCEPSetup = {0x4F7761BB, 0x9F3B, 0x4592, [0x9E, 0xE0, 0x9A, 0x73, 0x25, 0x9C, 0x31, 0x3E]};
@GUID(0x4F7761BB, 0x9F3B, 0x4592, [0x9E, 0xE0, 0x9A, 0x73, 0x25, 0x9C, 0x31, 0x3E]);
interface IMSCEPSetup : IDispatch
{
HRESULT get_MSCEPErrorId(int* pVal);
HRESULT get_MSCEPErrorString(BSTR* pVal);
HRESULT InitializeDefaults();
HRESULT GetMSCEPSetupProperty(MSCEPSetupProperty propertyId, VARIANT* pVal);
HRESULT SetMSCEPSetupProperty(MSCEPSetupProperty propertyId, VARIANT* pPropertyValue);
HRESULT SetAccountInformation(const(ushort)* bstrUserName, const(ushort)* bstrPassword);
HRESULT IsMSCEPStoreEmpty(short* pbEmpty);
HRESULT GetProviderNameList(short bExchange, VARIANT* pVal);
HRESULT GetKeyLengthList(short bExchange, const(ushort)* bstrProviderName, VARIANT* pVal);
HRESULT Install();
HRESULT PreUnInstall();
HRESULT PostUnInstall();
}
enum CESSetupProperty
{
ENUM_CESSETUPPROP_USE_IISAPPPOOLIDENTITY = 0,
ENUM_CESSETUPPROP_CACONFIG = 1,
ENUM_CESSETUPPROP_AUTHENTICATION = 2,
ENUM_CESSETUPPROP_SSLCERTHASH = 3,
ENUM_CESSETUPPROP_URL = 4,
ENUM_CESSETUPPROP_RENEWALONLY = 5,
ENUM_CESSETUPPROP_ALLOW_KEYBASED_RENEWAL = 6,
}
const GUID IID_ICertificateEnrollmentServerSetup = {0x70027FDB, 0x9DD9, 0x4921, [0x89, 0x44, 0xB3, 0x5C, 0xB3, 0x1B, 0xD2, 0xEC]};
@GUID(0x70027FDB, 0x9DD9, 0x4921, [0x89, 0x44, 0xB3, 0x5C, 0xB3, 0x1B, 0xD2, 0xEC]);
interface ICertificateEnrollmentServerSetup : IDispatch
{
HRESULT get_ErrorString(BSTR* pVal);
HRESULT InitializeInstallDefaults();
HRESULT GetProperty(CESSetupProperty propertyId, VARIANT* pPropertyValue);
HRESULT SetProperty(CESSetupProperty propertyId, VARIANT* pPropertyValue);
HRESULT SetApplicationPoolCredentials(const(ushort)* bstrUsername, const(ushort)* bstrPassword);
HRESULT Install();
HRESULT UnInstall(VARIANT* pCAConfig, VARIANT* pAuthentication);
}
enum CEPSetupProperty
{
ENUM_CEPSETUPPROP_AUTHENTICATION = 0,
ENUM_CEPSETUPPROP_SSLCERTHASH = 1,
ENUM_CEPSETUPPROP_URL = 2,
ENUM_CEPSETUPPROP_KEYBASED_RENEWAL = 3,
}
const GUID IID_ICertificateEnrollmentPolicyServerSetup = {0x859252CC, 0x238C, 0x4A88, [0xB8, 0xFD, 0xA3, 0x7E, 0x7D, 0x04, 0xE6, 0x8B]};
@GUID(0x859252CC, 0x238C, 0x4A88, [0xB8, 0xFD, 0xA3, 0x7E, 0x7D, 0x04, 0xE6, 0x8B]);
interface ICertificateEnrollmentPolicyServerSetup : IDispatch
{
HRESULT get_ErrorString(BSTR* pVal);
HRESULT InitializeInstallDefaults();
HRESULT GetProperty(CEPSetupProperty propertyId, VARIANT* pPropertyValue);
HRESULT SetProperty(CEPSetupProperty propertyId, VARIANT* pPropertyValue);
HRESULT Install();
HRESULT UnInstall(VARIANT* pAuthKeyBasedRenewal);
}
const GUID CLSID_CCertAdmin = {0x37EABAF0, 0x7FB6, 0x11D0, [0x88, 0x17, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x37EABAF0, 0x7FB6, 0x11D0, [0x88, 0x17, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
struct CCertAdmin;
const GUID CLSID_CCertView = {0xA12D0F7A, 0x1E84, 0x11D1, [0x9B, 0xD6, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]};
@GUID(0xA12D0F7A, 0x1E84, 0x11D1, [0x9B, 0xD6, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]);
struct CCertView;
const GUID CLSID_OCSPPropertyCollection = {0xF935A528, 0xBA8A, 0x4DD9, [0xBA, 0x79, 0xF2, 0x83, 0x27, 0x5C, 0xB2, 0xDE]};
@GUID(0xF935A528, 0xBA8A, 0x4DD9, [0xBA, 0x79, 0xF2, 0x83, 0x27, 0x5C, 0xB2, 0xDE]);
struct OCSPPropertyCollection;
const GUID CLSID_OCSPAdmin = {0xD3F73511, 0x92C9, 0x47CB, [0x8F, 0xF2, 0x8D, 0x89, 0x1A, 0x7C, 0x4D, 0xE4]};
@GUID(0xD3F73511, 0x92C9, 0x47CB, [0x8F, 0xF2, 0x8D, 0x89, 0x1A, 0x7C, 0x4D, 0xE4]);
struct OCSPAdmin;
const GUID IID_IEnumCERTVIEWCOLUMN = {0x9C735BE2, 0x57A5, 0x11D1, [0x9B, 0xDB, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]};
@GUID(0x9C735BE2, 0x57A5, 0x11D1, [0x9B, 0xDB, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]);
interface IEnumCERTVIEWCOLUMN : IDispatch
{
HRESULT Next(int* pIndex);
HRESULT GetName(BSTR* pstrOut);
HRESULT GetDisplayName(BSTR* pstrOut);
HRESULT GetType(int* pType);
HRESULT IsIndexed(int* pIndexed);
HRESULT GetMaxLength(int* pMaxLength);
HRESULT GetValue(int Flags, VARIANT* pvarValue);
HRESULT Skip(int celt);
HRESULT Reset();
HRESULT Clone(IEnumCERTVIEWCOLUMN* ppenum);
}
const GUID IID_IEnumCERTVIEWATTRIBUTE = {0xE77DB656, 0x7653, 0x11D1, [0x9B, 0xDE, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]};
@GUID(0xE77DB656, 0x7653, 0x11D1, [0x9B, 0xDE, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]);
interface IEnumCERTVIEWATTRIBUTE : IDispatch
{
HRESULT Next(int* pIndex);
HRESULT GetName(BSTR* pstrOut);
HRESULT GetValue(BSTR* pstrOut);
HRESULT Skip(int celt);
HRESULT Reset();
HRESULT Clone(IEnumCERTVIEWATTRIBUTE* ppenum);
}
const GUID IID_IEnumCERTVIEWEXTENSION = {0xE7DD1466, 0x7653, 0x11D1, [0x9B, 0xDE, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]};
@GUID(0xE7DD1466, 0x7653, 0x11D1, [0x9B, 0xDE, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]);
interface IEnumCERTVIEWEXTENSION : IDispatch
{
HRESULT Next(int* pIndex);
HRESULT GetName(BSTR* pstrOut);
HRESULT GetFlags(int* pFlags);
HRESULT GetValue(int Type, int Flags, VARIANT* pvarValue);
HRESULT Skip(int celt);
HRESULT Reset();
HRESULT Clone(IEnumCERTVIEWEXTENSION* ppenum);
}
const GUID IID_IEnumCERTVIEWROW = {0xD1157F4C, 0x5AF2, 0x11D1, [0x9B, 0xDC, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]};
@GUID(0xD1157F4C, 0x5AF2, 0x11D1, [0x9B, 0xDC, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]);
interface IEnumCERTVIEWROW : IDispatch
{
HRESULT Next(int* pIndex);
HRESULT EnumCertViewColumn(IEnumCERTVIEWCOLUMN* ppenum);
HRESULT EnumCertViewAttribute(int Flags, IEnumCERTVIEWATTRIBUTE* ppenum);
HRESULT EnumCertViewExtension(int Flags, IEnumCERTVIEWEXTENSION* ppenum);
HRESULT Skip(int celt);
HRESULT Reset();
HRESULT Clone(IEnumCERTVIEWROW* ppenum);
HRESULT GetMaxIndex(int* pIndex);
}
const GUID IID_ICertView = {0xC3FAC344, 0x1E84, 0x11D1, [0x9B, 0xD6, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]};
@GUID(0xC3FAC344, 0x1E84, 0x11D1, [0x9B, 0xD6, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]);
interface ICertView : IDispatch
{
HRESULT OpenConnection(const(ushort)* strConfig);
HRESULT EnumCertViewColumn(int fResultColumn, IEnumCERTVIEWCOLUMN* ppenum);
HRESULT GetColumnCount(int fResultColumn, int* pcColumn);
HRESULT GetColumnIndex(int fResultColumn, const(ushort)* strColumnName, int* pColumnIndex);
HRESULT SetResultColumnCount(int cResultColumn);
HRESULT SetResultColumn(int ColumnIndex);
HRESULT SetRestriction(int ColumnIndex, int SeekOperator, int SortOrder, const(VARIANT)* pvarValue);
HRESULT OpenView(IEnumCERTVIEWROW* ppenum);
}
const GUID IID_ICertView2 = {0xD594B282, 0x8851, 0x4B61, [0x9C, 0x66, 0x3E, 0xDA, 0xDF, 0x84, 0x88, 0x63]};
@GUID(0xD594B282, 0x8851, 0x4B61, [0x9C, 0x66, 0x3E, 0xDA, 0xDF, 0x84, 0x88, 0x63]);
interface ICertView2 : ICertView
{
HRESULT SetTable(int Table);
}
const GUID IID_ICertAdmin = {0x34DF6950, 0x7FB6, 0x11D0, [0x88, 0x17, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x34DF6950, 0x7FB6, 0x11D0, [0x88, 0x17, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
interface ICertAdmin : IDispatch
{
HRESULT IsValidCertificate(const(ushort)* strConfig, const(ushort)* strSerialNumber, int* pDisposition);
HRESULT GetRevocationReason(int* pReason);
HRESULT RevokeCertificate(const(ushort)* strConfig, const(ushort)* strSerialNumber, int Reason, double Date);
HRESULT SetRequestAttributes(const(ushort)* strConfig, int RequestId, const(ushort)* strAttributes);
HRESULT SetCertificateExtension(const(ushort)* strConfig, int RequestId, const(ushort)* strExtensionName, int Type, int Flags, const(VARIANT)* pvarValue);
HRESULT DenyRequest(const(ushort)* strConfig, int RequestId);
HRESULT ResubmitRequest(const(ushort)* strConfig, int RequestId, int* pDisposition);
HRESULT PublishCRL(const(ushort)* strConfig, double Date);
HRESULT GetCRL(const(ushort)* strConfig, int Flags, BSTR* pstrCRL);
HRESULT ImportCertificate(const(ushort)* strConfig, const(ushort)* strCertificate, int Flags, int* pRequestId);
}
const GUID IID_ICertAdmin2 = {0xF7C3AC41, 0xB8CE, 0x4FB4, [0xAA, 0x58, 0x3D, 0x1D, 0xC0, 0xE3, 0x6B, 0x39]};
@GUID(0xF7C3AC41, 0xB8CE, 0x4FB4, [0xAA, 0x58, 0x3D, 0x1D, 0xC0, 0xE3, 0x6B, 0x39]);
interface ICertAdmin2 : ICertAdmin
{
HRESULT PublishCRLs(const(ushort)* strConfig, double Date, int CRLFlags);
HRESULT GetCAProperty(const(ushort)* strConfig, int PropId, int PropIndex, int PropType, int Flags, VARIANT* pvarPropertyValue);
HRESULT SetCAProperty(const(ushort)* strConfig, int PropId, int PropIndex, int PropType, VARIANT* pvarPropertyValue);
HRESULT GetCAPropertyFlags(const(ushort)* strConfig, int PropId, int* pPropFlags);
HRESULT GetCAPropertyDisplayName(const(ushort)* strConfig, int PropId, BSTR* pstrDisplayName);
HRESULT GetArchivedKey(const(ushort)* strConfig, int RequestId, int Flags, BSTR* pstrArchivedKey);
HRESULT GetConfigEntry(const(ushort)* strConfig, const(ushort)* strNodePath, const(ushort)* strEntryName, VARIANT* pvarEntry);
HRESULT SetConfigEntry(const(ushort)* strConfig, const(ushort)* strNodePath, const(ushort)* strEntryName, VARIANT* pvarEntry);
HRESULT ImportKey(const(ushort)* strConfig, int RequestId, const(ushort)* strCertHash, int Flags, const(ushort)* strKey);
HRESULT GetMyRoles(const(ushort)* strConfig, int* pRoles);
HRESULT DeleteRow(const(ushort)* strConfig, int Flags, double Date, int Table, int RowId, int* pcDeleted);
}
const GUID IID_IOCSPProperty = {0x66FB7839, 0x5F04, 0x4C25, [0xAD, 0x18, 0x9F, 0xF1, 0xA8, 0x37, 0x6E, 0xE0]};
@GUID(0x66FB7839, 0x5F04, 0x4C25, [0xAD, 0x18, 0x9F, 0xF1, 0xA8, 0x37, 0x6E, 0xE0]);
interface IOCSPProperty : IDispatch
{
HRESULT get_Name(BSTR* pVal);
HRESULT get_Value(VARIANT* pVal);
HRESULT put_Value(VARIANT newVal);
HRESULT get_Modified(short* pVal);
}
const GUID IID_IOCSPPropertyCollection = {0x2597C18D, 0x54E6, 0x4B74, [0x9F, 0xA9, 0xA6, 0xBF, 0xDA, 0x99, 0xCB, 0xBE]};
@GUID(0x2597C18D, 0x54E6, 0x4B74, [0x9F, 0xA9, 0xA6, 0xBF, 0xDA, 0x99, 0xCB, 0xBE]);
interface IOCSPPropertyCollection : IDispatch
{
HRESULT get__NewEnum(IUnknown* ppVal);
HRESULT get_Item(int Index, VARIANT* pVal);
HRESULT get_Count(int* pVal);
HRESULT get_ItemByName(const(ushort)* bstrPropName, VARIANT* pVal);
HRESULT CreateProperty(const(ushort)* bstrPropName, const(VARIANT)* pVarPropValue, IOCSPProperty* ppVal);
HRESULT DeleteProperty(const(ushort)* bstrPropName);
HRESULT InitializeFromProperties(const(VARIANT)* pVarProperties);
HRESULT GetAllProperties(VARIANT* pVarProperties);
}
const GUID IID_IOCSPCAConfiguration = {0xAEC92B40, 0x3D46, 0x433F, [0x87, 0xD1, 0xB8, 0x4D, 0x5C, 0x1E, 0x79, 0x0D]};
@GUID(0xAEC92B40, 0x3D46, 0x433F, [0x87, 0xD1, 0xB8, 0x4D, 0x5C, 0x1E, 0x79, 0x0D]);
interface IOCSPCAConfiguration : IDispatch
{
HRESULT get_Identifier(BSTR* pVal);
HRESULT get_CACertificate(VARIANT* pVal);
HRESULT get_HashAlgorithm(BSTR* pVal);
HRESULT put_HashAlgorithm(const(ushort)* newVal);
HRESULT get_SigningFlags(uint* pVal);
HRESULT put_SigningFlags(uint newVal);
HRESULT get_SigningCertificate(VARIANT* pVal);
HRESULT put_SigningCertificate(VARIANT newVal);
HRESULT get_ReminderDuration(uint* pVal);
HRESULT put_ReminderDuration(uint newVal);
HRESULT get_ErrorCode(uint* pVal);
HRESULT get_CSPName(BSTR* pVal);
HRESULT get_KeySpec(uint* pVal);
HRESULT get_ProviderCLSID(BSTR* pVal);
HRESULT put_ProviderCLSID(const(ushort)* newVal);
HRESULT get_ProviderProperties(VARIANT* pVal);
HRESULT put_ProviderProperties(VARIANT newVal);
HRESULT get_Modified(short* pVal);
HRESULT get_LocalRevocationInformation(VARIANT* pVal);
HRESULT put_LocalRevocationInformation(VARIANT newVal);
HRESULT get_SigningCertificateTemplate(BSTR* pVal);
HRESULT put_SigningCertificateTemplate(const(ushort)* newVal);
HRESULT get_CAConfig(BSTR* pVal);
HRESULT put_CAConfig(const(ushort)* newVal);
}
const GUID IID_IOCSPCAConfigurationCollection = {0x2BEBEA0B, 0x5ECE, 0x4F28, [0xA9, 0x1C, 0x86, 0xB4, 0xBB, 0x20, 0xF0, 0xD3]};
@GUID(0x2BEBEA0B, 0x5ECE, 0x4F28, [0xA9, 0x1C, 0x86, 0xB4, 0xBB, 0x20, 0xF0, 0xD3]);
interface IOCSPCAConfigurationCollection : IDispatch
{
HRESULT get__NewEnum(IUnknown* pVal);
HRESULT get_Item(int Index, VARIANT* pVal);
HRESULT get_Count(int* pVal);
HRESULT get_ItemByName(const(ushort)* bstrIdentifier, VARIANT* pVal);
HRESULT CreateCAConfiguration(const(ushort)* bstrIdentifier, VARIANT varCACert, IOCSPCAConfiguration* ppVal);
HRESULT DeleteCAConfiguration(const(ushort)* bstrIdentifier);
}
const GUID IID_IOCSPAdmin = {0x322E830D, 0x67DB, 0x4FE9, [0x95, 0x77, 0x45, 0x96, 0xD9, 0xF0, 0x92, 0x94]};
@GUID(0x322E830D, 0x67DB, 0x4FE9, [0x95, 0x77, 0x45, 0x96, 0xD9, 0xF0, 0x92, 0x94]);
interface IOCSPAdmin : IDispatch
{
HRESULT get_OCSPServiceProperties(IOCSPPropertyCollection* ppVal);
HRESULT get_OCSPCAConfigurationCollection(IOCSPCAConfigurationCollection* pVal);
HRESULT GetConfiguration(const(ushort)* bstrServerName, short bForce);
HRESULT SetConfiguration(const(ushort)* bstrServerName, short bForce);
HRESULT GetMyRoles(const(ushort)* bstrServerName, int* pRoles);
HRESULT Ping(const(ushort)* bstrServerName);
HRESULT SetSecurity(const(ushort)* bstrServerName, const(ushort)* bstrVal);
HRESULT GetSecurity(const(ushort)* bstrServerName, BSTR* pVal);
HRESULT GetSigningCertificates(const(ushort)* bstrServerName, const(VARIANT)* pCACertVar, VARIANT* pVal);
HRESULT GetHashAlgorithms(const(ushort)* bstrServerName, const(ushort)* bstrCAId, VARIANT* pVal);
}
enum OCSPSigningFlag
{
OCSP_SF_SILENT = 1,
OCSP_SF_USE_CACERT = 2,
OCSP_SF_ALLOW_SIGNINGCERT_AUTORENEWAL = 4,
OCSP_SF_FORCE_SIGNINGCERT_ISSUER_ISCA = 8,
OCSP_SF_AUTODISCOVER_SIGNINGCERT = 16,
OCSP_SF_MANUAL_ASSIGN_SIGNINGCERT = 32,
OCSP_SF_RESPONDER_ID_KEYHASH = 64,
OCSP_SF_RESPONDER_ID_NAME = 128,
OCSP_SF_ALLOW_NONCE_EXTENSION = 256,
OCSP_SF_ALLOW_SIGNINGCERT_AUTOENROLLMENT = 512,
}
enum OCSPRequestFlag
{
OCSP_RF_REJECT_SIGNED_REQUESTS = 1,
}
const GUID CLSID_CCertEncodeStringArray = {0x19A76FE0, 0x7494, 0x11D0, [0x88, 0x16, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x19A76FE0, 0x7494, 0x11D0, [0x88, 0x16, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
struct CCertEncodeStringArray;
const GUID CLSID_CCertEncodeLongArray = {0x4E0680A0, 0xA0A2, 0x11D0, [0x88, 0x21, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x4E0680A0, 0xA0A2, 0x11D0, [0x88, 0x21, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
struct CCertEncodeLongArray;
const GUID CLSID_CCertEncodeDateArray = {0x301F77B0, 0xA470, 0x11D0, [0x88, 0x21, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x301F77B0, 0xA470, 0x11D0, [0x88, 0x21, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
struct CCertEncodeDateArray;
const GUID CLSID_CCertEncodeCRLDistInfo = {0x01FA60A0, 0xBBFF, 0x11D0, [0x88, 0x25, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x01FA60A0, 0xBBFF, 0x11D0, [0x88, 0x25, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
struct CCertEncodeCRLDistInfo;
const GUID CLSID_CCertEncodeAltName = {0x1CFC4CDA, 0x1271, 0x11D1, [0x9B, 0xD4, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]};
@GUID(0x1CFC4CDA, 0x1271, 0x11D1, [0x9B, 0xD4, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]);
struct CCertEncodeAltName;
const GUID CLSID_CCertEncodeBitString = {0x6D6B3CD8, 0x1278, 0x11D1, [0x9B, 0xD4, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]};
@GUID(0x6D6B3CD8, 0x1278, 0x11D1, [0x9B, 0xD4, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]);
struct CCertEncodeBitString;
const GUID IID_ICertEncodeStringArray = {0x12A88820, 0x7494, 0x11D0, [0x88, 0x16, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x12A88820, 0x7494, 0x11D0, [0x88, 0x16, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
interface ICertEncodeStringArray : IDispatch
{
HRESULT Decode(const(ushort)* strBinary);
HRESULT GetStringType(int* pStringType);
HRESULT GetCount(int* pCount);
HRESULT GetValue(int Index, BSTR* pstr);
HRESULT Reset(int Count, int StringType);
HRESULT SetValue(int Index, const(ushort)* str);
HRESULT Encode(BSTR* pstrBinary);
}
const GUID IID_ICertEncodeStringArray2 = {0x9C680D93, 0x9B7D, 0x4E95, [0x90, 0x18, 0x4F, 0xFE, 0x10, 0xBA, 0x5A, 0xDA]};
@GUID(0x9C680D93, 0x9B7D, 0x4E95, [0x90, 0x18, 0x4F, 0xFE, 0x10, 0xBA, 0x5A, 0xDA]);
interface ICertEncodeStringArray2 : ICertEncodeStringArray
{
HRESULT DecodeBlob(const(ushort)* strEncodedData, EncodingType Encoding);
HRESULT EncodeBlob(EncodingType Encoding, BSTR* pstrEncodedData);
}
const GUID IID_ICertEncodeLongArray = {0x15E2F230, 0xA0A2, 0x11D0, [0x88, 0x21, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x15E2F230, 0xA0A2, 0x11D0, [0x88, 0x21, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
interface ICertEncodeLongArray : IDispatch
{
HRESULT Decode(const(ushort)* strBinary);
HRESULT GetCount(int* pCount);
HRESULT GetValue(int Index, int* pValue);
HRESULT Reset(int Count);
HRESULT SetValue(int Index, int Value);
HRESULT Encode(BSTR* pstrBinary);
}
const GUID IID_ICertEncodeLongArray2 = {0x4EFDE84A, 0xBD9B, 0x4FC2, [0xA1, 0x08, 0xC3, 0x47, 0xD4, 0x78, 0x84, 0x0F]};
@GUID(0x4EFDE84A, 0xBD9B, 0x4FC2, [0xA1, 0x08, 0xC3, 0x47, 0xD4, 0x78, 0x84, 0x0F]);
interface ICertEncodeLongArray2 : ICertEncodeLongArray
{
HRESULT DecodeBlob(const(ushort)* strEncodedData, EncodingType Encoding);
HRESULT EncodeBlob(EncodingType Encoding, BSTR* pstrEncodedData);
}
const GUID IID_ICertEncodeDateArray = {0x2F9469A0, 0xA470, 0x11D0, [0x88, 0x21, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x2F9469A0, 0xA470, 0x11D0, [0x88, 0x21, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
interface ICertEncodeDateArray : IDispatch
{
HRESULT Decode(const(ushort)* strBinary);
HRESULT GetCount(int* pCount);
HRESULT GetValue(int Index, double* pValue);
HRESULT Reset(int Count);
HRESULT SetValue(int Index, double Value);
HRESULT Encode(BSTR* pstrBinary);
}
const GUID IID_ICertEncodeDateArray2 = {0x99A4EDB5, 0x2B8E, 0x448D, [0xBF, 0x95, 0xBB, 0xA8, 0xD7, 0x78, 0x9D, 0xC8]};
@GUID(0x99A4EDB5, 0x2B8E, 0x448D, [0xBF, 0x95, 0xBB, 0xA8, 0xD7, 0x78, 0x9D, 0xC8]);
interface ICertEncodeDateArray2 : ICertEncodeDateArray
{
HRESULT DecodeBlob(const(ushort)* strEncodedData, EncodingType Encoding);
HRESULT EncodeBlob(EncodingType Encoding, BSTR* pstrEncodedData);
}
const GUID IID_ICertEncodeCRLDistInfo = {0x01958640, 0xBBFF, 0x11D0, [0x88, 0x25, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0x01958640, 0xBBFF, 0x11D0, [0x88, 0x25, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
interface ICertEncodeCRLDistInfo : IDispatch
{
HRESULT Decode(const(ushort)* strBinary);
HRESULT GetDistPointCount(int* pDistPointCount);
HRESULT GetNameCount(int DistPointIndex, int* pNameCount);
HRESULT GetNameChoice(int DistPointIndex, int NameIndex, int* pNameChoice);
HRESULT GetName(int DistPointIndex, int NameIndex, BSTR* pstrName);
HRESULT Reset(int DistPointCount);
HRESULT SetNameCount(int DistPointIndex, int NameCount);
HRESULT SetNameEntry(int DistPointIndex, int NameIndex, int NameChoice, const(ushort)* strName);
HRESULT Encode(BSTR* pstrBinary);
}
const GUID IID_ICertEncodeCRLDistInfo2 = {0xB4275D4B, 0x3E30, 0x446F, [0xAD, 0x36, 0x09, 0xD0, 0x31, 0x20, 0xB0, 0x78]};
@GUID(0xB4275D4B, 0x3E30, 0x446F, [0xAD, 0x36, 0x09, 0xD0, 0x31, 0x20, 0xB0, 0x78]);
interface ICertEncodeCRLDistInfo2 : ICertEncodeCRLDistInfo
{
HRESULT DecodeBlob(const(ushort)* strEncodedData, EncodingType Encoding);
HRESULT EncodeBlob(EncodingType Encoding, BSTR* pstrEncodedData);
}
const GUID IID_ICertEncodeAltName = {0x1C9A8C70, 0x1271, 0x11D1, [0x9B, 0xD4, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]};
@GUID(0x1C9A8C70, 0x1271, 0x11D1, [0x9B, 0xD4, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]);
interface ICertEncodeAltName : IDispatch
{
HRESULT Decode(const(ushort)* strBinary);
HRESULT GetNameCount(int* pNameCount);
HRESULT GetNameChoice(int NameIndex, int* pNameChoice);
HRESULT GetName(int NameIndex, BSTR* pstrName);
HRESULT Reset(int NameCount);
HRESULT SetNameEntry(int NameIndex, int NameChoice, const(ushort)* strName);
HRESULT Encode(BSTR* pstrBinary);
}
const GUID IID_ICertEncodeAltName2 = {0xF67FE177, 0x5EF1, 0x4535, [0xB4, 0xCE, 0x29, 0xDF, 0x15, 0xE2, 0xE0, 0xC3]};
@GUID(0xF67FE177, 0x5EF1, 0x4535, [0xB4, 0xCE, 0x29, 0xDF, 0x15, 0xE2, 0xE0, 0xC3]);
interface ICertEncodeAltName2 : ICertEncodeAltName
{
HRESULT DecodeBlob(const(ushort)* strEncodedData, EncodingType Encoding);
HRESULT EncodeBlob(EncodingType Encoding, BSTR* pstrEncodedData);
HRESULT GetNameBlob(int NameIndex, EncodingType Encoding, BSTR* pstrName);
HRESULT SetNameEntryBlob(int NameIndex, int NameChoice, const(ushort)* strName, EncodingType Encoding);
}
const GUID IID_ICertEncodeBitString = {0x6DB525BE, 0x1278, 0x11D1, [0x9B, 0xD4, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]};
@GUID(0x6DB525BE, 0x1278, 0x11D1, [0x9B, 0xD4, 0x00, 0xC0, 0x4F, 0xB6, 0x83, 0xFA]);
interface ICertEncodeBitString : IDispatch
{
HRESULT Decode(const(ushort)* strBinary);
HRESULT GetBitCount(int* pBitCount);
HRESULT GetBitString(BSTR* pstrBitString);
HRESULT Encode(int BitCount, BSTR strBitString, BSTR* pstrBinary);
}
const GUID IID_ICertEncodeBitString2 = {0xE070D6E7, 0x23EF, 0x4DD2, [0x82, 0x42, 0xEB, 0xD9, 0xC9, 0x28, 0xCB, 0x30]};
@GUID(0xE070D6E7, 0x23EF, 0x4DD2, [0x82, 0x42, 0xEB, 0xD9, 0xC9, 0x28, 0xCB, 0x30]);
interface ICertEncodeBitString2 : ICertEncodeBitString
{
HRESULT DecodeBlob(const(ushort)* strEncodedData, EncodingType Encoding);
HRESULT EncodeBlob(int BitCount, const(ushort)* strBitString, EncodingType EncodingIn, EncodingType Encoding, BSTR* pstrEncodedData);
HRESULT GetBitStringBlob(EncodingType Encoding, BSTR* pstrBitString);
}
const GUID IID_ICertExit = {0xE19AE1A0, 0x7364, 0x11D0, [0x88, 0x16, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]};
@GUID(0xE19AE1A0, 0x7364, 0x11D0, [0x88, 0x16, 0x00, 0xA0, 0xC9, 0x03, 0xB8, 0x3C]);
interface ICertExit : IDispatch
{
HRESULT Initialize(const(ushort)* strConfig, int* pEventMask);
HRESULT Notify(int ExitEvent, int Context);
HRESULT GetDescription(BSTR* pstrDescription);
}
const GUID IID_ICertExit2 = {0x0ABF484B, 0xD049, 0x464D, [0xA7, 0xED, 0x55, 0x2E, 0x75, 0x29, 0xB0, 0xFF]};
@GUID(0x0ABF484B, 0xD049, 0x464D, [0xA7, 0xED, 0x55, 0x2E, 0x75, 0x29, 0xB0, 0xFF]);
interface ICertExit2 : ICertExit
{
HRESULT GetManageModule(ICertManageModule* ppManageModule);
}
enum ENUM_CATYPES
{
ENUM_ENTERPRISE_ROOTCA = 0,
ENUM_ENTERPRISE_SUBCA = 1,
ENUM_STANDALONE_ROOTCA = 3,
ENUM_STANDALONE_SUBCA = 4,
ENUM_UNKNOWN_CA = 5,
}
struct CAINFO
{
uint cbSize;
ENUM_CATYPES CAType;
uint cCASignatureCerts;
uint cCAExchangeCerts;
uint cExitModules;
int lPropIdMax;
int lRoleSeparationEnabled;
uint cKRACertUsedCount;
uint cKRACertCount;
uint fAdvancedServer;
}
enum ENUM_PERIOD
{
ENUM_PERIOD_INVALID = -1,
ENUM_PERIOD_SECONDS = 0,
ENUM_PERIOD_MINUTES = 1,
ENUM_PERIOD_HOURS = 2,
ENUM_PERIOD_DAYS = 3,
ENUM_PERIOD_WEEKS = 4,
ENUM_PERIOD_MONTHS = 5,
ENUM_PERIOD_YEARS = 6,
}
struct LLFILETIME
{
_Anonymous_e__Union Anonymous;
}
alias PFNCMFILTERPROC = extern(Windows) BOOL function(CERT_CONTEXT* pCertContext, LPARAM param1, uint param2, uint param3);
alias PFNCMHOOKPROC = extern(Windows) uint function(HWND hwndDialog, uint message, WPARAM wParam, LPARAM lParam);
struct CERT_SELECT_STRUCT_A
{
uint dwSize;
HWND hwndParent;
HINSTANCE hInstance;
const(char)* pTemplateName;
uint dwFlags;
const(char)* szTitle;
uint cCertStore;
void** arrayCertStore;
const(char)* szPurposeOid;
uint cCertContext;
CERT_CONTEXT** arrayCertContext;
LPARAM lCustData;
PFNCMHOOKPROC pfnHook;
PFNCMFILTERPROC pfnFilter;
const(char)* szHelpFileName;
uint dwHelpId;
uint hprov;
}
struct CERT_SELECT_STRUCT_W
{
uint dwSize;
HWND hwndParent;
HINSTANCE hInstance;
const(wchar)* pTemplateName;
uint dwFlags;
const(wchar)* szTitle;
uint cCertStore;
void** arrayCertStore;
const(char)* szPurposeOid;
uint cCertContext;
CERT_CONTEXT** arrayCertContext;
LPARAM lCustData;
PFNCMHOOKPROC pfnHook;
PFNCMFILTERPROC pfnFilter;
const(wchar)* szHelpFileName;
uint dwHelpId;
uint hprov;
}
struct CERT_VIEWPROPERTIES_STRUCT_A
{
uint dwSize;
HWND hwndParent;
HINSTANCE hInstance;
uint dwFlags;
const(char)* szTitle;
CERT_CONTEXT* pCertContext;
byte** arrayPurposes;
uint cArrayPurposes;
uint cRootStores;
void** rghstoreRoots;
uint cStores;
void** rghstoreCAs;
uint cTrustStores;
void** rghstoreTrust;
uint hprov;
LPARAM lCustData;
uint dwPad;
const(char)* szHelpFileName;
uint dwHelpId;
uint nStartPage;
uint cArrayPropSheetPages;
PROPSHEETPAGEA* arrayPropSheetPages;
}
struct CERT_VIEWPROPERTIES_STRUCT_W
{
uint dwSize;
HWND hwndParent;
HINSTANCE hInstance;
uint dwFlags;
const(wchar)* szTitle;
CERT_CONTEXT* pCertContext;
byte** arrayPurposes;
uint cArrayPurposes;
uint cRootStores;
void** rghstoreRoots;
uint cStores;
void** rghstoreCAs;
uint cTrustStores;
void** rghstoreTrust;
uint hprov;
LPARAM lCustData;
uint dwPad;
const(wchar)* szHelpFileName;
uint dwHelpId;
uint nStartPage;
uint cArrayPropSheetPages;
PROPSHEETPAGEA* arrayPropSheetPages;
}
struct tagCMOID
{
const(char)* szExtensionOID;
uint dwTestOperation;
ubyte* pbTestData;
uint cbTestData;
}
struct tagCMFLTR
{
uint dwSize;
uint cExtensionChecks;
tagCMOID* arrayExtensionChecks;
uint dwCheckingFlags;
}
alias PFNTRUSTHELPER = extern(Windows) HRESULT function(CERT_CONTEXT* pCertContext, LPARAM lCustData, BOOL fLeafCertificate, ubyte* pbTrustBlob);
struct CERT_VERIFY_CERTIFICATE_TRUST
{
uint cbSize;
CERT_CONTEXT* pccert;
uint dwFlags;
uint dwIgnoreErr;
uint* pdwErrors;
const(char)* pszUsageOid;
uint hprov;
uint cRootStores;
void** rghstoreRoots;
uint cStores;
void** rghstoreCAs;
uint cTrustStores;
void** rghstoreTrust;
LPARAM lCustData;
PFNTRUSTHELPER pfnTrustHelper;
uint* pcChain;
CERT_CONTEXT*** prgChain;
uint** prgdwErrors;
CRYPTOAPI_BLOB** prgpbTrustInfo;
}
struct CTL_MODIFY_REQUEST
{
CERT_CONTEXT* pccert;
uint dwOperation;
uint dwError;
}
struct WINTRUST_DATA
{
uint cbStruct;
void* pPolicyCallbackData;
void* pSIPClientData;
uint dwUIChoice;
uint fdwRevocationChecks;
uint dwUnionChoice;
_Anonymous_e__Union Anonymous;
uint dwStateAction;
HANDLE hWVTStateData;
ushort* pwszURLReference;
uint dwProvFlags;
uint dwUIContext;
WINTRUST_SIGNATURE_SETTINGS* pSignatureSettings;
}
struct WINTRUST_SIGNATURE_SETTINGS
{
uint cbStruct;
uint dwIndex;
uint dwFlags;
uint cSecondarySigs;
uint dwVerifiedSigIndex;
CERT_STRONG_SIGN_PARA* pCryptoPolicy;
}
struct WINTRUST_FILE_INFO
{
uint cbStruct;
const(wchar)* pcwszFilePath;
HANDLE hFile;
Guid* pgKnownSubject;
}
struct WINTRUST_CATALOG_INFO
{
uint cbStruct;
uint dwCatalogVersion;
const(wchar)* pcwszCatalogFilePath;
const(wchar)* pcwszMemberTag;
const(wchar)* pcwszMemberFilePath;
HANDLE hMemberFile;
ubyte* pbCalculatedFileHash;
uint cbCalculatedFileHash;
CTL_CONTEXT* pcCatalogContext;
int hCatAdmin;
}
struct WINTRUST_BLOB_INFO
{
uint cbStruct;
Guid gSubject;
const(wchar)* pcwszDisplayName;
uint cbMemObject;
ubyte* pbMemObject;
uint cbMemSignedMsg;
ubyte* pbMemSignedMsg;
}
struct WINTRUST_SGNR_INFO
{
uint cbStruct;
const(wchar)* pcwszDisplayName;
CMSG_SIGNER_INFO* psSignerInfo;
uint chStores;
void** pahStores;
}
struct WINTRUST_CERT_INFO
{
uint cbStruct;
const(wchar)* pcwszDisplayName;
CERT_CONTEXT* psCertContext;
uint chStores;
void** pahStores;
uint dwFlags;
FILETIME* psftVerifyAsOf;
}
alias PFN_CPD_MEM_ALLOC = extern(Windows) void* function(uint cbSize);
alias PFN_CPD_MEM_FREE = extern(Windows) void function(void* pvMem2Free);
alias PFN_CPD_ADD_STORE = extern(Windows) BOOL function(CRYPT_PROVIDER_DATA* pProvData, void* hStore2Add);
alias PFN_CPD_ADD_SGNR = extern(Windows) BOOL function(CRYPT_PROVIDER_DATA* pProvData, BOOL fCounterSigner, uint idxSigner, CRYPT_PROVIDER_SGNR* pSgnr2Add);
alias PFN_CPD_ADD_CERT = extern(Windows) BOOL function(CRYPT_PROVIDER_DATA* pProvData, uint idxSigner, BOOL fCounterSigner, uint idxCounterSigner, CERT_CONTEXT* pCert2Add);
alias PFN_CPD_ADD_PRIVDATA = extern(Windows) BOOL function(CRYPT_PROVIDER_DATA* pProvData, CRYPT_PROVIDER_PRIVDATA* pPrivData2Add);
alias PFN_PROVIDER_INIT_CALL = extern(Windows) HRESULT function(CRYPT_PROVIDER_DATA* pProvData);
alias PFN_PROVIDER_OBJTRUST_CALL = extern(Windows) HRESULT function(CRYPT_PROVIDER_DATA* pProvData);
alias PFN_PROVIDER_SIGTRUST_CALL = extern(Windows) HRESULT function(CRYPT_PROVIDER_DATA* pProvData);
alias PFN_PROVIDER_CERTTRUST_CALL = extern(Windows) HRESULT function(CRYPT_PROVIDER_DATA* pProvData);
alias PFN_PROVIDER_FINALPOLICY_CALL = extern(Windows) HRESULT function(CRYPT_PROVIDER_DATA* pProvData);
alias PFN_PROVIDER_TESTFINALPOLICY_CALL = extern(Windows) HRESULT function(CRYPT_PROVIDER_DATA* pProvData);
alias PFN_PROVIDER_CLEANUP_CALL = extern(Windows) HRESULT function(CRYPT_PROVIDER_DATA* pProvData);
alias PFN_PROVIDER_CERTCHKPOLICY_CALL = extern(Windows) BOOL function(CRYPT_PROVIDER_DATA* pProvData, uint idxSigner, BOOL fCounterSignerChain, uint idxCounterSigner);
struct CRYPT_PROVIDER_DATA
{
uint cbStruct;
WINTRUST_DATA* pWintrustData;
BOOL fOpenedFile;
HWND hWndParent;
Guid* pgActionID;
uint hProv;
uint dwError;
uint dwRegSecuritySettings;
uint dwRegPolicySettings;
CRYPT_PROVIDER_FUNCTIONS* psPfns;
uint cdwTrustStepErrors;
uint* padwTrustStepErrors;
uint chStores;
void** pahStores;
uint dwEncoding;
void* hMsg;
uint csSigners;
CRYPT_PROVIDER_SGNR* pasSigners;
uint csProvPrivData;
CRYPT_PROVIDER_PRIVDATA* pasProvPrivData;
uint dwSubjectChoice;
_Anonymous_e__Union Anonymous;
byte* pszUsageOID;
BOOL fRecallWithState;
FILETIME sftSystemTime;
byte* pszCTLSignerUsageOID;
uint dwProvFlags;
uint dwFinalError;
CERT_USAGE_MATCH* pRequestUsage;
uint dwTrustPubSettings;
uint dwUIStateFlags;
CRYPT_PROVIDER_SIGSTATE* pSigState;
WINTRUST_SIGNATURE_SETTINGS* pSigSettings;
}
struct CRYPT_PROVIDER_SIGSTATE
{
uint cbStruct;
void** rhSecondarySigs;
void* hPrimarySig;
BOOL fFirstAttemptMade;
BOOL fNoMoreSigs;
uint cSecondarySigs;
uint dwCurrentIndex;
BOOL fSupportMultiSig;
uint dwCryptoPolicySupport;
uint iAttemptCount;
BOOL fCheckedSealing;
SEALING_SIGNATURE_ATTRIBUTE* pSealingSignature;
}
struct CRYPT_PROVIDER_FUNCTIONS
{
uint cbStruct;
PFN_CPD_MEM_ALLOC pfnAlloc;
PFN_CPD_MEM_FREE pfnFree;
PFN_CPD_ADD_STORE pfnAddStore2Chain;
PFN_CPD_ADD_SGNR pfnAddSgnr2Chain;
PFN_CPD_ADD_CERT pfnAddCert2Chain;
PFN_CPD_ADD_PRIVDATA pfnAddPrivData2Chain;
PFN_PROVIDER_INIT_CALL pfnInitialize;
PFN_PROVIDER_OBJTRUST_CALL pfnObjectTrust;
PFN_PROVIDER_SIGTRUST_CALL pfnSignatureTrust;
PFN_PROVIDER_CERTTRUST_CALL pfnCertificateTrust;
PFN_PROVIDER_FINALPOLICY_CALL pfnFinalPolicy;
PFN_PROVIDER_CERTCHKPOLICY_CALL pfnCertCheckPolicy;
PFN_PROVIDER_TESTFINALPOLICY_CALL pfnTestFinalPolicy;
CRYPT_PROVUI_FUNCS* psUIpfns;
PFN_PROVIDER_CLEANUP_CALL pfnCleanupPolicy;
}
alias PFN_PROVUI_CALL = extern(Windows) BOOL function(HWND hWndSecurityDialog, CRYPT_PROVIDER_DATA* pProvData);
struct CRYPT_PROVUI_FUNCS
{
uint cbStruct;
CRYPT_PROVUI_DATA* psUIData;
PFN_PROVUI_CALL pfnOnMoreInfoClick;
PFN_PROVUI_CALL pfnOnMoreInfoClickDefault;
PFN_PROVUI_CALL pfnOnAdvancedClick;
PFN_PROVUI_CALL pfnOnAdvancedClickDefault;
}
struct CRYPT_PROVUI_DATA
{
uint cbStruct;
uint dwFinalError;
ushort* pYesButtonText;
ushort* pNoButtonText;
ushort* pMoreInfoButtonText;
ushort* pAdvancedLinkText;
ushort* pCopyActionText;
ushort* pCopyActionTextNoTS;
ushort* pCopyActionTextNotSigned;
}
struct CRYPT_PROVIDER_SGNR
{
uint cbStruct;
FILETIME sftVerifyAsOf;
uint csCertChain;
CRYPT_PROVIDER_CERT* pasCertChain;
uint dwSignerType;
CMSG_SIGNER_INFO* psSigner;
uint dwError;
uint csCounterSigners;
CRYPT_PROVIDER_SGNR* pasCounterSigners;
CERT_CHAIN_CONTEXT* pChainContext;
}
struct CRYPT_PROVIDER_CERT
{
uint cbStruct;
CERT_CONTEXT* pCert;
BOOL fCommercial;
BOOL fTrustedRoot;
BOOL fSelfSigned;
BOOL fTestCert;
uint dwRevokedReason;
uint dwConfidence;
uint dwError;
CTL_CONTEXT* pTrustListContext;
BOOL fTrustListSignerCert;
CTL_CONTEXT* pCtlContext;
uint dwCtlError;
BOOL fIsCyclic;
CERT_CHAIN_ELEMENT* pChainElement;
}
struct CRYPT_PROVIDER_PRIVDATA
{
uint cbStruct;
Guid gProviderID;
uint cbProvData;
void* pvProvData;
}
struct PROVDATA_SIP
{
uint cbStruct;
Guid gSubject;
SIP_DISPATCH_INFO* pSip;
SIP_DISPATCH_INFO* pCATSip;
SIP_SUBJECTINFO* psSipSubjectInfo;
SIP_SUBJECTINFO* psSipCATSubjectInfo;
SIP_INDIRECT_DATA* psIndirectData;
}
struct CRYPT_TRUST_REG_ENTRY
{
uint cbStruct;
ushort* pwszDLLName;
ushort* pwszFunctionName;
}
struct CRYPT_REGISTER_ACTIONID
{
uint cbStruct;
CRYPT_TRUST_REG_ENTRY sInitProvider;
CRYPT_TRUST_REG_ENTRY sObjectProvider;
CRYPT_TRUST_REG_ENTRY sSignatureProvider;
CRYPT_TRUST_REG_ENTRY sCertificateProvider;
CRYPT_TRUST_REG_ENTRY sCertificatePolicyProvider;
CRYPT_TRUST_REG_ENTRY sFinalPolicyProvider;
CRYPT_TRUST_REG_ENTRY sTestPolicyProvider;
CRYPT_TRUST_REG_ENTRY sCleanupProvider;
}
alias PFN_ALLOCANDFILLDEFUSAGE = extern(Windows) BOOL function(const(byte)* pszUsageOID, CRYPT_PROVIDER_DEFUSAGE* psDefUsage);
alias PFN_FREEDEFUSAGE = extern(Windows) BOOL function(const(byte)* pszUsageOID, CRYPT_PROVIDER_DEFUSAGE* psDefUsage);
struct CRYPT_PROVIDER_REGDEFUSAGE
{
uint cbStruct;
Guid* pgActionID;
ushort* pwszDllName;
byte* pwszLoadCallbackDataFunctionName;
byte* pwszFreeCallbackDataFunctionName;
}
struct CRYPT_PROVIDER_DEFUSAGE
{
uint cbStruct;
Guid gActionID;
void* pDefPolicyCallbackData;
void* pDefSIPClientData;
}
struct SPC_SERIALIZED_OBJECT
{
ubyte ClassId;
CRYPTOAPI_BLOB SerializedData;
}
struct SPC_SIGINFO
{
uint dwSipVersion;
Guid gSIPGuid;
uint dwReserved1;
uint dwReserved2;
uint dwReserved3;
uint dwReserved4;
uint dwReserved5;
}
struct SPC_LINK
{
uint dwLinkChoice;
_Anonymous_e__Union Anonymous;
}
struct SPC_PE_IMAGE_DATA
{
CRYPT_BIT_BLOB Flags;
SPC_LINK* pFile;
}
struct SPC_INDIRECT_DATA_CONTENT
{
CRYPT_ATTRIBUTE_TYPE_VALUE Data;
CRYPT_ALGORITHM_IDENTIFIER DigestAlgorithm;
CRYPTOAPI_BLOB Digest;
}
struct SPC_FINANCIAL_CRITERIA
{
BOOL fFinancialInfoAvailable;
BOOL fMeetsCriteria;
}
struct SPC_IMAGE
{
SPC_LINK* pImageLink;
CRYPTOAPI_BLOB Bitmap;
CRYPTOAPI_BLOB Metafile;
CRYPTOAPI_BLOB EnhancedMetafile;
CRYPTOAPI_BLOB GifFile;
}
struct SPC_SP_AGENCY_INFO
{
SPC_LINK* pPolicyInformation;
const(wchar)* pwszPolicyDisplayText;
SPC_IMAGE* pLogoImage;
SPC_LINK* pLogoLink;
}
struct SPC_STATEMENT_TYPE
{
uint cKeyPurposeId;
byte** rgpszKeyPurposeId;
}
struct SPC_SP_OPUS_INFO
{
const(wchar)* pwszProgramName;
SPC_LINK* pMoreInfo;
SPC_LINK* pPublisherInfo;
}
struct CAT_NAMEVALUE
{
const(wchar)* pwszTag;
uint fdwFlags;
CRYPTOAPI_BLOB Value;
}
struct CAT_MEMBERINFO
{
const(wchar)* pwszSubjGuid;
uint dwCertVersion;
}
struct CAT_MEMBERINFO2
{
Guid SubjectGuid;
uint dwCertVersion;
}
struct INTENT_TO_SEAL_ATTRIBUTE
{
uint version;
ubyte seal;
}
struct SEALING_SIGNATURE_ATTRIBUTE
{
uint version;
uint signerIndex;
CRYPT_ALGORITHM_IDENTIFIER signatureAlgorithm;
CRYPTOAPI_BLOB encryptedDigest;
}
struct SEALING_TIMESTAMP_ATTRIBUTE
{
uint version;
uint signerIndex;
CRYPTOAPI_BLOB sealTimeStampToken;
}
struct WIN_CERTIFICATE
{
uint dwLength;
ushort wRevision;
ushort wCertificateType;
ubyte bCertificate;
}
struct WIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT
{
HANDLE hClientToken;
Guid* SubjectType;
void* Subject;
}
struct WIN_TRUST_ACTDATA_SUBJECT_ONLY
{
Guid* SubjectType;
void* Subject;
}
struct WIN_TRUST_SUBJECT_FILE
{
HANDLE hFile;
const(wchar)* lpPath;
}
struct WIN_TRUST_SUBJECT_FILE_AND_DISPLAY
{
HANDLE hFile;
const(wchar)* lpPath;
const(wchar)* lpDisplayName;
}
struct WIN_SPUB_TRUSTED_PUBLISHER_DATA
{
HANDLE hClientToken;
WIN_CERTIFICATE* lpCertificate;
}
alias PFNCFILTERPROC = extern(Windows) BOOL function(CERT_CONTEXT* pCertContext, int* pfInitialSelectedCert, void* pvCallbackData);
struct CERT_SELECTUI_INPUT
{
void* hStore;
CERT_CHAIN_CONTEXT** prgpChain;
uint cChain;
}
struct CRYPTUI_CERT_MGR_STRUCT
{
uint dwSize;
HWND hwndParent;
uint dwFlags;
const(wchar)* pwszTitle;
const(char)* pszInitUsageOID;
}
struct CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO
{
uint dwSize;
Guid* pGuidSubject;
uint cbBlob;
ubyte* pbBlob;
const(wchar)* pwszDisplayName;
}
struct CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO
{
uint dwSize;
uint cCertStore;
void** rghCertStore;
PFNCFILTERPROC pFilterCallback;
void* pvCallbackData;
}
struct CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO
{
uint dwSize;
const(wchar)* pwszPvkFileName;
const(wchar)* pwszProvName;
uint dwProvType;
}
struct CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO
{
uint dwSize;
const(wchar)* pwszSigningCertFileName;
uint dwPvkChoice;
_Anonymous_e__Union Anonymous;
}
struct CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO
{
uint dwSize;
uint dwAttrFlags;
const(wchar)* pwszDescription;
const(wchar)* pwszMoreInfoLocation;
const(char)* pszHashAlg;
const(wchar)* pwszSigningCertDisplayString;
void* hAdditionalCertStore;
CRYPT_ATTRIBUTES* psAuthenticated;
CRYPT_ATTRIBUTES* psUnauthenticated;
}
struct CRYPTUI_WIZ_DIGITAL_SIGN_INFO
{
uint dwSize;
uint dwSubjectChoice;
_Anonymous1_e__Union Anonymous1;
uint dwSigningCertChoice;
_Anonymous2_e__Union Anonymous2;
const(wchar)* pwszTimestampURL;
uint dwAdditionalCertChoice;
CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO* pSignExtInfo;
}
struct CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT
{
uint dwSize;
uint cbBlob;
ubyte* pbBlob;
}
struct CRYPTUI_INITDIALOG_STRUCT
{
LPARAM lParam;
CERT_CONTEXT* pCertContext;
}
struct CRYPTUI_VIEWCERTIFICATE_STRUCTW
{
uint dwSize;
HWND hwndParent;
uint dwFlags;
const(wchar)* szTitle;
CERT_CONTEXT* pCertContext;
byte** rgszPurposes;
uint cPurposes;
_Anonymous_e__Union Anonymous;
BOOL fpCryptProviderDataTrustedUsage;
uint idxSigner;
uint idxCert;
BOOL fCounterSigner;
uint idxCounterSigner;
uint cStores;
void** rghStores;
uint cPropSheetPages;
PROPSHEETPAGEW* rgPropSheetPages;
uint nStartPage;
}
struct CRYPTUI_VIEWCERTIFICATE_STRUCTA
{
uint dwSize;
HWND hwndParent;
uint dwFlags;
const(char)* szTitle;
CERT_CONTEXT* pCertContext;
byte** rgszPurposes;
uint cPurposes;
_Anonymous_e__Union Anonymous;
BOOL fpCryptProviderDataTrustedUsage;
uint idxSigner;
uint idxCert;
BOOL fCounterSigner;
uint idxCounterSigner;
uint cStores;
void** rghStores;
uint cPropSheetPages;
PROPSHEETPAGEA* rgPropSheetPages;
uint nStartPage;
}
struct CRYPTUI_WIZ_EXPORT_INFO
{
uint dwSize;
const(wchar)* pwszExportFileName;
uint dwSubjectChoice;
_Anonymous_e__Union Anonymous;
uint cStores;
void** rghStores;
}
struct CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO
{
uint dwSize;
uint dwExportFormat;
BOOL fExportChain;
BOOL fExportPrivateKeys;
const(wchar)* pwszPassword;
BOOL fStrongEncryption;
}
struct CRYPTUI_WIZ_IMPORT_SRC_INFO
{
uint dwSize;
uint dwSubjectChoice;
_Anonymous_e__Union Anonymous;
uint dwFlags;
const(wchar)* pwszPassword;
}
struct SIP_SUBJECTINFO
{
uint cbSize;
Guid* pgSubjectType;
HANDLE hFile;
const(wchar)* pwsFileName;
const(wchar)* pwsDisplayName;
uint dwReserved1;
uint dwIntVersion;
uint hProv;
CRYPT_ALGORITHM_IDENTIFIER DigestAlgorithm;
uint dwFlags;
uint dwEncodingType;
uint dwReserved2;
uint fdwCAPISettings;
uint fdwSecuritySettings;
uint dwIndex;
uint dwUnionChoice;
_Anonymous_e__Union Anonymous;
void* pClientData;
}
struct MS_ADDINFO_FLAT
{
uint cbStruct;
SIP_INDIRECT_DATA* pIndirectData;
}
struct MS_ADDINFO_CATALOGMEMBER
{
uint cbStruct;
CRYPTCATSTORE* pStore;
CRYPTCATMEMBER* pMember;
}
struct MS_ADDINFO_BLOB
{
uint cbStruct;
uint cbMemObject;
ubyte* pbMemObject;
uint cbMemSignedMsg;
ubyte* pbMemSignedMsg;
}
struct SIP_CAP_SET_V2
{
uint cbSize;
uint dwVersion;
BOOL isMultiSign;
uint dwReserved;
}
struct SIP_CAP_SET_V3
{
uint cbSize;
uint dwVersion;
BOOL isMultiSign;
_Anonymous_e__Union Anonymous;
}
struct SIP_INDIRECT_DATA
{
CRYPT_ATTRIBUTE_TYPE_VALUE Data;
CRYPT_ALGORITHM_IDENTIFIER DigestAlgorithm;
CRYPTOAPI_BLOB Digest;
}
alias pCryptSIPGetSignedDataMsg = extern(Windows) BOOL function(SIP_SUBJECTINFO* pSubjectInfo, uint* pdwEncodingType, uint dwIndex, uint* pcbSignedDataMsg, ubyte* pbSignedDataMsg);
alias pCryptSIPPutSignedDataMsg = extern(Windows) BOOL function(SIP_SUBJECTINFO* pSubjectInfo, uint dwEncodingType, uint* pdwIndex, uint cbSignedDataMsg, ubyte* pbSignedDataMsg);
alias pCryptSIPCreateIndirectData = extern(Windows) BOOL function(SIP_SUBJECTINFO* pSubjectInfo, uint* pcbIndirectData, SIP_INDIRECT_DATA* pIndirectData);
alias pCryptSIPVerifyIndirectData = extern(Windows) BOOL function(SIP_SUBJECTINFO* pSubjectInfo, SIP_INDIRECT_DATA* pIndirectData);
alias pCryptSIPRemoveSignedDataMsg = extern(Windows) BOOL function(SIP_SUBJECTINFO* pSubjectInfo, uint dwIndex);
struct SIP_DISPATCH_INFO
{
uint cbSize;
HANDLE hSIP;
pCryptSIPGetSignedDataMsg pfGet;
pCryptSIPPutSignedDataMsg pfPut;
pCryptSIPCreateIndirectData pfCreate;
pCryptSIPVerifyIndirectData pfVerify;
pCryptSIPRemoveSignedDataMsg pfRemove;
}
alias pfnIsFileSupported = extern(Windows) BOOL function(HANDLE hFile, Guid* pgSubject);
alias pfnIsFileSupportedName = extern(Windows) BOOL function(ushort* pwszFileName, Guid* pgSubject);
struct SIP_ADD_NEWPROVIDER
{
uint cbStruct;
Guid* pgSubject;
ushort* pwszDLLFileName;
ushort* pwszMagicNumber;
ushort* pwszIsFunctionName;
ushort* pwszGetFuncName;
ushort* pwszPutFuncName;
ushort* pwszCreateFuncName;
ushort* pwszVerifyFuncName;
ushort* pwszRemoveFuncName;
ushort* pwszIsFunctionNameFmt2;
const(wchar)* pwszGetCapFuncName;
}
alias pCryptSIPGetCaps = extern(Windows) BOOL function(SIP_SUBJECTINFO* pSubjInfo, SIP_CAP_SET_V3* pCaps);
alias pCryptSIPGetSealedDigest = extern(Windows) BOOL function(SIP_SUBJECTINFO* pSubjectInfo, char* pSig, uint dwSig, char* pbDigest, uint* pcbDigest);
struct CRYPTCATSTORE
{
uint cbStruct;
uint dwPublicVersion;
const(wchar)* pwszP7File;
uint hProv;
uint dwEncodingType;
uint fdwStoreFlags;
HANDLE hReserved;
HANDLE hAttrs;
void* hCryptMsg;
HANDLE hSorted;
}
struct CRYPTCATMEMBER
{
uint cbStruct;
const(wchar)* pwszReferenceTag;
const(wchar)* pwszFileName;
Guid gSubjectType;
uint fdwMemberFlags;
SIP_INDIRECT_DATA* pIndirectData;
uint dwCertVersion;
uint dwReserved;
HANDLE hReserved;
CRYPTOAPI_BLOB sEncodedIndirectData;
CRYPTOAPI_BLOB sEncodedMemberInfo;
}
struct CRYPTCATATTRIBUTE
{
uint cbStruct;
const(wchar)* pwszReferenceTag;
uint dwAttrTypeAndAction;
uint cbValue;
ubyte* pbValue;
uint dwReserved;
}
struct CRYPTCATCDF
{
uint cbStruct;
HANDLE hFile;
uint dwCurFilePos;
uint dwLastMemberOffset;
BOOL fEOF;
const(wchar)* pwszResultDir;
HANDLE hCATStore;
}
struct CATALOG_INFO
{
uint cbStruct;
ushort wszCatalogFile;
}
alias PFN_CDF_PARSE_ERROR_CALLBACK = extern(Windows) void function(uint dwErrorArea, uint dwLocalError, ushort* pwszLine);
const GUID CLSID_CEnroll2 = {0x127698E4, 0xE730, 0x4E5C, [0xA2, 0xB1, 0x21, 0x49, 0x0A, 0x70, 0xC8, 0xA1]};
@GUID(0x127698E4, 0xE730, 0x4E5C, [0xA2, 0xB1, 0x21, 0x49, 0x0A, 0x70, 0xC8, 0xA1]);
struct CEnroll2;
const GUID CLSID_CEnroll = {0x43F8F289, 0x7A20, 0x11D0, [0x8F, 0x06, 0x00, 0xC0, 0x4F, 0xC2, 0x95, 0xE1]};
@GUID(0x43F8F289, 0x7A20, 0x11D0, [0x8F, 0x06, 0x00, 0xC0, 0x4F, 0xC2, 0x95, 0xE1]);
struct CEnroll;
const GUID IID_ICEnroll = {0x43F8F288, 0x7A20, 0x11D0, [0x8F, 0x06, 0x00, 0xC0, 0x4F, 0xC2, 0x95, 0xE1]};
@GUID(0x43F8F288, 0x7A20, 0x11D0, [0x8F, 0x06, 0x00, 0xC0, 0x4F, 0xC2, 0x95, 0xE1]);
interface ICEnroll : IDispatch
{
HRESULT createFilePKCS10(BSTR DNName, BSTR Usage, BSTR wszPKCS10FileName);
HRESULT acceptFilePKCS7(BSTR wszPKCS7FileName);
HRESULT createPKCS10(BSTR DNName, BSTR Usage, BSTR* pPKCS10);
HRESULT acceptPKCS7(BSTR PKCS7);
HRESULT getCertFromPKCS7(BSTR wszPKCS7, BSTR* pbstrCert);
HRESULT enumProviders(int dwIndex, int dwFlags, BSTR* pbstrProvName);
HRESULT enumContainers(int dwIndex, BSTR* pbstr);
HRESULT freeRequestInfo(BSTR PKCS7OrPKCS10);
HRESULT get_MyStoreName(BSTR* pbstrName);
HRESULT put_MyStoreName(BSTR bstrName);
HRESULT get_MyStoreType(BSTR* pbstrType);
HRESULT put_MyStoreType(BSTR bstrType);
HRESULT get_MyStoreFlags(int* pdwFlags);
HRESULT put_MyStoreFlags(int dwFlags);
HRESULT get_CAStoreName(BSTR* pbstrName);
HRESULT put_CAStoreName(BSTR bstrName);
HRESULT get_CAStoreType(BSTR* pbstrType);
HRESULT put_CAStoreType(BSTR bstrType);
HRESULT get_CAStoreFlags(int* pdwFlags);
HRESULT put_CAStoreFlags(int dwFlags);
HRESULT get_RootStoreName(BSTR* pbstrName);
HRESULT put_RootStoreName(BSTR bstrName);
HRESULT get_RootStoreType(BSTR* pbstrType);
HRESULT put_RootStoreType(BSTR bstrType);
HRESULT get_RootStoreFlags(int* pdwFlags);
HRESULT put_RootStoreFlags(int dwFlags);
HRESULT get_RequestStoreName(BSTR* pbstrName);
HRESULT put_RequestStoreName(BSTR bstrName);
HRESULT get_RequestStoreType(BSTR* pbstrType);
HRESULT put_RequestStoreType(BSTR bstrType);
HRESULT get_RequestStoreFlags(int* pdwFlags);
HRESULT put_RequestStoreFlags(int dwFlags);
HRESULT get_ContainerName(BSTR* pbstrContainer);
HRESULT put_ContainerName(BSTR bstrContainer);
HRESULT get_ProviderName(BSTR* pbstrProvider);
HRESULT put_ProviderName(BSTR bstrProvider);
HRESULT get_ProviderType(int* pdwType);
HRESULT put_ProviderType(int dwType);
HRESULT get_KeySpec(int* pdw);
HRESULT put_KeySpec(int dw);
HRESULT get_ProviderFlags(int* pdwFlags);
HRESULT put_ProviderFlags(int dwFlags);
HRESULT get_UseExistingKeySet(int* fUseExistingKeys);
HRESULT put_UseExistingKeySet(BOOL fUseExistingKeys);
HRESULT get_GenKeyFlags(int* pdwFlags);
HRESULT put_GenKeyFlags(int dwFlags);
HRESULT get_DeleteRequestCert(int* fDelete);
HRESULT put_DeleteRequestCert(BOOL fDelete);
HRESULT get_WriteCertToCSP(int* fBool);
HRESULT put_WriteCertToCSP(BOOL fBool);
HRESULT get_SPCFileName(BSTR* pbstr);
HRESULT put_SPCFileName(BSTR bstr);
HRESULT get_PVKFileName(BSTR* pbstr);
HRESULT put_PVKFileName(BSTR bstr);
HRESULT get_HashAlgorithm(BSTR* pbstr);
HRESULT put_HashAlgorithm(BSTR bstr);
}
const GUID IID_ICEnroll2 = {0x704CA730, 0xC90B, 0x11D1, [0x9B, 0xEC, 0x00, 0xC0, 0x4F, 0xC2, 0x95, 0xE1]};
@GUID(0x704CA730, 0xC90B, 0x11D1, [0x9B, 0xEC, 0x00, 0xC0, 0x4F, 0xC2, 0x95, 0xE1]);
interface ICEnroll2 : ICEnroll
{
HRESULT addCertTypeToRequest(BSTR CertType);
HRESULT addNameValuePairToSignature(BSTR Name, BSTR Value);
HRESULT get_WriteCertToUserDS(int* fBool);
HRESULT put_WriteCertToUserDS(BOOL fBool);
HRESULT get_EnableT61DNEncoding(int* fBool);
HRESULT put_EnableT61DNEncoding(BOOL fBool);
}
const GUID IID_ICEnroll3 = {0xC28C2D95, 0xB7DE, 0x11D2, [0xA4, 0x21, 0x00, 0xC0, 0x4F, 0x79, 0xFE, 0x8E]};
@GUID(0xC28C2D95, 0xB7DE, 0x11D2, [0xA4, 0x21, 0x00, 0xC0, 0x4F, 0x79, 0xFE, 0x8E]);
interface ICEnroll3 : ICEnroll2
{
HRESULT InstallPKCS7(BSTR PKCS7);
HRESULT Reset();
HRESULT GetSupportedKeySpec(int* pdwKeySpec);
HRESULT GetKeyLen(BOOL fMin, BOOL fExchange, int* pdwKeySize);
HRESULT EnumAlgs(int dwIndex, int algClass, int* pdwAlgID);
HRESULT GetAlgName(int algID, BSTR* pbstr);
HRESULT put_ReuseHardwareKeyIfUnableToGenNew(BOOL fReuseHardwareKeyIfUnableToGenNew);
HRESULT get_ReuseHardwareKeyIfUnableToGenNew(int* fReuseHardwareKeyIfUnableToGenNew);
HRESULT put_HashAlgID(int hashAlgID);
HRESULT get_HashAlgID(int* hashAlgID);
HRESULT put_LimitExchangeKeyToEncipherment(BOOL fLimitExchangeKeyToEncipherment);
HRESULT get_LimitExchangeKeyToEncipherment(int* fLimitExchangeKeyToEncipherment);
HRESULT put_EnableSMIMECapabilities(BOOL fEnableSMIMECapabilities);
HRESULT get_EnableSMIMECapabilities(int* fEnableSMIMECapabilities);
}
const GUID IID_ICEnroll4 = {0xC1F1188A, 0x2EB5, 0x4A80, [0x84, 0x1B, 0x7E, 0x72, 0x9A, 0x35, 0x6D, 0x90]};
@GUID(0xC1F1188A, 0x2EB5, 0x4A80, [0x84, 0x1B, 0x7E, 0x72, 0x9A, 0x35, 0x6D, 0x90]);
interface ICEnroll4 : ICEnroll3
{
HRESULT put_PrivateKeyArchiveCertificate(BSTR bstrCert);
HRESULT get_PrivateKeyArchiveCertificate(BSTR* pbstrCert);
HRESULT put_ThumbPrint(BSTR bstrThumbPrint);
HRESULT get_ThumbPrint(BSTR* pbstrThumbPrint);
HRESULT binaryToString(int Flags, BSTR strBinary, BSTR* pstrEncoded);
HRESULT stringToBinary(int Flags, BSTR strEncoded, BSTR* pstrBinary);
HRESULT addExtensionToRequest(int Flags, BSTR strName, BSTR strValue);
HRESULT addAttributeToRequest(int Flags, BSTR strName, BSTR strValue);
HRESULT addNameValuePairToRequest(int Flags, BSTR strName, BSTR strValue);
HRESULT resetExtensions();
HRESULT resetAttributes();
HRESULT createRequest(int Flags, BSTR strDNName, BSTR Usage, BSTR* pstrRequest);
HRESULT createFileRequest(int Flags, BSTR strDNName, BSTR strUsage, BSTR strRequestFileName);
HRESULT acceptResponse(BSTR strResponse);
HRESULT acceptFileResponse(BSTR strResponseFileName);
HRESULT getCertFromResponse(BSTR strResponse, BSTR* pstrCert);
HRESULT getCertFromFileResponse(BSTR strResponseFileName, BSTR* pstrCert);
HRESULT createPFX(BSTR strPassword, BSTR* pstrPFX);
HRESULT createFilePFX(BSTR strPassword, BSTR strPFXFileName);
HRESULT setPendingRequestInfo(int lRequestID, BSTR strCADNS, BSTR strCAName, BSTR strFriendlyName);
HRESULT enumPendingRequest(int lIndex, int lDesiredProperty, VARIANT* pvarProperty);
HRESULT removePendingRequest(BSTR strThumbprint);
HRESULT GetKeyLenEx(int lSizeSpec, int lKeySpec, int* pdwKeySize);
HRESULT InstallPKCS7Ex(BSTR PKCS7, int* plCertInstalled);
HRESULT addCertTypeToRequestEx(int lType, BSTR bstrOIDOrName, int lMajorVersion, BOOL fMinorVersion, int lMinorVersion);
HRESULT getProviderType(BSTR strProvName, int* plProvType);
HRESULT put_SignerCertificate(BSTR bstrCert);
HRESULT put_ClientId(int lClientId);
HRESULT get_ClientId(int* plClientId);
HRESULT addBlobPropertyToCertificate(int lPropertyId, int lReserved, BSTR bstrProperty);
HRESULT resetBlobProperties();
HRESULT put_IncludeSubjectKeyID(BOOL fInclude);
HRESULT get_IncludeSubjectKeyID(int* pfInclude);
}
const GUID IID_IEnroll = {0xACAA7838, 0x4585, 0x11D1, [0xAB, 0x57, 0x00, 0xC0, 0x4F, 0xC2, 0x95, 0xE1]};
@GUID(0xACAA7838, 0x4585, 0x11D1, [0xAB, 0x57, 0x00, 0xC0, 0x4F, 0xC2, 0x95, 0xE1]);
interface IEnroll : IUnknown
{
HRESULT createFilePKCS10WStr(const(wchar)* DNName, const(wchar)* Usage, const(wchar)* wszPKCS10FileName);
HRESULT acceptFilePKCS7WStr(const(wchar)* wszPKCS7FileName);
HRESULT createPKCS10WStr(const(wchar)* DNName, const(wchar)* Usage, CRYPTOAPI_BLOB* pPkcs10Blob);
HRESULT acceptPKCS7Blob(CRYPTOAPI_BLOB* pBlobPKCS7);
CERT_CONTEXT* getCertContextFromPKCS7(CRYPTOAPI_BLOB* pBlobPKCS7);
void* getMyStore();
void* getCAStore();
void* getROOTHStore();
HRESULT enumProvidersWStr(int dwIndex, int dwFlags, ushort** pbstrProvName);
HRESULT enumContainersWStr(int dwIndex, ushort** pbstr);
HRESULT freeRequestInfoBlob(CRYPTOAPI_BLOB pkcs7OrPkcs10);
HRESULT get_MyStoreNameWStr(ushort** szwName);
HRESULT put_MyStoreNameWStr(const(wchar)* szwName);
HRESULT get_MyStoreTypeWStr(ushort** szwType);
HRESULT put_MyStoreTypeWStr(const(wchar)* szwType);
HRESULT get_MyStoreFlags(int* pdwFlags);
HRESULT put_MyStoreFlags(int dwFlags);
HRESULT get_CAStoreNameWStr(ushort** szwName);
HRESULT put_CAStoreNameWStr(const(wchar)* szwName);
HRESULT get_CAStoreTypeWStr(ushort** szwType);
HRESULT put_CAStoreTypeWStr(const(wchar)* szwType);
HRESULT get_CAStoreFlags(int* pdwFlags);
HRESULT put_CAStoreFlags(int dwFlags);
HRESULT get_RootStoreNameWStr(ushort** szwName);
HRESULT put_RootStoreNameWStr(const(wchar)* szwName);
HRESULT get_RootStoreTypeWStr(ushort** szwType);
HRESULT put_RootStoreTypeWStr(const(wchar)* szwType);
HRESULT get_RootStoreFlags(int* pdwFlags);
HRESULT put_RootStoreFlags(int dwFlags);
HRESULT get_RequestStoreNameWStr(ushort** szwName);
HRESULT put_RequestStoreNameWStr(const(wchar)* szwName);
HRESULT get_RequestStoreTypeWStr(ushort** szwType);
HRESULT put_RequestStoreTypeWStr(const(wchar)* szwType);
HRESULT get_RequestStoreFlags(int* pdwFlags);
HRESULT put_RequestStoreFlags(int dwFlags);
HRESULT get_ContainerNameWStr(ushort** szwContainer);
HRESULT put_ContainerNameWStr(const(wchar)* szwContainer);
HRESULT get_ProviderNameWStr(ushort** szwProvider);
HRESULT put_ProviderNameWStr(const(wchar)* szwProvider);
HRESULT get_ProviderType(int* pdwType);
HRESULT put_ProviderType(int dwType);
HRESULT get_KeySpec(int* pdw);
HRESULT put_KeySpec(int dw);
HRESULT get_ProviderFlags(int* pdwFlags);
HRESULT put_ProviderFlags(int dwFlags);
HRESULT get_UseExistingKeySet(int* fUseExistingKeys);
HRESULT put_UseExistingKeySet(BOOL fUseExistingKeys);
HRESULT get_GenKeyFlags(int* pdwFlags);
HRESULT put_GenKeyFlags(int dwFlags);
HRESULT get_DeleteRequestCert(int* fDelete);
HRESULT put_DeleteRequestCert(BOOL fDelete);
HRESULT get_WriteCertToUserDS(int* fBool);
HRESULT put_WriteCertToUserDS(BOOL fBool);
HRESULT get_EnableT61DNEncoding(int* fBool);
HRESULT put_EnableT61DNEncoding(BOOL fBool);
HRESULT get_WriteCertToCSP(int* fBool);
HRESULT put_WriteCertToCSP(BOOL fBool);
HRESULT get_SPCFileNameWStr(ushort** szw);
HRESULT put_SPCFileNameWStr(const(wchar)* szw);
HRESULT get_PVKFileNameWStr(ushort** szw);
HRESULT put_PVKFileNameWStr(const(wchar)* szw);
HRESULT get_HashAlgorithmWStr(ushort** szw);
HRESULT put_HashAlgorithmWStr(const(wchar)* szw);
HRESULT get_RenewalCertificate(CERT_CONTEXT** ppCertContext);
HRESULT put_RenewalCertificate(CERT_CONTEXT* pCertContext);
HRESULT AddCertTypeToRequestWStr(const(wchar)* szw);
HRESULT AddNameValuePairToSignatureWStr(const(wchar)* Name, const(wchar)* Value);
HRESULT AddExtensionsToRequest(CERT_EXTENSIONS* pCertExtensions);
HRESULT AddAuthenticatedAttributesToPKCS7Request(CRYPT_ATTRIBUTES* pAttributes);
HRESULT CreatePKCS7RequestFromRequest(CRYPTOAPI_BLOB* pRequest, CERT_CONTEXT* pSigningCertContext, CRYPTOAPI_BLOB* pPkcs7Blob);
}
const GUID IID_IEnroll2 = {0xC080E199, 0xB7DF, 0x11D2, [0xA4, 0x21, 0x00, 0xC0, 0x4F, 0x79, 0xFE, 0x8E]};
@GUID(0xC080E199, 0xB7DF, 0x11D2, [0xA4, 0x21, 0x00, 0xC0, 0x4F, 0x79, 0xFE, 0x8E]);
interface IEnroll2 : IEnroll
{
HRESULT InstallPKCS7Blob(CRYPTOAPI_BLOB* pBlobPKCS7);
HRESULT Reset();
HRESULT GetSupportedKeySpec(int* pdwKeySpec);
HRESULT GetKeyLen(BOOL fMin, BOOL fExchange, int* pdwKeySize);
HRESULT EnumAlgs(int dwIndex, int algClass, int* pdwAlgID);
HRESULT GetAlgNameWStr(int algID, ushort** ppwsz);
HRESULT put_ReuseHardwareKeyIfUnableToGenNew(BOOL fReuseHardwareKeyIfUnableToGenNew);
HRESULT get_ReuseHardwareKeyIfUnableToGenNew(int* fReuseHardwareKeyIfUnableToGenNew);
HRESULT put_HashAlgID(int hashAlgID);
HRESULT get_HashAlgID(int* hashAlgID);
HRESULT SetHStoreMy(void* hStore);
HRESULT SetHStoreCA(void* hStore);
HRESULT SetHStoreROOT(void* hStore);
HRESULT SetHStoreRequest(void* hStore);
HRESULT put_LimitExchangeKeyToEncipherment(BOOL fLimitExchangeKeyToEncipherment);
HRESULT get_LimitExchangeKeyToEncipherment(int* fLimitExchangeKeyToEncipherment);
HRESULT put_EnableSMIMECapabilities(BOOL fEnableSMIMECapabilities);
HRESULT get_EnableSMIMECapabilities(int* fEnableSMIMECapabilities);
}
const GUID IID_IEnroll4 = {0xF8053FE5, 0x78F4, 0x448F, [0xA0, 0xDB, 0x41, 0xD6, 0x1B, 0x73, 0x44, 0x6B]};
@GUID(0xF8053FE5, 0x78F4, 0x448F, [0xA0, 0xDB, 0x41, 0xD6, 0x1B, 0x73, 0x44, 0x6B]);
interface IEnroll4 : IEnroll2
{
HRESULT put_ThumbPrintWStr(CRYPTOAPI_BLOB thumbPrintBlob);
HRESULT get_ThumbPrintWStr(CRYPTOAPI_BLOB* thumbPrintBlob);
HRESULT SetPrivateKeyArchiveCertificate(CERT_CONTEXT* pPrivateKeyArchiveCert);
CERT_CONTEXT* GetPrivateKeyArchiveCertificate();
HRESULT binaryBlobToString(int Flags, CRYPTOAPI_BLOB* pblobBinary, ushort** ppwszString);
HRESULT stringToBinaryBlob(int Flags, const(wchar)* pwszString, CRYPTOAPI_BLOB* pblobBinary, int* pdwSkip, int* pdwFlags);
HRESULT addExtensionToRequestWStr(int Flags, const(wchar)* pwszName, CRYPTOAPI_BLOB* pblobValue);
HRESULT addAttributeToRequestWStr(int Flags, const(wchar)* pwszName, CRYPTOAPI_BLOB* pblobValue);
HRESULT addNameValuePairToRequestWStr(int Flags, const(wchar)* pwszName, const(wchar)* pwszValue);
HRESULT resetExtensions();
HRESULT resetAttributes();
HRESULT createRequestWStr(int Flags, const(wchar)* pwszDNName, const(wchar)* pwszUsage, CRYPTOAPI_BLOB* pblobRequest);
HRESULT createFileRequestWStr(int Flags, const(wchar)* pwszDNName, const(wchar)* pwszUsage, const(wchar)* pwszRequestFileName);
HRESULT acceptResponseBlob(CRYPTOAPI_BLOB* pblobResponse);
HRESULT acceptFileResponseWStr(const(wchar)* pwszResponseFileName);
HRESULT getCertContextFromResponseBlob(CRYPTOAPI_BLOB* pblobResponse, CERT_CONTEXT** ppCertContext);
HRESULT getCertContextFromFileResponseWStr(const(wchar)* pwszResponseFileName, CERT_CONTEXT** ppCertContext);
HRESULT createPFXWStr(const(wchar)* pwszPassword, CRYPTOAPI_BLOB* pblobPFX);
HRESULT createFilePFXWStr(const(wchar)* pwszPassword, const(wchar)* pwszPFXFileName);
HRESULT setPendingRequestInfoWStr(int lRequestID, const(wchar)* pwszCADNS, const(wchar)* pwszCAName, const(wchar)* pwszFriendlyName);
HRESULT enumPendingRequestWStr(int lIndex, int lDesiredProperty, void* ppProperty);
HRESULT removePendingRequestWStr(CRYPTOAPI_BLOB thumbPrintBlob);
HRESULT GetKeyLenEx(int lSizeSpec, int lKeySpec, int* pdwKeySize);
HRESULT InstallPKCS7BlobEx(CRYPTOAPI_BLOB* pBlobPKCS7, int* plCertInstalled);
HRESULT AddCertTypeToRequestWStrEx(int lType, const(wchar)* pwszOIDOrName, int lMajorVersion, BOOL fMinorVersion, int lMinorVersion);
HRESULT getProviderTypeWStr(const(wchar)* pwszProvName, int* plProvType);
HRESULT addBlobPropertyToCertificateWStr(int lPropertyId, int lReserved, CRYPTOAPI_BLOB* pBlobProperty);
HRESULT SetSignerCertificate(CERT_CONTEXT* pSignerCert);
HRESULT put_ClientId(int lClientId);
HRESULT get_ClientId(int* plClientId);
HRESULT put_IncludeSubjectKeyID(BOOL fInclude);
HRESULT get_IncludeSubjectKeyID(int* pfInclude);
}
struct SCESVC_CONFIGURATION_LINE
{
byte* Key;
byte* Value;
uint ValueLen;
}
struct SCESVC_CONFIGURATION_INFO
{
uint Count;
SCESVC_CONFIGURATION_LINE* Lines;
}
enum SCESVC_INFO_TYPE
{
SceSvcConfigurationInfo = 0,
SceSvcMergedPolicyInfo = 1,
SceSvcAnalysisInfo = 2,
SceSvcInternalUse = 3,
}
struct SCESVC_ANALYSIS_LINE
{
byte* Key;
ubyte* Value;
uint ValueLen;
}
struct SCESVC_ANALYSIS_INFO
{
uint Count;
SCESVC_ANALYSIS_LINE* Lines;
}
alias PFSCE_QUERY_INFO = extern(Windows) uint function(void* sceHandle, SCESVC_INFO_TYPE sceType, byte* lpPrefix, BOOL bExact, void** ppvInfo, uint* psceEnumHandle);
alias PFSCE_SET_INFO = extern(Windows) uint function(void* sceHandle, SCESVC_INFO_TYPE sceType, byte* lpPrefix, BOOL bExact, void* pvInfo);
alias PFSCE_FREE_INFO = extern(Windows) uint function(void* pvServiceInfo);
alias PFSCE_LOG_INFO = extern(Windows) uint function(int ErrLevel, uint Win32rc, byte* pErrFmt);
struct SCESVC_CALLBACK_INFO
{
void* sceHandle;
PFSCE_QUERY_INFO pfQueryInfo;
PFSCE_SET_INFO pfSetInfo;
PFSCE_FREE_INFO pfFreeInfo;
PFSCE_LOG_INFO pfLogInfo;
}
alias PF_ConfigAnalyzeService = extern(Windows) uint function(SCESVC_CALLBACK_INFO* pSceCbInfo);
alias PF_UpdateService = extern(Windows) uint function(SCESVC_CALLBACK_INFO* pSceCbInfo, SCESVC_CONFIGURATION_INFO* ServiceInfo);
const GUID IID_ISceSvcAttachmentPersistInfo = {0x6D90E0D0, 0x200D, 0x11D1, [0xAF, 0xFB, 0x00, 0xC0, 0x4F, 0xB9, 0x84, 0xF9]};
@GUID(0x6D90E0D0, 0x200D, 0x11D1, [0xAF, 0xFB, 0x00, 0xC0, 0x4F, 0xB9, 0x84, 0xF9]);
interface ISceSvcAttachmentPersistInfo : IUnknown
{
HRESULT Save(byte* lpTemplateName, void** scesvcHandle, void** ppvData, int* pbOverwriteAll);
HRESULT IsDirty(byte* lpTemplateName);
HRESULT FreeBuffer(void* pvData);
}
const GUID IID_ISceSvcAttachmentData = {0x17C35FDE, 0x200D, 0x11D1, [0xAF, 0xFB, 0x00, 0xC0, 0x4F, 0xB9, 0x84, 0xF9]};
@GUID(0x17C35FDE, 0x200D, 0x11D1, [0xAF, 0xFB, 0x00, 0xC0, 0x4F, 0xB9, 0x84, 0xF9]);
interface ISceSvcAttachmentData : IUnknown
{
HRESULT GetData(void* scesvcHandle, SCESVC_INFO_TYPE sceType, void** ppvData, uint* psceEnumHandle);
HRESULT Initialize(byte* lpServiceName, byte* lpTemplateName, ISceSvcAttachmentPersistInfo lpSceSvcPersistInfo, void** pscesvcHandle);
HRESULT FreeBuffer(void* pvData);
HRESULT CloseHandle(void* scesvcHandle);
}
struct SAFER_LEVEL_HANDLE__
{
int unused;
}
struct SAFER_CODE_PROPERTIES_V1
{
uint cbSize;
uint dwCheckFlags;
const(wchar)* ImagePath;
HANDLE hImageFileHandle;
uint UrlZoneId;
ubyte ImageHash;
uint dwImageHashSize;
LARGE_INTEGER ImageSize;
uint HashAlgorithm;
ubyte* pByteBlock;
HWND hWndParent;
uint dwWVTUIChoice;
}
struct SAFER_CODE_PROPERTIES_V2
{
uint cbSize;
uint dwCheckFlags;
const(wchar)* ImagePath;
HANDLE hImageFileHandle;
uint UrlZoneId;
ubyte ImageHash;
uint dwImageHashSize;
LARGE_INTEGER ImageSize;
uint HashAlgorithm;
ubyte* pByteBlock;
HWND hWndParent;
uint dwWVTUIChoice;
const(wchar)* PackageMoniker;
const(wchar)* PackagePublisher;
const(wchar)* PackageName;
ulong PackageVersion;
BOOL PackageIsFramework;
}
enum SAFER_POLICY_INFO_CLASS
{
SaferPolicyLevelList = 1,
SaferPolicyEnableTransparentEnforcement = 2,
SaferPolicyDefaultLevel = 3,
SaferPolicyEvaluateUserScope = 4,
SaferPolicyScopeFlags = 5,
SaferPolicyDefaultLevelFlags = 6,
SaferPolicyAuthenticodeEnabled = 7,
}
enum SAFER_OBJECT_INFO_CLASS
{
SaferObjectLevelId = 1,
SaferObjectScopeId = 2,
SaferObjectFriendlyName = 3,
SaferObjectDescription = 4,
SaferObjectBuiltin = 5,
SaferObjectDisallowed = 6,
SaferObjectDisableMaxPrivilege = 7,
SaferObjectInvertDeletedPrivileges = 8,
SaferObjectDeletedPrivileges = 9,
SaferObjectDefaultOwner = 10,
SaferObjectSidsToDisable = 11,
SaferObjectRestrictedSidsInverted = 12,
SaferObjectRestrictedSidsAdded = 13,
SaferObjectAllIdentificationGuids = 14,
SaferObjectSingleIdentification = 15,
SaferObjectExtendedError = 16,
}
enum SAFER_IDENTIFICATION_TYPES
{
SaferIdentityDefault = 0,
SaferIdentityTypeImageName = 1,
SaferIdentityTypeImageHash = 2,
SaferIdentityTypeUrlZone = 3,
SaferIdentityTypeCertificate = 4,
}
struct SAFER_IDENTIFICATION_HEADER
{
SAFER_IDENTIFICATION_TYPES dwIdentificationType;
uint cbStructSize;
Guid IdentificationGuid;
FILETIME lastModified;
}
struct SAFER_PATHNAME_IDENTIFICATION
{
SAFER_IDENTIFICATION_HEADER header;
ushort Description;
const(wchar)* ImageName;
uint dwSaferFlags;
}
struct SAFER_HASH_IDENTIFICATION
{
SAFER_IDENTIFICATION_HEADER header;
ushort Description;
ushort FriendlyName;
uint HashSize;
ubyte ImageHash;
uint HashAlgorithm;
LARGE_INTEGER ImageSize;
uint dwSaferFlags;
}
struct SAFER_HASH_IDENTIFICATION2
{
SAFER_HASH_IDENTIFICATION hashIdentification;
uint HashSize;
ubyte ImageHash;
uint HashAlgorithm;
}
struct SAFER_URLZONE_IDENTIFICATION
{
SAFER_IDENTIFICATION_HEADER header;
uint UrlZoneId;
uint dwSaferFlags;
}
enum SLDATATYPE
{
SL_DATA_NONE = 0,
SL_DATA_SZ = 1,
SL_DATA_DWORD = 4,
SL_DATA_BINARY = 3,
SL_DATA_MULTI_SZ = 7,
SL_DATA_SUM = 100,
}
enum SLIDTYPE
{
SL_ID_APPLICATION = 0,
SL_ID_PRODUCT_SKU = 1,
SL_ID_LICENSE_FILE = 2,
SL_ID_LICENSE = 3,
SL_ID_PKEY = 4,
SL_ID_ALL_LICENSES = 5,
SL_ID_ALL_LICENSE_FILES = 6,
SL_ID_STORE_TOKEN = 7,
SL_ID_LAST = 8,
}
enum SLLICENSINGSTATUS
{
SL_LICENSING_STATUS_UNLICENSED = 0,
SL_LICENSING_STATUS_LICENSED = 1,
SL_LICENSING_STATUS_IN_GRACE_PERIOD = 2,
SL_LICENSING_STATUS_NOTIFICATION = 3,
SL_LICENSING_STATUS_LAST = 4,
}
struct SL_LICENSING_STATUS
{
Guid SkuId;
SLLICENSINGSTATUS eStatus;
uint dwGraceTime;
uint dwTotalGraceDays;
HRESULT hrReason;
ulong qwValidityExpiration;
}
enum SL_ACTIVATION_TYPE
{
SL_ACTIVATION_TYPE_DEFAULT = 0,
SL_ACTIVATION_TYPE_ACTIVE_DIRECTORY = 1,
}
struct SL_ACTIVATION_INFO_HEADER
{
uint cbSize;
SL_ACTIVATION_TYPE type;
}
struct SL_AD_ACTIVATION_INFO
{
SL_ACTIVATION_INFO_HEADER header;
const(wchar)* pwszProductKey;
const(wchar)* pwszActivationObjectName;
}
enum SLREFERRALTYPE
{
SL_REFERRALTYPE_SKUID = 0,
SL_REFERRALTYPE_APPID = 1,
SL_REFERRALTYPE_OVERRIDE_SKUID = 2,
SL_REFERRALTYPE_OVERRIDE_APPID = 3,
SL_REFERRALTYPE_BEST_MATCH = 4,
}
enum SL_GENUINE_STATE
{
SL_GEN_STATE_IS_GENUINE = 0,
SL_GEN_STATE_INVALID_LICENSE = 1,
SL_GEN_STATE_TAMPERED = 2,
SL_GEN_STATE_OFFLINE = 3,
SL_GEN_STATE_LAST = 4,
}
struct SL_NONGENUINE_UI_OPTIONS
{
uint cbSize;
const(Guid)* pComponentId;
HRESULT hResultUI;
}
struct SL_SYSTEM_POLICY_INFORMATION
{
void* Reserved1;
uint Reserved2;
}
enum DdqAccessLevel
{
NoData = 0,
CurrentUserData = 1,
AllUserData = 2,
}
struct DIAGNOSTIC_DATA_RECORD
{
long rowId;
ulong timestamp;
ulong eventKeywords;
const(wchar)* fullEventName;
const(wchar)* providerGroupGuid;
const(wchar)* producerName;
int* privacyTags;
uint privacyTagCount;
int* categoryIds;
uint categoryIdCount;
BOOL isCoreData;
const(wchar)* extra1;
const(wchar)* extra2;
const(wchar)* extra3;
}
struct DIAGNOSTIC_DATA_SEARCH_CRITERIA
{
ushort** producerNames;
uint producerNameCount;
const(wchar)* textToMatch;
const(int)* categoryIds;
uint categoryIdCount;
const(int)* privacyTags;
uint privacyTagCount;
BOOL coreDataOnly;
}
struct DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION
{
int privacyTag;
const(wchar)* name;
const(wchar)* description;
}
struct DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION
{
const(wchar)* name;
}
struct DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION
{
int id;
const(wchar)* name;
}
struct DIAGNOSTIC_DATA_EVENT_TAG_STATS
{
int privacyTag;
uint eventCount;
}
struct DIAGNOSTIC_DATA_EVENT_BINARY_STATS
{
const(wchar)* moduleName;
const(wchar)* friendlyModuleName;
uint eventCount;
ulong uploadSizeBytes;
}
struct DIAGNOSTIC_DATA_GENERAL_STATS
{
uint optInLevel;
ulong transcriptSizeBytes;
ulong oldestEventTimestamp;
uint totalEventCountLast24Hours;
float averageDailyEvents;
}
struct DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION
{
uint hoursOfHistoryToKeep;
uint maxStoreMegabytes;
uint requestedMaxStoreMegabytes;
}
struct DIAGNOSTIC_REPORT_PARAMETER
{
ushort name;
ushort value;
}
struct DIAGNOSTIC_REPORT_SIGNATURE
{
ushort eventName;
DIAGNOSTIC_REPORT_PARAMETER parameters;
}
struct DIAGNOSTIC_REPORT_DATA
{
DIAGNOSTIC_REPORT_SIGNATURE signature;
Guid bucketId;
Guid reportId;
FILETIME creationTime;
ulong sizeInBytes;
const(wchar)* cabId;
uint reportStatus;
Guid reportIntegratorId;
ushort** fileNames;
uint fileCount;
const(wchar)* friendlyEventName;
const(wchar)* applicationName;
const(wchar)* applicationPath;
const(wchar)* description;
const(wchar)* bucketIdString;
ulong legacyBucketId;
const(wchar)* reportKey;
}
struct HDIAGNOSTIC_DATA_QUERY_SESSION__
{
int unused;
}
struct HDIAGNOSTIC_REPORT__
{
int unused;
}
struct HDIAGNOSTIC_EVENT_TAG_DESCRIPTION__
{
int unused;
}
struct HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION__
{
int unused;
}
struct HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION__
{
int unused;
}
struct HDIAGNOSTIC_RECORD__
{
int unused;
}
enum PROCESS_INFORMATION_CLASS
{
ProcessMemoryPriority = 0,
ProcessMemoryExhaustionInfo = 1,
ProcessAppMemoryInfo = 2,
ProcessInPrivateInfo = 3,
ProcessPowerThrottling = 4,
ProcessReservedValue1 = 5,
ProcessTelemetryCoverageInfo = 6,
ProcessProtectionLevelInfo = 7,
ProcessLeapSecondInfo = 8,
ProcessInformationClassMax = 9,
}
struct NETRESOURCEA
{
uint dwScope;
uint dwType;
uint dwDisplayType;
uint dwUsage;
const(char)* lpLocalName;
const(char)* lpRemoteName;
const(char)* lpComment;
const(char)* lpProvider;
}
struct NETRESOURCEW
{
uint dwScope;
uint dwType;
uint dwDisplayType;
uint dwUsage;
const(wchar)* lpLocalName;
const(wchar)* lpRemoteName;
const(wchar)* lpComment;
const(wchar)* lpProvider;
}
struct UNIVERSAL_NAME_INFOA
{
const(char)* lpUniversalName;
}
struct UNIVERSAL_NAME_INFOW
{
const(wchar)* lpUniversalName;
}
struct REMOTE_NAME_INFOA
{
const(char)* lpUniversalName;
const(char)* lpConnectionName;
const(char)* lpRemainingPath;
}
struct REMOTE_NAME_INFOW
{
const(wchar)* lpUniversalName;
const(wchar)* lpConnectionName;
const(wchar)* lpRemainingPath;
}
struct NETCONNECTINFOSTRUCT
{
uint cbStructure;
uint dwFlags;
uint dwSpeed;
uint dwDelay;
uint dwOptDataSize;
}
| D |
import std.stdio, std.math;
double s, s1, s2, a, t;
int n, m;
void main(){
while (readf("%d\n", &n), n) {
s1 = calc(n-1);
readf("%d\n", &m);
s2 = calc(m-1);
if (abs(s1-s2) < 1e-10) writeln(0);
else writeln(s1 > s2 ? 1 : 2);
}
}
double calc(int n){
s = t = 0;
foreach (i; 0..n) {
readf("%s\n", &a);
t += a;
s += sin(a/180*PI);
}
s += sin((360-t)/180*PI);
return s;
}
| D |
/*
TEST_OUTPUT:
---
fail_compilation/fail20.d(16): Error: need member function opCmp() for struct FOO to compare
---
*/
// ICE(cod3) DMD0.080
struct FOO{}
void main()
{
FOO one;
FOO two;
if (one < two){} // This should tell me that there
// is no opCmp() defined instead
// of crashing.
}
| D |
instance INFO_ORCWARRIOR1_EXIT(C_INFO)
{
npc = orcwarrior1;
nr = 999;
condition = info_orc_exit_condition;
information = info_orc_exit_info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
func int info_orc_exit_condition()
{
return TRUE;
};
func void info_orc_exit_info()
{
AI_StopProcessInfos(self);
};
instance INFO_ORCWARRIOR2_EXIT(C_INFO)
{
npc = orcwarrior2;
nr = 999;
condition = info_orc_exit_condition;
information = info_orc_exit_info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
instance INFO_ORCWARRIOR3_EXIT(C_INFO)
{
npc = orcwarrior3;
nr = 999;
condition = info_orc_exit_condition;
information = info_orc_exit_info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
instance INFO_ORCWARRIOR4_EXIT(C_INFO)
{
npc = orcwarrior4;
nr = 999;
condition = info_orc_exit_condition;
information = info_orc_exit_info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
instance INFO_ORCSCOUT_EXIT(C_INFO)
{
npc = orcscout;
nr = 999;
condition = info_orc_exit_condition;
information = info_orc_exit_info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
instance INFO_ORCPEASANTDRUM_EXIT(C_INFO)
{
npc = orcpeasantdrum;
nr = 999;
condition = info_orc_exit_condition;
information = info_orc_exit_info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
instance INFO_ORCPEASANTDANCE_EXIT(C_INFO)
{
npc = orcpeasantdance;
nr = 999;
condition = info_orc_exit_condition;
information = info_orc_exit_info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
instance INFO_ORCPEASANTEATANDDRINK_EXIT(C_INFO)
{
npc = orcpeasanteatanddrink;
nr = 999;
condition = info_orc_exit_condition;
information = info_orc_exit_info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
instance INFO_ORCSCOUTGYD_EXIT(C_INFO)
{
npc = orcscoutgyd;
nr = 999;
condition = info_orc_exit_condition;
information = info_orc_exit_info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
instance INFO_ORCSHAMAN2_EXIT(C_INFO)
{
npc = orcshaman;
nr = 999;
condition = info_orc_exit_condition;
information = info_orc_exit_info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
| D |
/***********************************\
HOOKDAEDALUS
\***********************************/
//========================================
// [intern] Non-persistent hash table
//========================================
const int _DH_htbl = 0;
//========================================
// Check if function is used as hook
//========================================
func int IsHookD(var int funcID) {
if (!_DH_htbl) {
return FALSE;
};
return _HT_Has(_DH_htbl, funcID);
};
//========================================
// Daedalus function hook
//========================================
func void HookDaedalusFunc(var func hooked, var func hook) {
// Working with symbol indices is save here, because they are not stored in game saves
var int hookID; hookID = MEM_GetFuncID(hook);
// Create hash table persistent only over current session (not stored in game saves)
if (!_DH_htbl) {
_DH_htbl = _HT_Create();
};
// Handle reinitialization: Prevent re-hooking with already used hook function
// A function can be hooked any number of times - but each function can only be used once to hook
if (!IsHookD(hookID)) {
var int targetPtr; targetPtr = MEM_GetFuncPtr(hooked);
var int targetOff; targetOff = MEM_GetFuncOffset(hooked);
// Read code stack at beginning of hooked function
var int numBytes; numBytes = 0;
while(numBytes < 5);
var int tok; tok = MEM_ReadByte(targetPtr+numBytes);
numBytes += Token_GetSize(tok);
if (tok == zPAR_TOK_RET) && (numBytes < 5) {
MEM_Error("HOOKDAEDALUS: Function too short to be hooked!");
return;
};
end;
// Secure byte code to be overwritten by jump
var int codeToRun; codeToRun = MEM_Alloc(numBytes+5);
Tokens_Copy(targetPtr, codeToRun, numBytes);
MEM_WriteByte(codeToRun+numBytes, zPAR_TOK_JUMP);
MEM_WriteInt(codeToRun+numBytes+1, targetOff+numBytes);
// Store original byte code + jump back
_HT_Insert(_DH_htbl, codeToRun, hookID);
MEM_ReplaceFunc(hooked, hook);
};
};
func void HookDaedalusFuncI(var int hookedID, var int hookID) {
if (hookedID == -1) || (hookID == -1) {
MEM_Warn("HOOKDAEDALUS: Invalid function symbol(s)!");
return;
};
MEM_PushIntParam(hookedID);
MEM_PushIntParam(hookID);
MEM_Call(HookDaedalusFunc);
};
func void HookDaedalusFuncS(var string hookedName, var string hookName) {
MEM_PushIntParam(MEM_FindParserSymbol(STR_Upper(hookedName)));
MEM_PushIntParam(MEM_FindParserSymbol(STR_Upper(hookName)));
MEM_Call(HookDaedalusFuncI);
};
// Wrapper function for naming consistency
func void HookDaedalusFuncF(var func hooked, var func hook) {
HookDaedalusFunc(hooked, hook);
};
//========================================
// Relay functions
//========================================
func void ContinueCall() {
var int fromID; fromID = MEM_GetFuncIDByOffset(MEM_GetCallerStackPos());
// Consistency check
if (!IsHookD(fromID)) {
MEM_Error("HOOKDAEDALUS: Invalid use of ContinueCall.");
return;
};
var int to; to = _HT_Get(_DH_htbl, fromID);
MEM_CallByPtr(to);
};
func void PassArgumentI(var int i) {
MEM_PushIntParam(i);
};
func void PassArgumentS(var string s) {
MEM_PushStringParam(s);
};
func void PassArgumentN(var int n) {
MEM_PushInstParam(n);
};
| D |
/*
Copyright (c) 2014-2023 Martin Cejp
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:
The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
*/
/**
* Copyright: Martin Cejp 2014-2023.
* License: $(LINK2 boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Martin Cejp
*/
module dlib.filesystem.delegaterange;
private import std.range;
/**
* An input range that enumerates items by obtaining them from a delegate until it returns 0
*/
class DelegateInputRange(T): InputRange!T
{
bool delegate(out T t) fetch;
bool have = false;
T front_;
this(bool delegate(out T t) fetch)
{
this.fetch = fetch;
}
override bool empty()
{
if (!have)
have = fetch(front_);
return !have;
}
override T front()
{
return front_;
}
override void popFront()
{
have = false;
}
override T moveFront()
{
have = false;
return front_;
}
override int opApply(scope int delegate(T) dg)
{
int result = 0;
for (size_t i = 0; !empty; i++)
{
result = dg(moveFront);
if (result != 0)
break;
}
return result;
}
override int opApply(scope int delegate(size_t, T) dg)
{
int result = 0;
for (size_t i = 0; !empty; i++)
{
result = dg(i, moveFront);
if (result != 0)
break;
}
return result;
}
}
| D |
#!/usr/bin/rdmd
//////////////////////////////////////////////////////////////////////////
// DWT2
//
import std.algorithm;
import std.array;
import std.conv;
import std.file;
import std.getopt;
import std.path;
import std.process;
import std.stdio;
import std.string;
//////////////////////////////////////////////////////////////////////////
// Helpers
//
version (Windows) {
immutable isWindows = true;
} else {
immutable isWindows = false;
}
string win_path(string path) {
static if (isWindows) {
return path.replace( "/", "\\" );
} else {
return path;
}
}
/// Checks existence of file before file operation.
void mkdirRecurseE(string path) {
if (!path.exists()) {
std.file.mkdirRecurse(path);
}
}
/// ditto
void renameE(string from, string to) {
if (to.exists()) {
to.remove();
}
std.file.rename(from, to);
}
/// ditto
void removeE(string path) {
if (path.exists()) {
std.file.remove(path);
}
}
/// ditto
void rmdirRecurseE(string path) {
if (path.exists()) {
std.file.rmdirRecurse(path);
}
}
//////////////////////////////////////////////////////////////////////////
// Constants
//
void main(string[] args) {
immutable DIR_OBJ = .absolutePath("obj");
immutable DIR_IMP = .absolutePath("imp");
immutable DIR_RES = .absolutePath("res");
immutable DIR_LIB = .absolutePath("lib");
immutable DIR_BIN = .absolutePath("bin");
immutable FILE_RSP = .absolutePath("rsp");
immutable LOG_STDOUT = .absolutePath("olog.txt");
immutable LOG_STDERR = .absolutePath("elog.txt");
static if (isWindows) {
immutable BASEDIR_SWT = "org.eclipse.swt.win32.win32.x86";
immutable LIBEXT = ".lib";
immutable OBJEXT = ".obj";
immutable EXEEXT = ".exe";
immutable MAPEXT = ".map";
immutable PROG_LIB = "lib.exe";
immutable DIR_WINLIBS = .absolutePath(.buildPath(BASEDIR_SWT,"lib"));
} else {
immutable BASEDIR_SWT = "org.eclipse.swt.gtk.linux.x86";
immutable LIBEXT = ".a";
immutable OBJEXT = ".o";
immutable EXEEXT = "";
immutable PROG_LIB = "ar";
}
immutable PROG_DMD = "dmd" ~ EXEEXT;
static if (isWindows) {
//LIBNAMES_BASIC = [ "dwt-base" ]
immutable LIBNAMES_BASIC = [ "advapi32", "comctl32", "comdlg32", "gdi32", "kernel32",
"shell32", "ole32", "oleaut32", "olepro32", "oleacc",
"user32", "usp10", "msimg32", "opengl32", "shlwapi",
"dwt-base" ];
} else {
immutable SONAMES_BASIC = [ "gtk-x11-2.0", "gdk-x11-2.0", "atk-1.0", "gdk_pixbuf-2.0",
"gthread-2.0", "pangocairo-1.0", "fontconfig", "Xtst",
"Xext", "Xrender", "Xinerama", "Xi", "Xrandr", "Xcursor",
"Xcomposite", "Xdamage", "X11", "Xfixes", "pango-1.0",
"gobject-2.0", "gmodule-2.0", "dl", "glib-2.0", "cairo",
"gnomeui-2" ];
immutable LIBNAMES_BASIC = [ "dwt-base" ];
}
immutable LIBNAMES_SWT = [ BASEDIR_SWT ];
immutable LIBNAMES_ICU = [ "com.ibm.icu" ];
immutable LIBNAMES_EQUINOX = [ "org.eclipse.osgi.osgi",
"org.eclipse.osgi.supplement",
"org.eclipse.equinox.common" ];
immutable LIBNAMES_CORE = [ "org.eclipse.core.runtime",
"org.eclipse.core.commands",
"org.eclipse.core.databinding",
"org.eclipse.core.databinding.beans",
"org.eclipse.core.jobs" ];
immutable LIBNAMES_JFACE = [ "org.eclipse.jface" ];
immutable LIBNAMES_JFACEBIND = [ "org.eclipse.jface.databinding" ];
immutable LIBNAMES_JFACETEXT = [ "org.eclipse.text",
"org.eclipse.jface.text.projection",
"org.eclipse.jface.text", ];
immutable LIBNAMES_UIFORMS = [ "org.eclipse.ui.forms" ];
immutable LIBNAMES_DRAW2D = [ "org.eclipse.draw2d" ];
//////////////////////////////////////////////////////////////////////////
// Routines
//
bool isDebug = ("1" == .getenv("DEBUG"));
void createLib( in string[] libobjs, string name ) {
.mkdirRecurseE(win_path(DIR_LIB));
auto file_lib = .buildPath(DIR_LIB, name ~ LIBEXT);
.removeE(file_lib);
string[] rsp;
static if (isWindows) {
rsp ~= "-p512";
rsp ~= "-n";
rsp ~= "-c " ~ win_path(file_lib);
foreach (obj; libobjs) {
rsp ~= win_path(obj);
}
} else {
rsp ~= "-r";
rsp ~= "-c " ~ win_path(file_lib);
foreach (obj; libobjs) {
rsp ~= win_path(obj);
}
}
std.file.write(FILE_RSP, rsp.join(.newline));
static if (isWindows)
auto cmd = PROG_LIB ~ " @" ~ FILE_RSP ~ " > " ~ LOG_STDOUT;
else
auto cmd = "cat " ~ FILE_RSP ~ " | xargs ar > " ~ LOG_STDOUT;
writeln(cmd);
if (0 != system(cmd)) {
throw new Exception("librarian error");
}
foreach (obj; libobjs) {
obj.removeE();
}
}
void buildTree( string basedir, string srcdir, string resdir, string[] dcargs=null, string libname=null ) {
if (libname is null) {
libname = basedir;
}
auto dbg_str = "";
if (isDebug) {
dbg_str = "Debug ";
}
auto resdir_abs = .absolutePath( .buildPath( basedir, resdir ));
auto srcdir_abs = .absolutePath( .buildPath( basedir, srcdir ));
stderr.writeln(dbg_str ~ "Building " ~ libname);
stderr.writeln("workdir=>" ~ win_path(srcdir_abs));
.mkdirRecurseE(DIR_IMP);
.mkdirRecurseE(DIR_OBJ);
.mkdirRecurseE(DIR_RES);
foreach (string file; .dirEntries(resdir_abs, SpanMode.depth)) {
file.copy(DIR_RES.buildPath(file.baseName()));
}
string[] rsp;
rsp ~= "-H";
//rsp ~= "-Hd" ~ win_path(DIR_IMP);
rsp ~= "-I" ~ win_path(srcdir_abs);
rsp ~= "-I" ~ win_path(DIR_IMP);
rsp ~= "-J" ~ win_path(DIR_RES);
if (dcargs !is null) {
rsp ~= dcargs;
}
rsp ~= "-c";
rsp ~= "-op";
rsp ~= "-m32";
if (isDebug) {
rsp ~= "-debug";
rsp ~= "-g";
}
foreach (string path; srcdir_abs.dirEntries(SpanMode.depth)) {
if (!path.endsWith(".d")) continue;
if (-1 != std.string.indexOf(path, "browser")) continue;
if (-1 != std.string.indexOf(path, "mozilla")) continue;
rsp ~= win_path(path)[ srcdir_abs.length+1 .. $ ];
}
std.file.write(FILE_RSP, rsp.join(.newline));
{
auto current = getcwd();
chdir(srcdir_abs);
scope (exit) chdir(current);
string cmd;
static if (isWindows) {
cmd = PROG_DMD ~ " @" ~ win_path(FILE_RSP);
} else {
cmd = "cat " ~ win_path(FILE_RSP) ~ " | xargs " ~ PROG_DMD;
}
writeln(cmd);
if (0 != .system(cmd)) {
foreach (string path; srcdir_abs.dirEntries(SpanMode.depth)) {
if (path.isFile() && (path.endsWith(".o") || path.endsWith(".obj"))) {
path.removeE();
}
if (isFile(path) && path.endsWith(".di")) {
path.removeE();
}
}
throw new Exception("compile error");
}
}
foreach (string path; srcdir_abs.dirEntries(SpanMode.depth)) {
if (path.isFile() && path.endsWith(".di")) {
auto trgfile = .buildPath( DIR_IMP, path[ srcdir_abs.length+1 .. $ ]);
.mkdirRecurseE(trgfile.dirName());
.renameE(path, trgfile);
}
}
string[] libobjs;
auto srcdirparts = .split( srcdir_abs, dirSeparator ).length;
foreach (string path; srcdir_abs.dirEntries(SpanMode.depth)) {
if (path.isFile() && (path.endsWith(".o") || path.endsWith(".obj"))) {
auto trgfile = .split( path, dirSeparator )[ srcdirparts .. $ ].join( "-" );
.renameE(path, .buildPath( DIR_OBJ, trgfile ));
libobjs ~= .buildPath( DIR_OBJ, trgfile );
}
}
createLib( libobjs, libname );
}
void buildApp( string basedir, string srcdir, string resdir, in string[] dflags, string appnameprefix, string appname, string[] filelist, in string[] libnames ) {
auto srcdir_abs = .absolutePath( .buildPath( basedir, srcdir));
auto resdir_abs = .absolutePath( .buildPath( basedir, resdir));
if (filelist is null) {
filelist = [];
foreach (string file; srcdir_abs.dirEntries(SpanMode.depth)) {
if (file.baseName() == appname ~ ".d") {
filelist ~= file;
}
}
if (filelist.length == 0) {
throw new Exception("'" ~ appname ~ ".d' not found");
}
}
string[] rsp;
rsp ~= "-I" ~ win_path(srcdir_abs);
rsp ~= "-I" ~ win_path(DIR_IMP);
rsp ~= "-J" ~ win_path(resdir_abs);
rsp ~= "-J" ~ win_path(DIR_RES);
rsp ~= "-m32";
if (isDebug) {
rsp ~= "-debug";
rsp ~= "-g";
}
if (dflags.length > 0) {
rsp ~= dflags;
}
rsp ~= "-op";
rsp ~= "-od" ~ win_path(DIR_OBJ);
auto applfile = .buildPath(DIR_BIN ,appnameprefix ~ appname ~ EXEEXT);
rsp ~= "-of" ~ win_path(applfile);
foreach (path; filelist) {
rsp ~= win_path(.absolutePath(path))[ srcdir_abs.length+1 .. $ ];
}
static if (isWindows) {
rsp ~= "-L/NOM";
rsp ~= "-L/SUBSYSTEM:CONSOLE:4.0";
rsp ~= win_path(.absolutePath("win-res\\resource.res"));
foreach (libname; libnames) {
rsp ~= "-L+" ~ libname ~ LIBEXT;
}
rsp ~= "-L+" ~ win_path(DIR_LIB) ~ "\\";
} else {
rsp ~= "-L-L" ~ win_path(DIR_LIB);
foreach_reverse (libname; libnames) {
auto absname = .buildPath( DIR_LIB, libname ~ LIBEXT );
rsp ~= absname;
}
foreach_reverse (soname; SONAMES_BASIC) {
rsp ~= "-L-l" ~ soname;
}
}
std.file.write(FILE_RSP, rsp.join(.newline));
{
auto current = getcwd();
chdir(srcdir_abs);
scope (exit) chdir(current);
string cmd;
static if (isWindows) {
cmd = PROG_DMD ~ " @" ~ win_path(FILE_RSP);
} else {
cmd = "cat " ~ win_path(FILE_RSP) ~ " | xargs " ~ PROG_DMD;
}
writeln(cmd);
if (0 != system(cmd)) {
throw new Exception("compile error");
}
}
static if (isWindows) {
.removeE(.buildPath(srcdir_abs,appname ~ MAPEXT));
}
}
//////////////////////////////////////////////////////////////////////////
// Targets
//
string [string] desc; // Description of tasks.
void delegate()[string] task; // Build tasks.
string[] [string] dep; // Dependency of tasks.
void delegate(string arg)[string] taskEx; // Build tasks with argument.
string [string] taskAg; // Argument name of build tasks.
desc["clean"] = "Clean";
task["clean"] = {
writeln("Cleaning");
.rmdirRecurseE(DIR_IMP);
.rmdirRecurseE(DIR_OBJ);
.rmdirRecurseE(DIR_LIB);
.rmdirRecurseE(DIR_BIN);
.rmdirRecurseE(DIR_RES);
.removeE(FILE_RSP);
.removeE(LOG_STDOUT);
.removeE(LOG_STDERR);
};
desc["base"] = "Build Base (Java Environment and Helpers)";
task["base"] = {
buildTree( "base", "src", "res", null, "dwt-base" );
};
desc["swt"] = "Build SWT";
task["swt"] = {
buildTree( BASEDIR_SWT, "src", "res" );
static if (isWindows) {
foreach (string file; .dirEntries(DIR_WINLIBS, SpanMode.shallow)) {
if (file.extension() == LIBEXT) {
.copy(file, DIR_LIB.buildPath(file.baseName()));
}
}
}
};
desc["default"] = "Build Equinox";
dep ["default"] = ["work"];
task["default"] = { };
desc["equinox"] = "Build Equinox";
task["equinox"] = {
buildTree( "org.eclipse.osgi", "osgi/src" , "res", null, "org.eclipse.osgi.osgi" );
buildTree( "org.eclipse.osgi", "supplement/src", "res", null, "org.eclipse.osgi.supplement");
buildTree( "org.eclipse.equinox.common", "src", "res" );
buildTree( "org.eclipse.osgi", "console/src", "res", null, "org.eclipse.osgi.console");
buildTree( "org.eclipse.osgi", "core/adaptor", "res", null, "org.eclipse.osgi.core.adaptor");
buildTree( "org.eclipse.osgi", "core/framework", "res", null, "org.eclipse.osgi.core.framework");
buildTree( "org.eclipse.osgi", "defaultAdaptor/src", "res", null, "org.eclipse.osgi.defaultadaptor");
buildTree( "org.eclipse.osgi", "eclipseAdaptor/src", "res", null, "org.eclipse.osgi.eclipseadaptor");
buildTree( "org.eclipse.osgi", "jarverifier", "res", null, "org.eclipse.osgi.jarverifier");
buildTree( "org.eclipse.osgi", "resolver/src", "res", null, "org.eclipse.osgi.resolver");
buildTree( "org.eclipse.osgi", "security/src", "res", null, "org.eclipse.osgi.security");
buildTree( "org.eclipse.osgi", "supplement/src", "res", null, "org.eclipse.osgi.supplement");
buildTree( "org.eclipse.osgi.services", "src", "res" );
buildTree( "org.eclipse.equinox.app", "src", "res" );
buildTree( "org.eclipse.equinox.preferences", "src", "res" );
buildTree( "org.eclipse.equinox.registry", "src", "res" );
buildTree( "org.eclipse.equinox.security", "src", "res" );
};
desc["work"] = "Build Current Working area";
task["work"] = {
string[] searchdirs;
searchdirs ~= "-I../../supplement/src ";
searchdirs ~= "-I../../osgi/src ";
searchdirs ~= "-I../../core/framework ";
searchdirs ~= "-I../../supplement/src ";
searchdirs ~= "-I../../console/src ";
searchdirs ~= "-I../../core/adaptor ";
searchdirs ~= "-I../../defaultAdaptor/src ";
searchdirs ~= "-I../../eclipseAdaptor/src ";
searchdirs ~= "-I../../jarverifier ";
searchdirs ~= "-I../../resolver/src ";
searchdirs ~= "-I../../security/src ";
buildTree( "org.eclipse.osgi", "supplement/src", "res", searchdirs, "org.eclipse.osgi.supplement");
buildTree( "org.eclipse.osgi", "osgi/src" , "res", searchdirs, "org.eclipse.osgi.osgi" );
buildTree( "org.eclipse.osgi", "core/framework", "res", searchdirs, "org.eclipse.osgi.core.framework");
buildTree( "org.eclipse.osgi", "supplement/src", "res", null, "org.eclipse.osgi.supplement");
buildTree( "org.eclipse.osgi", "console/src", "res", null, "org.eclipse.osgi.console");
buildTree( "org.eclipse.osgi", "core/adaptor", "res", null, "org.eclipse.osgi.core.adaptor");
buildTree( "org.eclipse.osgi", "defaultAdaptor/src", "res", null, "org.eclipse.osgi.defaultadaptor");
buildTree( "org.eclipse.osgi", "eclipseAdaptor/src", "res", null, "org.eclipse.osgi.eclipseadaptor");
buildTree( "org.eclipse.osgi", "jarverifier", "res", null, "org.eclipse.osgi.jarverifier");
buildTree( "org.eclipse.osgi", "resolver/src", "res", null, "org.eclipse.osgi.resolver");
buildTree( "org.eclipse.osgi", "security/src", "res", null, "org.eclipse.osgi.security");
buildTree( "org.eclipse.osgi.services", "src", "res" );
buildTree( "org.eclipse.equinox.common", "src", "res" );
buildTree( "org.eclipse.equinox.app", "src", "res" );
buildTree( "org.eclipse.equinox.preferences", "src", "res" );
buildTree( "org.eclipse.equinox.registry", "src", "res" );
buildTree( "org.eclipse.equinox.security", "src", "res" );
};
desc["core"] = "Build Eclipse Core";
task["core"] = {
buildTree( "com.ibm.icu", "src", "res" );
buildTree( "org.eclipse.core.runtime", "src", "res" );
buildTree( "org.eclipse.core.commands", "src", "res" );
buildTree( "org.eclipse.core.databinding", "src", "res" );
buildTree( "org.eclipse.core.databinding.beans", "src", "res" );
buildTree( "org.eclipse.core.jobs", "src", "res" );
};
desc["jface"] = "Build JFace";
task["jface"] = {
buildTree( "org.eclipse.jface", "src", "res" );
buildTree( "org.eclipse.jface.databinding", "src", "res" );
};
desc["eclipsetools"] = "Build Eclipse Tools";
task["eclipsetools"] = {
buildTree( "org.eclipse.tools", "Sleak", "res" );
};
desc["jfacetext"] = "Build JFace.Text";
task["jfacetext"] = {
buildTree( "org.eclipse.text", "src", "res" );
buildTree( "org.eclipse.jface.text", "projection", "res", ["-I../src"], "org.eclipse.jface.text.projection" );
buildTree( "org.eclipse.jface.text", "src", "res" );
};
desc["uiforms"] = "Build UI Forms";
task["uiforms"] = {
buildTree( "org.eclipse.ui.forms", "src", "res" );
};
desc["draw2d"] = "Build Draw2D";
task["draw2d"] = {
buildTree( "org.eclipse.draw2d", "src", "res" );
};
desc["all"] = "Build ALL";
dep ["all"] = [ "base", "swt", "equinox", "core", "jface", "jfacetext", "uiforms",
"draw2d", "swtsnippets", "jfacesnippets" ];
task["all"] = { };
desc ["swtsnippets"] = "Build SWT Snippet Collection";
taskAg["swtsnippets"] = "explicit_snp";
taskEx["swtsnippets"] = (string explicit_snp) {
auto libnames = LIBNAMES_BASIC ~ LIBNAMES_SWT;
auto snps_browser = [ "Snippet128", "Snippet136" ];
auto snps_opengl = [ "Snippet174", "Snippet195" ];
auto snps_ole = [ "Snippet81" ];
string[] snps_exclude;
static if (isWindows) {
snps_exclude = snps_browser ~ snps_opengl ~ snps_ole;
} else {
snps_exclude = snps_browser ~ snps_opengl ~ snps_ole;
}
immutable PREFIX = "Swt";
if (explicit_snp !is null) {
auto snpname = explicit_snp;
writeln("Building swtsnippets[" ~ snpname ~ "]");
buildApp( "org.eclipse.swt.snippets", "src", "res", [], PREFIX, snpname, null, libnames );
} else {
foreach (string snp; .dirEntries(.buildPath("org.eclipse.swt.snippets", "src"), SpanMode.depth)) {
if (snp.baseName().startsWith("Snippet") && snp.baseName().endsWith(".d")) {
auto snpname = snp.baseName().stripExtension();
writeln("Building swtsnippets[" ~ snpname ~ "]");
if (-1 == .countUntil(snps_exclude, snpname)) {
buildApp( "org.eclipse.swt.snippets", "src", "res", [], PREFIX, snpname, null, libnames );
}
}
}
}
};
desc ["jfacesnippets"] = "Build JFace Snippet Collection";
taskAg["jfacesnippets"] = "explicit_snp";
taskEx["jfacesnippets"] = (string explicit_snp) {
immutable PREFIX = "JFace";
immutable SRCPATH = "EclipseJfaceSnippets";
immutable BASEPATH = "org.eclipse.jface.snippets";
auto libnames = LIBNAMES_BASIC ~ LIBNAMES_SWT ~ LIBNAMES_EQUINOX
~ LIBNAMES_CORE ~ LIBNAMES_JFACE ~ LIBNAMES_ICU;
string[] snps_exclude = [];
if (explicit_snp !is null) {
auto snpname = explicit_snp;
writeln("Building jfacesnippets[" ~ snpname ~ "]");
buildApp( BASEPATH, SRCPATH, "res", [], PREFIX, explicit_snp, null, libnames );
} else {
foreach (string snp; .dirEntries(.buildPath(BASEPATH, SRCPATH), SpanMode.depth)) {
if (!snp.endsWith(".d")) continue;
auto snpname = snp.baseName().stripExtension();
writeln("Building jfacesnippets[" ~ snpname ~ "]");
if (-1 == .countUntil(snps_exclude, snpname)) {
buildApp( BASEPATH, SRCPATH, "res", [], PREFIX, snpname, null, libnames );
}
}
}
};
desc ["bindsnippets"] = "Build JFace Databinding Snippet Collection";
taskAg["bindsnippets"] = "explicit_snp";
taskEx["bindsnippets"] = (string explicit_snp) {
immutable PREFIX = "Bind";
immutable SRCPATH = "src";
immutable BASEPATH = "org.eclipse.jface.examples.databinding";
auto libnames = LIBNAMES_BASIC ~ LIBNAMES_SWT ~ LIBNAMES_EQUINOX
~ LIBNAMES_CORE ~ LIBNAMES_JFACE ~ LIBNAMES_JFACEBIND
~ LIBNAMES_ICU;
string[] snps_exclude = [];
string[] allsnippets;
foreach (string snp; .dirEntries(.buildPath(BASEPATH, SRCPATH), SpanMode.depth)) {
if (!snp.endsWith(".d")) continue;
allsnippets ~= snp;
}
auto rmlistadd = true;
if (explicit_snp !is null) {
string[] rmlist;
foreach (string snp; allsnippets) {
if (!snp.endsWith(".d")) continue;
auto snpname = snp.baseName().stripExtension();
if (snpname == explicit_snp) {
rmlistadd = false;
}
if (rmlistadd) {
rmlist ~= snp;
}
}
foreach (snp; rmlist) {
allsnippets = std.algorithm.remove(allsnippets, snp);
}
}
foreach (string snp; allsnippets) {
auto snpname = snp.baseName().stripExtension();
writeln("Building bindsnippets[" ~ snpname ~ "]");
if (-1 == .countUntil(snps_exclude, snpname)) {
buildApp( BASEPATH, SRCPATH, "res", [], PREFIX, snpname, null, libnames );
}
}
};
//////////////////////////////////////////////////////////////////////////
// Starts build
//
bool printTasks = false;
bool printHelp = false;
.getopt(args,
"T|tasks", &printTasks,
"h|H|help", &printHelp
);
if (printTasks) {
// Prints target list.
size_t len = 0;
auto tasks = (task.keys ~ taskEx.keys).sort;
auto names = new string[tasks.length];
foreach (i, name; tasks) {
auto pArg = name in taskAg;
if (pArg) {
name ~= "[" ~ *pArg ~ "]";
}
len = .max(len, name.length);
names[i] = name;
}
writeln("(in " ~ getcwd() ~ ")");
foreach (i, name; tasks) {
writefln("rdmd build %-" ~ .text(len) ~ "s # %s", names[i], desc[name]);
}
return;
}
if (printHelp || args.length == 1) {
// Prints help.
writeln("Build script for DWT2");
writeln("Usage:");
writeln(" rdmd build [DEBUG=1] {options} targets...");
writeln();
writeln(" -T, --tasks Print all build tasks and descriptions.");
writeln(" -h, -H, --help Print usage of 'build.d'.");
return;
}
writeln("(in " ~ getcwd() ~ ")");
// The list of build tasks in order by dependency.
string[] taskSeq;
string[string] taskArg; // Argument of build tasks.
// Adds build task to list.
void addTaskSeq(string task) {
if (-1 == taskSeq.countUntil(task)) {
taskSeq ~= task;
}
}
// Adds build task and dependency tasks to list.
void addDepAndTask(string task) {
auto pDep = task in dep;
if (pDep) {
foreach (d; *pDep) {
addDepAndTask(d);
}
}
addTaskSeq(task);
}
foreach (arg; args[1 .. $]) {
if (arg in task) {
// Build task.
addDepAndTask(arg);
continue;
} else if (arg in taskEx) {
// Build task with argument (is null).
addDepAndTask(arg);
taskArg[arg] = null;
continue;
} else if (arg == "DEBUG=1") {
// Enable debug build.
isDebug = true;
continue;
} else {
auto pi1 = std.string.indexOf(arg, "[");
auto pi2 = std.string.lastIndexOf(arg, "]");
if (-1 != pi1 && -1 != pi2 && pi1 < pi2) {
// Build task with argument.
auto name = arg[0 .. pi1];
if (name in taskEx) {
addDepAndTask(name);
taskArg[name] = arg[pi1 + 1 .. pi2];
continue;
}
throw new Exception("Unknown build task '" ~ name ~ "'");
}
}
throw new Exception("Unknown build task '" ~ arg ~ "'");
}
// Processing tasks in order.
foreach (t; taskSeq) {
auto pArg = t in taskArg;
if (pArg) {
taskEx[t](*pArg);
} else {
task[t]();
}
}
}
| D |
// Written in the D programming language
/**
IronCache service wrapper by curl
See_also
- $(LINK http://dev.iron.io/cache/reference/api/)
License: $(LINK2 http://boost.org/LICENSE_1_0.txt, Boost License 1.0)
Authors: karronoli
Copyright: karronoli 2015-
Date: 2015-Feb-15
Examples:
---
import iron.cache;
const prjid = "...", token = "...";
auto iron = new IronCache(prjid, token);
iron.put("myname", "mykey", "myvalue");
JSONValue json = iron.get("myname", "mykey");
assert(json["value"].str == "myvalue");
---
*/
module iron.cache;
import core.time;
import std.json;
import curl = std.net.curl;
import std.string : format;
import std.uri : encodeComponent;
import std.exception : collectException;
debug {
import std.stdio;
}
class IronCache
{
protected string base;
protected curl.HTTP delegate() client;
static const DEFAULT_HOST = "https://cache-aws-us-east-1.iron.io:443";
static const DEFAULT_API_VERSION = "1";
static const DEFAULT_TIMEOUT = 3.seconds;
/// See_Also: http://dev.iron.io/cache/reference/environment/
static const MAX_KEY_LENGTH = 250;
static const MAX_VALUE_SIZE = 1000000;
@trusted
this(in string projectId, in string token, in string host = null) nothrow
{
this.base = (host? host: DEFAULT_HOST)
~ '/' ~ DEFAULT_API_VERSION
~ "/projects/" ~ projectId ~ "/caches";
this.client = () {
auto curl = curl.HTTP();
curl.operationTimeout(DEFAULT_TIMEOUT);
curl.addRequestHeader("Content-Type", "application/json; charset=utf-8");
curl.addRequestHeader("Authorization", "OAuth " ~ token);
return curl;
};
}
/**
* constructor for iron.json configuration.
* Throws: FileException or JSONException without valid file.
*/
@trusted
this(in string _path = null)
{
import std.file : isFile, readText;
const path = (_path != null && _path.isFile)? _path: "iron.json";
auto config = parseJSON(readText(path));
auto host = ("host" in config)? config["host"].str: null;
this(config["project_id"].str, config["token"].str, host);
}
unittest
{
import std.file : FileException;
assert(new IronCache());
assert(collectException!FileException(new IronCache("none.json")));
auto iron = new IronCache("badprjid", "badtoken");
auto e = collectException!ICSException(iron.caches());
assert(e.status.code == 404, e.toString);
auto name = "badname";
assert(collectException!ICSException(iron.caches(name)));
assert(collectException!ICSException(iron.caches(name)));
assert(collectException!ICSException(iron.clear(name)));
assert(collectException!ICSException(iron.put(name, "k", "v")));
assert(collectException!ICSException(iron.get(name, "k")));
assert(collectException!ICSException(iron.increment(name, "k", 1)));
assert(collectException!ICSException(iron.remove(name, "k")));
assert(collectException!ICSException(iron.remove(name)));
}
/**
* Throws:
* IronCacheStatusException(bad network)
* JSONException(bad response)
* Returns: http://dev.iron.io/cache/reference/api/#list_caches
*/
@trusted
public JSONValue caches(in uint page = 0)
{
const url = this.base ~ format("?page=%d", page);
auto c = this.client();
string res;
if (auto e = collectException
(cast(string)curl.get!(curl.HTTP, ubyte)(url, c), res))
throw new ICSException(c.statusLine, __FILE__, __LINE__, e);
debug {
stderr.writefln("[iron]%s: %s", __FUNCTION__, res);
}
return parseJSON(res);
}
/**
* Throws:
* IronCacheStatusException(bad network)
* JSONException(bad response)
* Returns: http://dev.iron.io/cache/reference/api/#get_info_about_a_cache
*/
@trusted
public JSONValue caches(in string name)
{
const url = this.base ~ '/' ~ encodeComponent(name);
auto c = this.client();
string res;
if (auto e = collectException
(cast(string)curl.get!(curl.HTTP, ubyte)(url, c), res))
throw new ICSException(c.statusLine, __FILE__, __LINE__, e);
debug {
stderr.writefln("[iron]%s: %s", __FUNCTION__, res);
}
return parseJSON(res);
}
/// Throws: IronCacheStatusException(bad network)
@trusted
public bool clear(in string name)
{
const url = this.base ~ format("/%s/clear", encodeComponent(name));
auto c = this.client();
char[] res;
if (auto e = collectException(curl.post(url, "", c), res))
throw new ICSException(c.statusLine, __FILE__, __LINE__, e);
debug {
stderr.writefln("[iron]%s: %s", __FUNCTION__, res);
}
return true;
}
/// Throws: IronCacheStatusException(bad network)
@trusted
public bool put(in string name, in string key, in string value)
in {
assert(key.length <= MAX_KEY_LENGTH);
assert(value.length <= MAX_VALUE_SIZE);
}
body {
const url = this.base
~ format("/%s/items/%s", encodeComponent(name), encodeComponent(key));
auto json = JSONValue(["value" : JSONValue(value)]);
return this.put(name, key, json);
}
/// Throws: IronCacheStatusException(bad network)
@trusted
public bool put(in string name, in string key, in JSONValue json)
in {
assert(key.length <= MAX_KEY_LENGTH);
assert("value" in json.object);
}
body {
const url = this.base
~ format("/%s/items/%s", encodeComponent(name), encodeComponent(key));
auto c = this.client();
char[] res;
if (auto e = collectException(curl.put(url, json.toString, c), res))
throw new ICSException(c.statusLine, __FILE__, __LINE__, e);
debug {
stderr.writefln("[iron]%s: %s", __FUNCTION__, res);
}
return true;
}
/**
* Throws:
* IronCacheStatusException(bad network)
* JSONException(bad response)
* Returns: http://dev.iron.io/cache/reference/api/#get_an_item_from_a_cache
*/
@trusted
public JSONValue get(in string name, in string key)
{
const url = this.base
~ format("/%s/items/%s", encodeComponent(name), encodeComponent(key));
auto c = this.client();
string res;
if (auto e = collectException
(cast(string)curl.get!(curl.HTTP, ubyte)(url, c), res))
throw new ICSException(c.statusLine, __FILE__, __LINE__, e);
debug {
stderr.writefln("[iron]%s: %s", __FUNCTION__, res);
}
return parseJSON(res);
}
/// Throws: IronCacheStatusException(bad network)
@trusted
public bool increment(in string name, in string key, in int amount)
{
const url = this.base
~ format("/%s/items/%s/increment",
encodeComponent(name), encodeComponent(key));
auto json = JSONValue(["amount" : JSONValue(amount)]);
auto c = this.client();
char[] res;
if (auto e = collectException(curl.post(url, json.toString, c), res))
throw new ICSException(c.statusLine, __FILE__, __LINE__, e);
debug {
stderr.writefln("[iron]%s: %s", __FUNCTION__, res);
}
return true;
}
/// Throws: IronCacheStatusException(bad network)
@trusted
public bool remove(in string name, in string key)
{
const url = this.base
~ format("/%s/items/%s", encodeComponent(name), encodeComponent(key));
auto c = this.client();
if (auto e = collectException(curl.del(url, c)))
throw new ICSException(c.statusLine, __FILE__, __LINE__, e);
return true;
}
/// Throws: IronCacheStatusException(bad network)
@trusted
public bool remove(in string name)
{
const url = this.base ~ '/' ~ encodeComponent(name);
auto c = this.client();
if (auto e = collectException(curl.del(url, c)))
throw new ICSException(c.statusLine, __FILE__, __LINE__, e);
return true;
}
}
class IronCacheException : Exception
{
@safe pure nothrow
this(string msg,
string file = __FILE__,
size_t line = __LINE__,
Throwable next = null)
{
super(msg, file, line, next);
}
}
class IronCacheStatusException : IronCacheException
{
protected curl.HTTP.StatusLine _status;
@safe pure nothrow
@property curl.HTTP.StatusLine status() const {return this._status;}
@trusted
this(curl.HTTP.StatusLine status,
string file = __FILE__,
size_t line = __LINE__,
Throwable next = null)
{
this._status = status;
super(status.toString(), file, line, next);
}
}
alias ICSException = IronCacheStatusException;
unittest
{
auto name = {
import std.random, std.ascii, std.conv;
auto n = "名前", rndGen = Random(unpredictableSeed);
return n ~ randomSample(letters.dtext, 10, rndGen).text;
}();
auto iron = new IronCache();
auto e = collectException!IronCacheStatusException(iron.caches(name));
assert(e.status.code == 404, e.toString);
const key1 = "鍵1", key2 = "鍵2", value = "値";
assert(iron.put(name, key1, value));
assert(iron.put(name, key2, JSONValue(["value": 1])));
assert(iron.increment(name, key2, 2));
assert(iron.increment(name, key2, -3));
assert(iron.get(name, key1)["value"].str == value);
assert(iron.get(name, key2)["value"].integer == 0);
assert(iron.caches(name)["size"].integer == 2);
import std.algorithm : filter;
assert(! iron.caches().array.filter!(a => a["name"].str == name).empty);
assert(iron.remove(name, key1));
assert(iron.caches(name)["size"].integer == 1);
assert(iron.clear(name));
assert(iron.caches(name)["size"].integer == 0);
assert(iron.remove(name));
assert(collectException!IronCacheStatusException(iron.caches(name)));
}
| D |
instance DIA_NOV_8_EXIT(C_Info)
{
nr = 999;
condition = DIA_NOV_8_EXIT_Condition;
information = DIA_NOV_8_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_NOV_8_EXIT_Condition()
{
return TRUE;
};
func void DIA_NOV_8_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_NOV_8_Fegen(C_Info)
{
nr = 2;
condition = DIA_NOV_8_Fegen_Condition;
information = DIA_NOV_8_Fegen_Info;
permanent = TRUE;
description = "I need help sweeping the novices' chambers.";
};
func int DIA_NOV_8_Fegen_Condition()
{
if((Kapitel == 1) && (MIS_KlosterArbeit == LOG_Running) && (NOV_Helfer < 4))
{
return TRUE;
};
};
var int Feger3_Permanent;
func void DIA_NOV_8_Fegen_Info()
{
AI_Output(other,self,"DIA_NOV_8_Fegen_15_00"); //I need help sweeping the novices' chambers.
if(Hlp_GetInstanceID(Feger3) == Hlp_GetInstanceID(self))
{
if(Feger3_Permanent == FALSE)
{
AI_Output(self,other,"DIA_NOV_8_Fegen_08_01"); //Oh, man. You just got here and you let them make you do the sweeping already?
AI_Output(self,other,"DIA_NOV_8_Fegen_08_02"); //Console yourself, it was exactly the same with me when I first got here. And that's why I'm going to help you. It would be ridiculous if we couldn't handle it.
NOV_Helfer = NOV_Helfer + 1;
Feger3_Permanent = TRUE;
B_GivePlayerXP(XP_Feger);
AI_StopProcessInfos(self);
Npc_ExchangeRoutine(self,"FEGEN");
B_LogEntry(Topic_ParlanFegen,"I've found a novice willing to help me sweep the chambers.");
}
else
{
AI_Output(self,other,"DIA_NOV_8_Fegen_08_03"); //Brother, I know the situation you're in. And I already told you that I will help you. And that's what I'm doing.
};
};
if(Hlp_GetInstanceID(Feger3) == Hlp_GetInstanceID(self) == FALSE)
{
AI_Output(self,other,"DIA_NOV_8_Fegen_08_04"); //Hey, I'd do it, but I'm really busy.
};
};
instance DIA_NOV_8_Wurst(C_Info)
{
nr = 3;
condition = DIA_NOV_8_Wurst_Condition;
information = DIA_NOV_8_Wurst_Info;
permanent = TRUE;
description = "How about a delicious mutton sausage?";
};
func int DIA_NOV_8_Wurst_Condition()
{
if((Kapitel == 1) && (MIS_GoraxEssen == LOG_Running) && (Npc_HasItems(self,ItFo_Schafswurst) == 0) && (Npc_HasItems(other,ItFo_Schafswurst) >= 1))
{
return TRUE;
};
};
func void DIA_NOV_8_Wurst_Info()
{
var string NovizeText;
var string NovizeLeft;
AI_Output(other,self,"DIA_NOV_8_Wurst_15_00"); //How about a delicious mutton sausage?
AI_Output(self,other,"DIA_NOV_8_Wurst_08_01"); //I wouldn't say no to that. Thanks, man - that's just what I needed.
B_GiveInvItems(other,self,ItFo_Schafswurst,1);
Wurst_Gegeben = Wurst_Gegeben + 1;
CreateInvItems(self,ItFo_Sausage,1);
B_UseItem(self,ItFo_Sausage);
NovizeLeft = IntToString(13 - Wurst_Gegeben);
NovizeText = ConcatStrings(NovizeLeft,PRINT_NovizenLeft);
AI_PrintScreen(NovizeText,-1,YPOS_GoldGiven,FONT_ScreenSmall,2);
};
instance DIA_NOV_8_JOIN(C_Info)
{
nr = 4;
condition = DIA_NOV_8_JOIN_Condition;
information = DIA_NOV_8_JOIN_Info;
permanent = TRUE;
description = "What must I do to become a magician?";
};
func int DIA_NOV_8_JOIN_Condition()
{
if(hero.guild == GIL_NOV)
{
return TRUE;
};
};
func void DIA_NOV_8_JOIN_Info()
{
AI_Output(other,self,"DIA_NOV_8_JOIN_15_00"); //What must I do to become a magician?
AI_Output(self,other,"DIA_NOV_8_JOIN_08_01"); //You will become a Chosen of Innos only when the High Magicians of Fire allow it.
AI_Output(self,other,"DIA_NOV_8_JOIN_08_02"); //As novices we are forbidden to study rune magic - and we may study the old scriptures only with the permission of the magicians.
};
instance DIA_NOV_8_PEOPLE(C_Info)
{
nr = 5;
condition = DIA_NOV_8_PEOPLE_Condition;
information = DIA_NOV_8_PEOPLE_Info;
permanent = TRUE;
description = "Who is in charge of this monastery?";
};
func int DIA_NOV_8_PEOPLE_Condition()
{
return TRUE;
};
func void DIA_NOV_8_PEOPLE_Info()
{
AI_Output(other,self,"DIA_NOV_8_PEOPLE_15_00"); //Who is in charge of this monastery?
AI_Output(self,other,"DIA_NOV_8_PEOPLE_08_01"); //The High Council. It is composed of the three most powerful magicians of our order. They consult daily in the church.
AI_Output(self,other,"DIA_NOV_8_PEOPLE_08_02"); //The Chosen of Innos are all magicians. Innos has provided them with this gift, so that they are able to carry out his will on earth.
};
instance DIA_NOV_8_LOCATION(C_Info)
{
nr = 6;
condition = DIA_NOV_8_LOCATION_Condition;
information = DIA_NOV_8_LOCATION_Info;
permanent = TRUE;
description = "Tell me about this monastery.";
};
func int DIA_NOV_8_LOCATION_Condition()
{
return TRUE;
};
func void DIA_NOV_8_LOCATION_Info()
{
AI_Output(other,self,"DIA_NOV_8_LOCATION_15_00"); //Tell me about this monastery.
AI_Output(self,other,"DIA_NOV_8_LOCATION_08_01"); //It is ancient. It comes from the time before Rhobar the First.
AI_Output(self,other,"DIA_NOV_8_LOCATION_08_02"); //Under the monastery are the catacombs. They stretch deep into the mountain.
};
instance DIA_NOV_8_STANDARD(C_Info)
{
nr = 10;
condition = DIA_NOV_8_STANDARD_Condition;
information = DIA_NOV_8_STANDARD_Info;
permanent = TRUE;
description = "Is there anything new?";
};
func int DIA_NOV_8_STANDARD_Condition()
{
return TRUE;
};
func void DIA_NOV_8_STANDARD_Info()
{
AI_Output(other,self,"DIA_NOV_8_STANDARD_15_00"); //Is there anything new?
if(Kapitel == 1)
{
if(other.guild == GIL_KDF)
{
AI_Output(self,other,"DIA_NOV_8_STANDARD_08_01"); //You could say so. It has been more than a hundred years since a novice was accepted so quickly into the Circle of Fire.
AI_Output(self,other,"DIA_NOV_8_STANDARD_08_02"); //I hope that this honor is also granted to me one day. I shall work hard for it.
}
else
{
AI_Output(self,other,"DIA_NOV_8_STANDARD_08_03"); //The paladins arrived in Khorinis recently. One of them is here in the monastery to pray.
};
};
if((Kapitel == 2) || (Kapitel == 3))
{
if((Pedro_Traitor == TRUE) && (MIS_NovizenChase != LOG_SUCCESS))
{
AI_Output(self,other,"DIA_NOV_3_STANDARD_08_04"); //I still can't believe it. One of us has betrayed the monastery and stolen the Eye of Innos.
AI_Output(self,other,"DIA_NOV_3_STANDARD_08_05"); //It was our task to build a community, but we were too weak. That is the only reason Beliar could have succeeded in drawing one of our own to his side.
}
else if(MIS_NovizenChase == LOG_SUCCESS)
{
AI_Output(self,other,"DIA_NOV_3_STANDARD_08_06"); //Innos be praised, we were able to get the Eye back from the enemy.
AI_Output(self,other,"DIA_NOV_3_STANDARD_08_07"); //Your courage can be a model for many despairing souls and help them to survive these dark times.
}
else if(mis_oldworld == LOG_SUCCESS)
{
AI_Output(self,other,"DIA_NOV_8_STANDARD_08_08"); //I have heard of dragons and an army of Evil. Innos be with us!
}
else
{
AI_Output(self,other,"DIA_NOV_8_STANDARD_08_09"); //The High Council is very concerned about the situation our paladins are in. There has been no news from the Valley of Mines for some time.
};
};
if(Kapitel == 4)
{
AI_Output(self,other,"DIA_NOV_8_STANDARD_08_10"); //No. And I thank our Lord for that. With the Eye of Innos we will be able to defeat the dragons!
};
if(Kapitel >= 5)
{
AI_Output(self,other,"DIA_NOV_8_STANDARD_08_11"); //Yes. We have achieved victory over the dragons! Innos has shown us that we must never give up hope.
AI_Output(self,other,"DIA_NOV_8_STANDARD_08_12"); //Yet there are many shadows and we shall have to light many fires to drive them away.
};
};
func void B_AssignAmbientInfos_NOV_8(var C_Npc slf)
{
dia_nov_8_exit.npc = Hlp_GetInstanceID(slf);
dia_nov_8_join.npc = Hlp_GetInstanceID(slf);
dia_nov_8_people.npc = Hlp_GetInstanceID(slf);
dia_nov_8_location.npc = Hlp_GetInstanceID(slf);
dia_nov_8_standard.npc = Hlp_GetInstanceID(slf);
DIA_NOV_8_Fegen.npc = Hlp_GetInstanceID(slf);
DIA_NOV_8_Wurst.npc = Hlp_GetInstanceID(slf);
};
| D |
module dwt.internal.mozilla.nsIObserverService;
import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;
import dwt.internal.mozilla.nsIObserver;
import dwt.internal.mozilla.nsISimpleEnumerator;
const char[] NS_IOBSERVERSERVICE_IID_STR = "d07f5192-e3d1-11d2-8acd-00105a1b8860";
const nsIID NS_IOBSERVERSERVICE_IID=
{0xd07f5192, 0xe3d1, 0x11d2,
[ 0x8a, 0xcd, 0x00, 0x10, 0x5a, 0x1b, 0x88, 0x60 ]};
interface nsIObserverService : nsISupports {
static const char[] IID_STR = NS_IOBSERVERSERVICE_IID_STR;
static const nsIID IID = NS_IOBSERVERSERVICE_IID;
extern(System):
nsresult AddObserver(nsIObserver anObserver, char *aTopic, PRBool ownsWeak);
nsresult RemoveObserver(nsIObserver anObserver, char *aTopic);
nsresult NotifyObservers(nsISupports aSubject, char *aTopic, PRUnichar *someData);
nsresult EnumerateObservers(char *aTopic, nsISimpleEnumerator *_retval);
}
| D |
// ***************
// SPL_SummonDemon
// ***************
const int SPL_Cost_soulsplit = 100;
INSTANCE Spell_soulsplit (C_Spell_Proto)
{
time_per_mana = 0;
targetCollectAlgo = TARGET_COLLECT_NONE;
};
func int Spell_Logic_soulsplit(var int manaInvested)
{
if (Npc_GetActiveSpellIsScroll(self) && (self.attribute[ATR_MANA] >= SPL_Cost_Scroll))
{
return SPL_SENDCAST;
}
else if (self.attribute[ATR_MANA] >= SPL_Cost_soulsplit)
{
return SPL_SENDCAST;
}
else //nicht genug Mana
{
return SPL_SENDSTOP;
};
};
func void Spell_Cast_soulsplit()
{
if (Npc_GetActiveSpellIsScroll(self))
{
self.attribute[ATR_MANA] = self.attribute[ATR_MANA] - SPL_Cost_Scroll;
}
else
{
self.attribute[ATR_MANA] = self.attribute[ATR_MANA] - SPL_Cost_soulsplit;
};
if (Npc_IsPlayer(self))
{
Wld_SpawnNpcRange (self, PC_seele, 1, 500);
Seele_unterwegs = TRUE;
}
else
{
Wld_SpawnNpcRange (self, Demon, 1, 1000);
};
self.aivar[AIV_SelectSpell] += 1;
};
| D |
/*
Copyright (c) 2015 Timur Gafarov
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:
The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
*/
module dgl.graphics.lightmanager;
import derelict.opengl.gl;
import dlib.core.memory;
import dlib.math.vector;
import dlib.image.color;
import dlib.container.array;
import dgl.core.interfaces;
import dgl.graphics.object3d;
public import dgl.graphics.light;
class LightManager: Modifier3D, Drawable
{
DynamicArray!Light lights;
uint maxLightsPerObject = 4;
bool lightsVisible = false;
bool lightsOn = true;
Light addLight(Light light)
{
lights.append(light);
return light;
}
Light addPointLight(Vector3f position)
{
Light light = pointLight(
position,
Color4f(1.0f, 1.0f, 1.0f, 1.0f),
Color4f(0.1f, 0.1f, 0.1f, 1.0f));
lights.append(light);
return light;
}
void bind(Object3D obj, double dt)
{
glEnable(GL_LIGHTING);
apply(obj.getPosition);
}
void unbind(Object3D obj)
{
foreach(i; 0..maxLightsPerObject)
glDisable(GL_LIGHT0 + i);
glDisable(GL_LIGHTING);
}
void calcBrightness(Light light, Vector3f objPos)
{
if (!light.enabled && !light.forceOn)
{
light.brightness = 0.0f;
}
else
{
Vector3f d = (light.position.xyz - objPos);
float quadraticAttenuation = d.lengthsqr;
//if (quadraticAttenuation > 100.0f)
// light.brightness = 0.0f;
//else
light.brightness = 1.0f / quadraticAttenuation;
}
}
void sortLights()
{
size_t j = 0;
Light tmp;
auto ldata = lights.data;
foreach(i, v; ldata)
{
j = i;
size_t k = i;
while (k < ldata.length)
{
float b1 = ldata[j].brightness;
float b2 = ldata[k].brightness;
if (b2 > b1)
j = k;
k++;
}
tmp = ldata[i];
ldata[i] = ldata[j];
ldata[j] = tmp;
}
}
void apply(Vector3f objPos)
{
auto ldata = lights.data;
foreach(light; ldata)
if (lightsOn || light.forceOn)
calcBrightness(light, objPos);
sortLights();
foreach(i; 0..maxLightsPerObject)
if (i < lights.length)
{
auto light = ldata[i];
if (light.enabled && (lightsOn || light.forceOn))
{
glEnable(GL_LIGHT0 + i);
glLightfv(GL_LIGHT0 + i, GL_POSITION, light.position.arrayof.ptr);
glLightfv(GL_LIGHT0 + i, GL_SPECULAR, light.diffuseColor.arrayof.ptr);
glLightfv(GL_LIGHT0 + i, GL_DIFFUSE, light.diffuseColor.arrayof.ptr);
glLightfv(GL_LIGHT0 + i, GL_AMBIENT, light.ambientColor.arrayof.ptr);
glLightf( GL_LIGHT0 + i, GL_CONSTANT_ATTENUATION, light.constantAttenuation);
glLightf( GL_LIGHT0 + i, GL_LINEAR_ATTENUATION, light.linearAttenuation);
glLightf( GL_LIGHT0 + i, GL_QUADRATIC_ATTENUATION, light.quadraticAttenuation);
}
else
{
Vector4f p = Vector4f(0, 0, 0, 2);
glLightfv(GL_LIGHT0 + i, GL_POSITION, p.arrayof.ptr);
}
}
}
void unapply()
{
foreach(i; 0..maxLightsPerObject)
glDisable(GL_LIGHT0 + i);
}
void draw(double dt)
{
// Draw lights
if (lightsVisible)
{
glPointSize(5.0f);
foreach(light; lights.data)
if (light.debugDraw)
{
glColor4fv(light.diffuseColor.arrayof.ptr);
glBegin(GL_POINTS);
glVertex3fv(light.position.arrayof.ptr);
glEnd();
}
glPointSize(1.0f);
}
}
void free()
{
Delete(this);
}
~this()
{
foreach(light; lights.data)
light.free();
lights.free();
}
}
| D |
var int prayday;
var int praydayone;
var int specialbless;
var string concatdonation;
var int shrineisobsessed;
var int shrinehealing;
var int shrineshealed;
var int shrineisobsessed_nw_trollarea_path_37;
var int shrineisobsessed_nw_farm1_connect_xardas;
var int shrineisobsessed_nw_trollarea_path_66;
var int shrineisobsessed_nw_trollarea_path_04;
var int shrineisobsessed_sagitta;
var int shrineisobsessed_nw_bigmill_malaksversteck_02;
var int shrineisobsessed_nw_farm3_bigwood_02;
func int C_PrayedToday()
{
if(Wld_GetDay() == 0)
{
if(PRAYDAYONE == TRUE)
{
return TRUE;
};
}
else if(PRAYDAY == Wld_GetDay())
{
return TRUE;
};
return FALSE;
};
func void c_isshrineobsessed(var C_NPC slf)
{
if(Hlp_GetInstanceID(slf) == Hlp_GetInstanceID(hero))
{
SHRINEISOBSESSED = TRUE;
if((Npc_GetDistToWP(hero,"NW_TROLLAREA_PATH_37") < 2000) && (SHRINEISOBSESSED_NW_TROLLAREA_PATH_37 == TRUE))
{
if(SHRINEHEALING == TRUE)
{
SHRINEISOBSESSED_NW_TROLLAREA_PATH_37 = FALSE;
SHRINEISOBSESSED = FALSE;
};
}
else if((Npc_GetDistToWP(hero,"NW_FARM1_CONNECT_XARDAS") < 2000) && (SHRINEISOBSESSED_NW_FARM1_CONNECT_XARDAS == TRUE))
{
if(SHRINEHEALING == TRUE)
{
SHRINEISOBSESSED_NW_FARM1_CONNECT_XARDAS = FALSE;
SHRINEISOBSESSED = FALSE;
};
}
else if((Npc_GetDistToWP(hero,"NW_TROLLAREA_PATH_66") < 2000) && (SHRINEISOBSESSED_NW_TROLLAREA_PATH_66 == TRUE))
{
if(SHRINEHEALING == TRUE)
{
SHRINEISOBSESSED_NW_TROLLAREA_PATH_66 = FALSE;
SHRINEISOBSESSED = FALSE;
};
}
else if((Npc_GetDistToWP(hero,"NW_TROLLAREA_PATH_04") < 2000) && (SHRINEISOBSESSED_NW_TROLLAREA_PATH_04 == TRUE))
{
if(SHRINEHEALING == TRUE)
{
SHRINEISOBSESSED_NW_TROLLAREA_PATH_04 = FALSE;
SHRINEISOBSESSED = FALSE;
};
}
else if((Npc_GetDistToWP(hero,"SAGITTA") < 2000) && (SHRINEISOBSESSED_SAGITTA == TRUE))
{
if(SHRINEHEALING == TRUE)
{
SHRINEISOBSESSED_SAGITTA = FALSE;
SHRINEISOBSESSED = FALSE;
};
}
else if((Npc_GetDistToWP(hero,"NW_BIGMILL_MALAKSVERSTECK_02") < 2000) && (SHRINEISOBSESSED_NW_BIGMILL_MALAKSVERSTECK_02 == TRUE))
{
if(SHRINEHEALING == TRUE)
{
SHRINEISOBSESSED_NW_BIGMILL_MALAKSVERSTECK_02 = FALSE;
SHRINEISOBSESSED = FALSE;
};
}
else if((Npc_GetDistToWP(hero,"NW_FARM3_BIGWOOD_02") < 2000) && (SHRINEISOBSESSED_NW_FARM3_BIGWOOD_02 == TRUE))
{
if(SHRINEHEALING == TRUE)
{
SHRINEISOBSESSED_NW_FARM3_BIGWOOD_02 = FALSE;
SHRINEISOBSESSED = FALSE;
};
}
else
{
SHRINEISOBSESSED = FALSE;
};
};
};
instance PC_PRAYSHRINE_HEALSHRINE(C_INFO)
{
npc = pc_hero;
nr = 1;
condition = pc_prayshrine_healshrine_condition;
information = pc_prayshrine_healshrine_info;
permanent = TRUE;
description = "Очистить алтарь";
};
func int pc_prayshrine_healshrine_condition()
{
if((PLAYER_MOBSI_PRODUCTION == MOBSI_PRAYSHRINE) && Npc_HasItems(hero,itmi_ultharsholywater_mis) && (SHRINEISOBSESSED == TRUE) && (CURRENTLEVEL != DRAGONISLAND_ZEN))
{
return TRUE;
};
};
func void pc_prayshrine_healshrine_info()
{
var string shrinestext;
var string shrinesleft;
Wld_PlayEffect("spellFX_HealShrine",hero,hero,0,0,0,FALSE);
Snd_Play("MFX_Heal_Cast");
SHRINEHEALING = TRUE;
c_isshrineobsessed(self);
SHRINEHEALING = FALSE;
SHRINESHEALED = SHRINESHEALED + 1;
if(SHRINESHEALED < 7)
{
b_say(self,self,"$HEALSHRINE");
shrinesleft = IntToString(7 - SHRINESHEALED);
shrinestext = ConcatStrings(shrinesleft,PRINT_NUMBERLEFT);
AI_PrintScreen(shrinestext,-1,YPOS_GOLDGIVEN,FONT_SCREENSMALL,3);
}
else
{
b_say(self,self,"$HEALLASTSHRINE");
MIS_ULTHAR_HEILESCHREINE_PAL = LOG_SUCCESS;
};
b_giveplayerxp(XP_AMBIENT);
b_endproductiondialog();
};
func void prayshrine_s1()
{
var C_NPC her;
her = Hlp_GetNpc(pc_hero);
if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(her))
{
c_isshrineobsessed(self);
if(SHRINEISOBSESSED == TRUE)
{
Wld_PlayEffect("DEMENTOR_FX",hero,hero,0,0,0,FALSE);
};
self.aivar[AIV_INVINCIBLE] = TRUE;
PLAYER_MOBSI_PRODUCTION = MOBSI_PRAYSHRINE;
AI_ProcessInfos(self);
};
};
func void prayidol_s1()
{
var C_NPC her;
her = Hlp_GetNpc(pc_hero);
if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(her))
{
Wld_PlayEffect("DEMENTOR_FX",hero,hero,0,0,0,FALSE);
self.aivar[AIV_INVINCIBLE] = TRUE;
PLAYER_MOBSI_PRODUCTION = MOBSI_PRAYSHRINE;
AI_ProcessInfos(self);
};
};
instance PC_PRAYSHRINE_END(C_INFO)
{
npc = pc_hero;
nr = 999;
condition = pc_prayshrine_end_condition;
information = pc_prayshrine_end_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int pc_prayshrine_end_condition()
{
if(PLAYER_MOBSI_PRODUCTION == MOBSI_PRAYSHRINE)
{
return TRUE;
};
};
func void pc_prayshrine_end_info()
{
b_endproductiondialog();
};
instance PC_PRAYSHRINE_PALADINE(C_INFO)
{
npc = pc_hero;
nr = 3;
condition = pc_prayshrine_paladine_condition;
information = pc_prayshrine_paladine_info;
permanent = FALSE;
description = "Помолиться за паладинов.";
};
func int pc_prayshrine_paladine_condition()
{
if((PLAYER_MOBSI_PRODUCTION == MOBSI_PRAYSHRINE) && (MIS_MARDUKBETEN == LOG_RUNNING) && (KAPITEL == 1) && (CURRENTLEVEL != DRAGONISLAND_ZEN))
{
return TRUE;
};
};
func void pc_prayshrine_paladine_info()
{
PrintScreen(PRAY_PALADIN1,-1,33,FONT_SCREENSMALL,4);
PrintScreen(PRAY_PALADIN2,-1,36,FONT_SCREENSMALL,5);
PrintScreen(PRAY_PALADIN3,-1,39,FONT_SCREENSMALL,6);
PrintScreen(PRAY_PALADIN4,-1,42,FONT_SCREENSMALL,7);
};
instance PC_PRAYSHRINE_PRAY(C_INFO)
{
npc = pc_hero;
nr = 2;
condition = pc_prayshrine_pray_condition;
information = pc_prayshrine_pray_info;
permanent = TRUE;
description = "Помолиться";
};
func int pc_prayshrine_pray_condition()
{
if((PLAYER_MOBSI_PRODUCTION == MOBSI_PRAYSHRINE) && (CURRENTLEVEL != DRAGONISLAND_ZEN))
{
return TRUE;
};
};
func void pc_prayshrine_pray_info()
{
if(SHRINEISOBSESSED == TRUE)
{
SC_ISOBSESSED = TRUE;
PrintScreen(PRINT_SCISOBSESSED,-1,-1,FONT_SCREEN,3);
Snd_Play("DEM_Die");
}
else
{
Info_ClearChoices(pc_prayshrine_pray);
Info_AddChoice(pc_prayshrine_pray,DIALOG_BACK,pc_prayshrine_pray_back);
Info_AddChoice(pc_prayshrine_pray,"Я хочу помолиться и пожертвовать 0 золотых монет.",pc_prayshrine_pray_nopay);
if(Npc_HasItems(hero,itmi_gold) >= 10)
{
Info_AddChoice(pc_prayshrine_pray,"Я хочу помолиться и пожертвовать 10 золотых монет.",pc_prayshrine_pray_smallpay);
};
if(Npc_HasItems(hero,itmi_gold) >= 50)
{
Info_AddChoice(pc_prayshrine_pray,"Я хочу помолиться и пожертвовать 50 золотых монет.",pc_prayshrine_pray_mediumpay);
};
if(Npc_HasItems(hero,itmi_gold) >= 100)
{
Info_AddChoice(pc_prayshrine_pray,"Я хочу помолиться и пожертвовать 100 золотых монет.",pc_prayshrine_pray_bigpay);
};
};
};
func void pc_prayshrine_pray_back()
{
Info_ClearChoices(pc_prayshrine_pray);
};
func void pc_prayshrine_pray_nopay()
{
var int zufall;
zufall = Hlp_Random(4);
if(C_PrayedToday())
{
PrintScreen(PRINT_BLESSNONE,-1,-1,FONT_SCREEN,2);
}
else if(hero.guild == GIL_PAL)
{
if(zufall >= 1)
{
b_blessattribute(hero,ATR_HITPOINTS,5);
}
else
{
b_blessattribute(hero,ATR_MANA,5);
};
}
else if(hero.guild == GIL_KDF)
{
if(zufall >= 2)
{
b_blessattribute(hero,ATR_MANA,5);
}
else
{
PrintScreen(PRINT_BLESSNONE,-1,-1,FONT_SCREEN,2);
};
}
else
{
PrintScreen(PRINT_BLESSNONE,-1,-1,FONT_SCREEN,2);
};
PRAYDAY = Wld_GetDay();
if(PRAYDAY == 0)
{
PRAYDAYONE = TRUE;
};
Info_ClearChoices(pc_prayshrine_pray);
};
func void pc_prayshrine_pray_smallpay()
{
Npc_RemoveInvItems(hero,itmi_gold,10);
Stats_Blessings_GoldGiven += 10;
if(C_PrayedToday())
{
PrintScreen(PRINT_BLESSNONE,-1,-1,FONT_SCREEN,2);
}
else if(hero.guild == GIL_PAL)
{
hero.attribute[ATR_HITPOINTS] = hero.attribute[ATR_HITPOINTS_MAX];
hero.attribute[ATR_MANA] = hero.attribute[ATR_MANA_MAX];
PrintScreen(PRINT_BLESSMANA_HIT,-1,-1,FONT_SCREEN,2);
}
else if(hero.guild == GIL_KDF)
{
b_blessattribute(hero,ATR_MANA,5);
}
else
{
PrintScreen(PRINT_BLESSNONE,-1,-1,FONT_SCREEN,2);
};
PRAYDAY = Wld_GetDay();
if(PRAYDAY == 0)
{
PRAYDAYONE = TRUE;
};
Info_ClearChoices(pc_prayshrine_pray);
};
func void pc_prayshrine_pray_mediumpay()
{
var int zufall;
zufall = Hlp_Random(4);
Npc_RemoveInvItems(hero,itmi_gold,50);
Stats_Blessings_GoldGiven += 50;
if(C_PrayedToday())
{
PrintScreen(PRINT_BLESSNONE,-1,-1,FONT_SCREEN,2);
}
else if(SPECIALBLESS <= 10)
{
if(hero.guild == GIL_PAL)
{
if(zufall >= 2)
{
b_blessattribute(hero,ATR_MANA_MAX,2);
}
else
{
b_blessattribute(hero,ATR_HITPOINTS_MAX,4);
};
}
else if(hero.guild == GIL_KDF)
{
b_blessattribute(hero,ATR_MANA_MAX,2);
}
else
{
b_blessattribute(hero,ATR_HITPOINTS_MAX,2);
};
SPECIALBLESS = SPECIALBLESS + 1;
}
else
{
b_blessattribute(hero,ATR_HITPOINTS,5);
};
PRAYDAY = Wld_GetDay();
if(PRAYDAY == 0)
{
PRAYDAYONE = TRUE;
};
Info_ClearChoices(pc_prayshrine_pray);
};
func void pc_prayshrine_pray_bigpay()
{
var int zufall;
zufall = Hlp_Random(4);
Npc_RemoveInvItems(hero,itmi_gold,100);
Stats_Blessings_GoldGiven += 100;
if(C_PrayedToday())
{
PrintScreen(PRINT_BLESSNONE,-1,-1,FONT_SCREEN,2);
}
else if(SPECIALBLESS <= 10)
{
if(hero.guild == GIL_PAL)
{
if(zufall >= 3)
{
b_blessattribute(hero,ATR_MANA_MAX,4);
}
else if(zufall >= 2)
{
b_blessattribute(hero,ATR_HITPOINTS_MAX,8);
}
else if(zufall >= 1)
{
b_blessattribute(hero,ATR_STRENGTH,2);
}
else if(zufall >= 0)
{
b_blessattribute(hero,ATR_DEXTERITY,2);
};
}
else if(hero.guild == GIL_KDF)
{
b_blessattribute(hero,ATR_MANA_MAX,4);
}
else if(zufall >= 2)
{
b_blessattribute(hero,ATR_HITPOINTS_MAX,4);
}
else
{
b_blessattribute(hero,ATR_STRENGTH,1);
};
SPECIALBLESS = SPECIALBLESS + 1;
}
else if((hero.guild == GIL_PAL) || (hero.guild == GIL_KDF))
{
hero.attribute[ATR_HITPOINTS] = hero.attribute[ATR_HITPOINTS_MAX];
hero.attribute[ATR_MANA] = hero.attribute[ATR_MANA_MAX];
PrintScreen(PRINT_BLESSMANA_HIT,-1,-1,FONT_SCREEN,2);
}
else
{
b_blessattribute(hero,ATR_HITPOINTS,5);
};
PRAYDAY = Wld_GetDay();
if(PRAYDAY == 0)
{
PRAYDAYONE = TRUE;
};
Info_ClearChoices(pc_prayshrine_pray);
};
instance PC_PRAYSHRINE_BLESSSWORD(C_INFO)
{
npc = pc_hero;
nr = 2;
condition = pc_prayshrine_blesssword_condition;
information = pc_prayshrine_blesssword_info;
permanent = TRUE;
description = BLESS_SWORD;
};
func int pc_prayshrine_blesssword_condition()
{
if((PLAYER_MOBSI_PRODUCTION == MOBSI_PRAYSHRINE) && (hero.guild == GIL_PAL) && (Npc_GetDistToWP(hero,"NW_MONASTERY_CHAPELL_02") <= 500) && ((Npc_HasItems(hero,itmw_1h_blessed_01) >= 1) || (Npc_HasItems(hero,itmw_2h_blessed_01) >= 1)) && (CURRENTLEVEL != DRAGONISLAND_ZEN))
{
return TRUE;
};
};
func void pc_prayshrine_blesssword_info()
{
if(SHRINEISOBSESSED == TRUE)
{
SC_ISOBSESSED = TRUE;
PrintScreen(PRINT_SCISOBSESSED,-1,-1,FONT_SCREEN,3);
Snd_Play("DEM_Die");
}
else if(Npc_HasItems(hero,itmi_gold) >= GOLD_BLESSSWORD)
{
Npc_RemoveInvItems(hero,itmi_gold,GOLD_BLESSSWORD);
CONCATDONATION = ConcatStrings(IntToString(GOLD_BLESSSWORD),PRINT_GOLDGEGEBEN);
AI_PrintScreen(CONCATDONATION,-1,YPOS_GOLDGIVEN,FONT_SCREENSMALL,2);
if(Npc_HasItems(hero,itmw_2h_blessed_01) >= 1)
{
Npc_RemoveInvItems(hero,itmw_2h_blessed_01,1);
CreateInvItems(hero,itmw_2h_blessed_02,1);
Wld_PlayEffect("spellFX_PalHeal_ORIGIN",hero,hero,0,0,0,FALSE);
Snd_Play("MFX_Heal_Cast");
b_giveplayerxp(XP_SWORDBLESSED);
}
else
{
Npc_RemoveInvItems(hero,itmw_1h_blessed_01,1);
CreateInvItems(hero,itmw_1h_blessed_02,1);
Wld_PlayEffect("spellFX_PalHeal_ORIGIN",hero,hero,0,0,0,FALSE);
Snd_Play("MFX_Heal_Cast");
b_giveplayerxp(XP_SWORDBLESSED);
};
}
else
{
AI_PrintScreen(PRINT_NOTENOUGHGOLD,-1,YPOS_GOLDGIVEN,FONT_SCREENSMALL,2);
};
};
instance PC_PRAYSHRINE_BLESSSWORD_FINAL(C_INFO)
{
npc = pc_hero;
nr = 2;
condition = pc_prayshrine_blesssword_final_condition;
information = pc_prayshrine_blesssword_final_info;
permanent = TRUE;
description = BLESS_SWORD2;
};
func int pc_prayshrine_blesssword_final_condition()
{
if((PLAYER_MOBSI_PRODUCTION == MOBSI_PRAYSHRINE) && (hero.guild == GIL_PAL) && (Npc_GetDistToWP(hero,"NW_MONASTERY_CHAPELL_02") <= 500) && (PAL_KNOWSABOUT_FINAL_BLESSING == TRUE) && ((Npc_HasItems(hero,itmw_1h_blessed_02) >= 1) || (Npc_HasItems(hero,itmw_2h_blessed_02) >= 1)) && (CURRENTLEVEL != DRAGONISLAND_ZEN))
{
return TRUE;
};
};
func void pc_prayshrine_blesssword_final_info()
{
if(SHRINEISOBSESSED == TRUE)
{
SC_ISOBSESSED = TRUE;
PrintScreen(PRINT_SCISOBSESSED,-1,-1,FONT_SCREEN,3);
Snd_Play("DEM_Die");
}
else if((Npc_HasItems(hero,itpo_potionofdeath_01_mis) >= 1) || (Npc_HasItems(hero,itpo_potionofdeath_02_mis) >= 1))
{
Npc_RemoveInvItems(hero,itpo_potionofdeath_01_mis,1);
Npc_RemoveInvItems(hero,itpo_potionofdeath_02_mis,1);
if(Npc_HasItems(hero,itmw_2h_blessed_02) >= 1)
{
Npc_RemoveInvItems(hero,itmw_2h_blessed_02,1);
CreateInvItems(hero,itmw_2h_blessed_03,1);
Wld_PlayEffect("spellFX_PalHeal_ORIGIN",hero,hero,0,0,0,FALSE);
Snd_Play("MFX_Heal_Cast");
b_giveplayerxp(XP_SWORDBLESSED2);
}
else
{
Npc_RemoveInvItems(hero,itmw_1h_blessed_02,1);
CreateInvItems(hero,itmw_1h_blessed_03,1);
Wld_PlayEffect("spellFX_PalHeal_ORIGIN",hero,hero,0,0,0,FALSE);
Snd_Play("MFX_Heal_Cast");
b_giveplayerxp(XP_SWORDBLESSED2);
};
}
else
{
AI_PrintScreen(PRINT_NOINNOSTEARS,-1,YPOS_GOLDGIVEN,FONT_SCREENSMALL,2);
};
};
| D |
module main;
// http://community.itbbs.cn/thread/21787/
// gdc dlang-test.d -o dtest
import std.stdio;
import std.string;
import std.conv;
class Kerisy {/*{{{*/
public int userid;
string username;
string email;
string[char[]] user;
this(int _userid, string _username, string _email){
userid = _userid;
username = _username;
email = _email;
user["id"] = to!(string)(_userid);
user["username"] = _username;
user["email"] = _email;
}
void show()
{
writeln("ID: " , userid);
writeln("NAME: " , username);
writeln("EMAIL: " , email);
}
void showUser()
{
foreach (const(char)[] k, string v; user)
{
writefln("User[%s] = '%s'", k, v);
}
}
}/*}}}*/
int main(string[] args)/*{{{*/
{
Kerisy k = new Kerisy(10000, "Brian", "xxx@gmail.com");
writeln("Show xxx's profile:");
k.show();
write("\n");
writeln("Show xxx's profile in program:");
k.showUser();
write("\n");
return 0;
}/*}}}*/
| D |
module tests.dataset;
import std.exception;
import std.stdio;
import std.range : enumerate;
import tests.common;
import vectorflow.dataset;
unittest {
class D : DataReader!ulong{
static ulong[] _data = [1, 2, 3];
size_t _cnt = 0;
this(){_memory_size = 3 * 4;}
override bool read_next()
{
if(empty)
return false;
_obs = _data[_cnt];
_cnt++;
return true;
}
override @property bool empty()
{
return _cnt >= _data.length;
}
override void rewind(){_cnt = 0;}
override @property D save()
{
auto cp = new D();
cp.share_save_params(this);
cp._cnt = _cnt;
return cp;
}
}
auto d = new D();
assert(d.memory_size!"B".fequal(12));
ulong sum = 0;
foreach(v; d)
sum += v;
assert(sum == 6);
d.rewind();
sum = 0;
foreach(v; d)
sum += v;
assert(sum == 6);
d.cache();
sum = 0;
foreach(v; d)
sum += v;
assert(sum == 6);
sum = 0;
foreach(i, ref v; d.enumerate)
sum += v;
assert(sum == 6);
assert(d.length == 3);
}
| D |
module tests.ut.drules;
import reggae;
import reggae.options;
import reggae.path: buildPath;
import reggae.backend.ninja;
import unit_threaded;
import std.algorithm;
import std.array;
@("DCompile no include paths Ninja") unittest {
auto build = Build(objectFile(SourceFile("path/to/src/foo.d")));
auto ninja = Ninja(build, "/tmp/myproject");
enum objPath = buildPath("path/to/src/foo" ~ objExt);
ninja.buildEntries.shouldEqual(
[NinjaEntry("build " ~ objPath ~ ": _dcompile " ~ buildPath("/tmp/myproject/path/to/src/foo.d"),
[])]);
}
@("DCompile include paths Ninja") unittest {
auto build = Build(objectFile(SourceFile("path/to/src/foo.d"),
Flags("-O"),
ImportPaths(["path/to/src", "other/path"])));
auto ninja = Ninja(build, "/tmp/myproject");
enum objPath = buildPath("path/to/src/foo" ~ objExt);
ninja.buildEntries.shouldEqual(
[NinjaEntry("build " ~ objPath ~ ": _dcompile " ~ buildPath("/tmp/myproject/path/to/src/foo.d"),
["includes = -I" ~ buildPath("/tmp/myproject/path/to/src") ~ " -I" ~ buildPath("/tmp/myproject/other/path"),
"flags = -O"])]);
}
@("DCompile with spaces Ninja") unittest {
auto build = Build(objectFile(SourceFile("my src/foo.d"),
Flags(["-O", "-L/LIBPATH:my libs"]),
ImportPaths(["my src", "other/path"])));
auto ninja = Ninja(build, "/tmp/myproject");
enum objPath = buildPath("my src/foo" ~ objExt);
ninja.buildEntries.shouldEqual(
[NinjaEntry(`build ` ~ buildPath("my$ src/foo") ~ objExt ~ `: _dcompile ` ~ buildPath("/tmp/myproject/my$ src/foo.d"),
[`includes = "-I` ~ buildPath("/tmp/myproject/my src") ~ `" -I` ~ buildPath("/tmp/myproject/other/path"),
`flags = -O "-L/LIBPATH:my libs"`])]);
}
@ShouldFail
@("dlangObjectFilesPerPackage")
unittest {
auto build = Build(dlangObjectFilesPerPackage(["path/to/src/foo.d",
"path/to/src/bar.d",
"other/weird.d"],
["-O"], ["path/to/src", "other/path"]));
build.shouldEqual(Build(Target("path/to/src.o",
compileCommand("path/to/src.d",
["-O"],
["path/to/src", "other/path"]),
[Target("path/to/src/foo.d"), Target("path/to/src/bar.d")]),
Target("other.o",
compileCommand("other.d",
["-O"],
["path/to/src", "other/path"]),
[Target("other/weird.d")]),
));
}
@("dlangObjectFilesPerPackage ..")
unittest {
auto build = Build(dlangObjectFilesPerModule(["/project/source/main.d",
"/project/../../common/source/foo.d",
"/project/../../common/source/bar.d",
]));
build.shouldEqual(Build(Target(buildPath("project/source/main" ~ objExt),
compileCommand("/project/source/main.d"),
Target("/project/source/main.d")),
Target(buildPath("project/__/__/common/source/foo" ~ objExt),
compileCommand("/project/../../common/source/foo.d"),
Target("/project/../../common/source/foo.d")),
Target(buildPath("project/__/__/common/source/bar" ~ objExt),
compileCommand("/project/../../common/source/bar.d"),
Target("/project/../../common/source/bar.d")),
));
}
@("Object files empty") unittest {
dlangObjectFilesPerPackage([]).shouldBeEmpty;
dlangObjectFilesPerModule([]).shouldBeEmpty;
}
| D |
/**
* D header file for C99.
*
* Copyright: Copyright Digital Mars 2000 - 2009.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: Walter Bright, Hauke Duden
* Standards: ISO/IEC 9899:1999 (E)
*/
/* Copyright Digital Mars 2000 - 2009.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
module core.stdc.stdarg;
@system:
version( X86 )
{
/*********************
* The argument pointer type.
*/
alias void* va_list;
/**********
* Initialize ap.
* For 32 bit code, parmn should be the last named parameter.
* For 64 bit code, parmn should be __va_argsave.
*/
void va_start(T)(out va_list ap, ref T parmn)
{
ap = cast(va_list)( cast(void*) &parmn + ( ( T.sizeof + int.sizeof - 1 ) & ~( int.sizeof - 1 ) ) );
}
/************
* Retrieve and return the next value that is type T.
* Should use the other va_arg instead, as this won't work for 64 bit code.
*/
T va_arg(T)(ref va_list ap)
{
T arg = *cast(T*) ap;
ap = cast(va_list)( cast(void*) ap + ( ( T.sizeof + int.sizeof - 1 ) & ~( int.sizeof - 1 ) ) );
return arg;
}
/************
* Retrieve and return the next value that is type T.
* This is the preferred version.
*/
void va_arg(T)(ref va_list ap, ref T parmn)
{
parmn = *cast(T*)ap;
ap = cast(va_list)(cast(void*)ap + ((T.sizeof + int.sizeof - 1) & ~(int.sizeof - 1)));
}
/*************
* Retrieve and store through parmn the next value that is of TypeInfo ti.
* Used when the static type is not known.
*/
void va_arg()(ref va_list ap, TypeInfo ti, void* parmn)
{
// Wait until everyone updates to get TypeInfo.talign()
//auto talign = ti.talign();
//auto p = cast(void*)(cast(size_t)ap + talign - 1) & ~(talign - 1);
auto p = ap;
auto tsize = ti.tsize();
ap = cast(void*)(cast(size_t)p + ((tsize + size_t.sizeof - 1) & ~(size_t.sizeof - 1)));
parmn[0..tsize] = p[0..tsize];
}
/***********************
* End use of ap.
*/
void va_end(va_list ap)
{
}
void va_copy(out va_list dest, va_list src)
{
dest = src;
}
}
else version (Windows) // Win64
{ /* Win64 is characterized by all arguments fitting into a register size.
* Smaller ones are padded out to register size, and larger ones are passed by
* reference.
*/
/*********************
* The argument pointer type.
*/
alias void* va_list;
/**********
* Initialize ap.
* parmn should be the last named parameter.
*/
void va_start(T)(out va_list ap, ref T parmn)
{
ap = cast(va_list)(cast(void*)&parmn + ((size_t.sizeof + size_t.sizeof - 1) & ~(size_t.sizeof - 1)));
}
/************
* Retrieve and return the next value that is type T.
* Should use the other va_arg instead, as this won't work for 64 bit code.
*/
T va_arg(T)(ref va_list ap)
{
static if (T.sizeof > size_t.sizeof)
T arg = **cast(T**)ap;
else
T arg = *cast(T*)ap;
ap = cast(va_list)(cast(void*)ap + ((size_t.sizeof + size_t.sizeof - 1) & ~(size_t.sizeof - 1)));
return arg;
}
/************
* Retrieve and return the next value that is type T.
* This is the preferred version.
*/
void va_arg(T)(ref va_list ap, ref T parmn)
{
static if (T.sizeof > size_t.sizeof)
parmn = **cast(T**)ap;
else
parmn = *cast(T*)ap;
ap = cast(va_list)(cast(void*)ap + ((size_t.sizeof + size_t.sizeof - 1) & ~(size_t.sizeof - 1)));
}
/*************
* Retrieve and store through parmn the next value that is of TypeInfo ti.
* Used when the static type is not known.
*/
void va_arg()(ref va_list ap, TypeInfo ti, void* parmn)
{
// Wait until everyone updates to get TypeInfo.talign()
//auto talign = ti.talign();
//auto p = cast(void*)(cast(size_t)ap + talign - 1) & ~(talign - 1);
auto p = ap;
auto tsize = ti.tsize();
ap = cast(void*)(cast(size_t)p + ((size_t.sizeof + size_t.sizeof - 1) & ~(size_t.sizeof - 1)));
void* q = (tsize > size_t.sizeof) ? *cast(void**)p : p;
parmn[0..tsize] = q[0..tsize];
}
/***********************
* End use of ap.
*/
void va_end(va_list ap)
{
}
void va_copy(out va_list dest, va_list src)
{
dest = src;
}
}
else version (X86_64)
{
// Determine if type is a vector type
template isVectorType(T)
{
enum isVectorType = false;
}
template isVectorType(T : __vector(T[N]), size_t N)
{
enum isVectorType = true;
}
// Layout of this struct must match __gnuc_va_list for C ABI compatibility
struct __va_list
{
uint offset_regs = 6 * 8; // no regs
uint offset_fpregs = 6 * 8 + 8 * 16; // no fp regs
void* stack_args;
void* reg_args;
}
align(16) struct __va_argsave_t
{
size_t[6] regs; // RDI,RSI,RDX,RCX,R8,R9
real[8] fpregs; // XMM0..XMM7
__va_list va;
}
/*
* Making it an array of 1 causes va_list to be passed as a pointer in
* function argument lists
*/
alias void* va_list;
void va_start(T)(out va_list ap, ref T parmn)
{
ap = &parmn.va;
}
T va_arg(T)(va_list ap)
{ T a;
va_arg(ap, a);
return a;
}
void va_arg(T)(va_list apx, ref T parmn)
{
__va_list* ap = cast(__va_list*)apx;
static if (is(T U == __argTypes))
{
static if (U.length == 0 || T.sizeof > 16 || (U[0].sizeof > 8 && !isVectorType!(U[0])))
{ // Always passed in memory
// The arg may have more strict alignment than the stack
auto p = (cast(size_t)ap.stack_args + T.alignof - 1) & ~(T.alignof - 1);
ap.stack_args = cast(void*)(p + ((T.sizeof + size_t.sizeof - 1) & ~(size_t.sizeof - 1)));
parmn = *cast(T*)p;
}
else static if (U.length == 1)
{ // Arg is passed in one register
alias U[0] T1;
static if (is(T1 == double) || is(T1 == float) || isVectorType!(T1))
{ // Passed in XMM register
if (ap.offset_fpregs < (6 * 8 + 16 * 8))
{
parmn = *cast(T*)(ap.reg_args + ap.offset_fpregs);
ap.offset_fpregs += 16;
}
else
{
parmn = *cast(T*)ap.stack_args;
ap.stack_args += (T1.sizeof + size_t.sizeof - 1) & ~(size_t.sizeof - 1);
}
}
else
{ // Passed in regular register
if (ap.offset_regs < 6 * 8 && T.sizeof <= 8)
{
parmn = *cast(T*)(ap.reg_args + ap.offset_regs);
ap.offset_regs += 8;
}
else
{
auto p = (cast(size_t)ap.stack_args + T.alignof - 1) & ~(T.alignof - 1);
ap.stack_args = cast(void*)(p + ((T.sizeof + size_t.sizeof - 1) & ~(size_t.sizeof - 1)));
parmn = *cast(T*)p;
}
}
}
else static if (U.length == 2)
{ // Arg is passed in two registers
alias U[0] T1;
alias U[1] T2;
auto p = cast(void*)&parmn + 8;
// Both must be in registers, or both on stack, hence 4 cases
static if ((is(T1 == double) || is(T1 == float)) &&
(is(T2 == double) || is(T2 == float)))
{
if (ap.offset_fpregs < (6 * 8 + 16 * 8) - 16)
{
*cast(T1*)&parmn = *cast(T1*)(ap.reg_args + ap.offset_fpregs);
*cast(T2*)p = *cast(T2*)(ap.reg_args + ap.offset_fpregs + 16);
ap.offset_fpregs += 32;
}
else
{
*cast(T1*)&parmn = *cast(T1*)ap.stack_args;
ap.stack_args += (T1.sizeof + size_t.sizeof - 1) & ~(size_t.sizeof - 1);
*cast(T2*)p = *cast(T2*)ap.stack_args;
ap.stack_args += (T2.sizeof + size_t.sizeof - 1) & ~(size_t.sizeof - 1);
}
}
else static if (is(T1 == double) || is(T1 == float))
{
void* a = void;
if (ap.offset_fpregs < (6 * 8 + 16 * 8) &&
ap.offset_regs < 6 * 8 && T2.sizeof <= 8)
{
*cast(T1*)&parmn = *cast(T1*)(ap.reg_args + ap.offset_fpregs);
ap.offset_fpregs += 16;
a = ap.reg_args + ap.offset_regs;
ap.offset_regs += 8;
}
else
{
*cast(T1*)&parmn = *cast(T1*)ap.stack_args;
ap.stack_args += (T1.sizeof + size_t.sizeof - 1) & ~(size_t.sizeof - 1);
a = ap.stack_args;
ap.stack_args += 8;
}
// Be careful not to go past the size of the actual argument
const sz2 = T.sizeof - 8;
p[0..sz2] = a[0..sz2];
}
else static if (is(T2 == double) || is(T2 == float))
{
if (ap.offset_regs < 6 * 8 && T1.sizeof <= 8 &&
ap.offset_fpregs < (6 * 8 + 16 * 8))
{
*cast(T1*)&parmn = *cast(T1*)(ap.reg_args + ap.offset_regs);
ap.offset_regs += 8;
*cast(T2*)p = *cast(T2*)(ap.reg_args + ap.offset_fpregs);
ap.offset_fpregs += 16;
}
else
{
*cast(T1*)&parmn = *cast(T1*)ap.stack_args;
ap.stack_args += 8;
*cast(T2*)p = *cast(T2*)ap.stack_args;
ap.stack_args += (T2.sizeof + size_t.sizeof - 1) & ~(size_t.sizeof - 1);
}
}
else // both in regular registers
{
void* a = void;
if (ap.offset_regs < 5 * 8 && T1.sizeof <= 8 && T2.sizeof <= 8)
{
*cast(T1*)&parmn = *cast(T1*)(ap.reg_args + ap.offset_regs);
ap.offset_regs += 8;
a = ap.reg_args + ap.offset_regs;
ap.offset_regs += 8;
}
else
{
*cast(T1*)&parmn = *cast(T1*)ap.stack_args;
ap.stack_args += 8;
a = ap.stack_args;
ap.stack_args += 8;
}
// Be careful not to go past the size of the actual argument
const sz2 = T.sizeof - 8;
p[0..sz2] = a[0..sz2];
}
}
else
{
static assert(false);
}
}
else
{
static assert(false, "not a valid argument type for va_arg");
}
}
void va_arg()(va_list apx, TypeInfo ti, void* parmn)
{
__va_list* ap = cast(__va_list*)apx;
TypeInfo arg1, arg2;
if (!ti.argTypes(arg1, arg2))
{
bool inXMMregister(TypeInfo arg)
{
auto s = arg.toString();
return (s == "double" || s == "float" || s == "idouble" || s == "ifloat");
}
TypeInfo_Vector v1 = arg1 ? cast(TypeInfo_Vector)arg1 : null;
if (arg1 && (arg1.tsize() <= 8 || v1))
{ // Arg is passed in one register
auto tsize = arg1.tsize();
void* p;
bool stack = false;
auto offset_fpregs_save = ap.offset_fpregs;
auto offset_regs_save = ap.offset_regs;
L1:
if (inXMMregister(arg1) || v1)
{ // Passed in XMM register
if (ap.offset_fpregs < (6 * 8 + 16 * 8) && !stack)
{
p = ap.reg_args + ap.offset_fpregs;
ap.offset_fpregs += 16;
}
else
{
p = ap.stack_args;
ap.stack_args += (tsize + size_t.sizeof - 1) & ~(size_t.sizeof - 1);
stack = true;
}
}
else
{ // Passed in regular register
if (ap.offset_regs < 6 * 8 && !stack)
{
p = ap.reg_args + ap.offset_regs;
ap.offset_regs += 8;
}
else
{
p = ap.stack_args;
ap.stack_args += 8;
stack = true;
}
}
parmn[0..tsize] = p[0..tsize];
if (arg2)
{
if (inXMMregister(arg2))
{ // Passed in XMM register
if (ap.offset_fpregs < (6 * 8 + 16 * 8) && !stack)
{
p = ap.reg_args + ap.offset_fpregs;
ap.offset_fpregs += 16;
}
else
{
if (!stack)
{ // arg1 is really on the stack, so rewind and redo
ap.offset_fpregs = offset_fpregs_save;
ap.offset_regs = offset_regs_save;
stack = true;
goto L1;
}
p = ap.stack_args;
ap.stack_args += (arg2.tsize() + size_t.sizeof - 1) & ~(size_t.sizeof - 1);
}
}
else
{ // Passed in regular register
if (ap.offset_regs < 6 * 8 && !stack)
{
p = ap.reg_args + ap.offset_regs;
ap.offset_regs += 8;
}
else
{
if (!stack)
{ // arg1 is really on the stack, so rewind and redo
ap.offset_fpregs = offset_fpregs_save;
ap.offset_regs = offset_regs_save;
stack = true;
goto L1;
}
p = ap.stack_args;
ap.stack_args += 8;
}
}
auto sz = ti.tsize() - 8;
(parmn + 8)[0..sz] = p[0..sz];
}
}
else
{ // Always passed in memory
// The arg may have more strict alignment than the stack
auto talign = ti.talign();
auto tsize = ti.tsize();
auto p = cast(void*)((cast(size_t)ap.stack_args + talign - 1) & ~(talign - 1));
ap.stack_args = cast(void*)(cast(size_t)p + ((tsize + size_t.sizeof - 1) & ~(size_t.sizeof - 1)));
parmn[0..tsize] = p[0..tsize];
}
}
else
{
assert(false, "not a valid argument type for va_arg");
}
}
void va_end(va_list ap)
{
}
void va_copy(out va_list dest, va_list src)
{
dest = src;
}
}
else
{
static assert(false, "Unsupported platform");
}
| D |
func Main()
{
var int tmp;
tmp := 42;
tmp.Foo := 42; // error,
}
| D |
/*
TEST_OUTPUT:
---
fail_compilation/lexer5.d(8): Error: number '1e-100f' is not representable
---
*/
static float f = 1e-100f;
| D |
/**
* This implement a search algorihm with heuristic.
* The algorithm first does a linear scan near the
* provided location. If nothing is found, then
* it switches to a binary search.
*/
module source.util.lookup;
uint lookup(alias f, uint N, T)(T[] items, uint needle, uint pivot) in {
assert(items.length > 0, "items must not be empty");
assert(pivot < items.length);
} do {
return (needle > f(items[pivot]))
? forwardLinearLookup!(f, N, binaryLookup)(items, needle, pivot)
: backwardLinearLookup!(f, N, binaryLookup)(items, needle, pivot);
}
unittest {
alias bl5 = lookup!(i => i, 5, uint);
uint[] items = [1, 3, 5, 7, 11, 13, 17, 23];
assert(bl5(items, 5, 6) == 2);
assert(bl5(items, 16, 6) == 5);
assert(bl5(items, 4, 3) == 1);
assert(bl5(items, 2, 3) == 0);
assert(bl5(items, 1, 6) == 0);
assert(bl5(items, 1, 1) == 0);
assert(bl5(items, 5, 7) == 2);
assert(bl5(items, 3, 7) == 1);
assert(bl5(items, 22, 4) == 6);
assert(bl5(items, 23, 6) == 7);
assert(bl5(items, 42, 0) == 7);
}
private:
uint forwardLinearLookup(alias f, uint N, alias fallback,
T)(T[] items, uint needle, uint first) in {
assert(items.length > 0, "items must not be empty");
assert(first < items.length - 1, "first is out of bound");
assert(needle >= f(items[first + 1]), "needle is before first");
} do {
auto l = cast(uint) items.length;
uint stop = first + N + 2;
if (stop > l) {
stop = l;
}
auto i = first + 2;
if (i < l) {
do {
if (f(items[i]) > needle) {
return i - 1;
}
} while (++i != stop);
}
return fallback!f(items, needle, stop - 1, l);
}
unittest {
static uint testFallback(alias f, T)(T[], uint, uint, uint) {
return -1;
}
alias fll5 = forwardLinearLookup!(i => i, 5, testFallback, uint);
alias fll8 = forwardLinearLookup!(i => i, 8, testFallback, uint);
uint[] items = [1, 3, 5, 7, 11, 13, 17, 23];
assert(fll5(items, 5, 0) == 2);
assert(fll5(items, 16, 0) == 5);
assert(fll5(items, 17, 0) == -1);
assert(fll5(items, 17, 1) == 6);
assert(fll8(items, 17, 0) == 6);
assert(fll8(items, 22, 0) == 6);
assert(fll5(items, 6, 1) == 2);
assert(fll5(items, 5, 1) == 2);
}
uint backwardLinearLookup(alias f, uint N, alias fallback,
T)(T[] items, uint needle, uint last) in {
assert(items.length > 0, "items must not be empty");
assert(last > 0 && last < items.length, "last is out of bound");
assert(needle >= f(items[0]), "needle is before first");
assert(needle < f(items[last]), "needle is past last");
} do {
auto stop = (last < N) ? 0 : last - N;
auto i = last - 1;
do {
if (f(items[i]) <= needle) {
return i;
}
} while (i-- != stop);
return fallback!f(items, needle, 0, stop);
}
unittest {
static uint testFallback(alias f, T)(T[], uint, uint, uint) {
return -1;
}
alias bll5 = backwardLinearLookup!(i => i, 5, testFallback, uint);
alias bll8 = backwardLinearLookup!(i => i, 8, testFallback, uint);
uint[] items = [1, 3, 5, 7, 11, 13, 17, 23];
assert(bll5(items, 5, 6) == 2);
assert(bll5(items, 16, 6) == 5);
assert(bll5(items, 4, 3) == 1);
assert(bll5(items, 2, 3) == 0);
assert(bll5(items, 1, 5) == 0);
assert(bll5(items, 2, 6) == -1);
assert(bll5(items, 5, 7) == 2);
assert(bll5(items, 4, 7) == -1);
assert(bll8(items, 3, 7) == 1);
}
uint binaryLookup(alias f, T)(T[] items, uint needle, uint min, uint max) in {
assert(items.length > 0, "items must not be empty");
assert(needle >= f(items[min]), "needle is before first");
assert(max == items.length || needle < f(items[max]),
"needle is past last");
} do {
min++;
while (min < max) {
auto i = (min + max - 1) / 2;
auto c = f(items[i]);
if (c == needle) {
return i;
}
if (c < needle) {
min = i + 1;
} else {
max = i;
}
}
return min - 1;
}
unittest {
alias bl = binaryLookup!(i => i, uint);
uint[] items = [1, 3, 5, 7, 11, 13, 17, 23];
assert(bl(items, 5, 0, 6) == 2);
assert(bl(items, 16, 0, 6) == 5);
assert(bl(items, 4, 0, 3) == 1);
assert(bl(items, 2, 0, 3) == 0);
assert(bl(items, 1, 0, 6) == 0);
assert(bl(items, 5, 0, 7) == 2);
assert(bl(items, 3, 0, 7) == 1);
assert(bl(items, 22, 0, 7) == 6);
assert(bl(items, 23, 0, 8) == 7);
assert(bl(items, 42, 0, 8) == 7);
}
| D |
//taken from learning d by Michael Parker
struct ModMe {
int x;
}
struct ModMeHolder {
ModMe mm;
}
void main() {
immutable ModMe mm;
immutable(ModMe)* pmm;
mm.x = 1; // Error
pmm.x = 2; // Error
//immutable is transitive, applying it to mmh causes mm to
// also be immutable.
immutable ModMeHolder mmh;
mmh.mm.x = 1; // Error
}
| D |
// Copyright (C) 2007-2012 Nikolaus Gebhardt / Thomas Alten
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
module irrlicht.scene.IAnimatedMeshMD3;
import irrlicht.scene.IAnimatedMesh;
import irrlicht.scene.quake3.IQ3Shader;
import irrlicht.core.vector3d;
import irrlicht.core.quaternion;
import irrlicht.core.matrix4;
import irrlicht.irrMath;
enum eMD3Models
{
EMD3_HEAD = 0,
EMD3_UPPER,
EMD3_LOWER,
EMD3_WEAPON,
EMD3_NUMMODELS
}
/// Animation list
enum EMD3_ANIMATION_TYPE
{
// Animations for both lower and upper parts of the player
EMD3_BOTH_DEATH_1 = 0,
EMD3_BOTH_DEAD_1,
EMD3_BOTH_DEATH_2,
EMD3_BOTH_DEAD_2,
EMD3_BOTH_DEATH_3,
EMD3_BOTH_DEAD_3,
// Animations for the upper part
EMD3_TORSO_GESTURE,
EMD3_TORSO_ATTACK_1,
EMD3_TORSO_ATTACK_2,
EMD3_TORSO_DROP,
EMD3_TORSO_RAISE,
EMD3_TORSO_STAND_1,
EMD3_TORSO_STAND_2,
// Animations for the lower part
EMD3_LEGS_WALK_CROUCH,
EMD3_LEGS_WALK,
EMD3_LEGS_RUN,
EMD3_LEGS_BACK,
EMD3_LEGS_SWIM,
EMD3_LEGS_JUMP_1,
EMD3_LEGS_LAND_1,
EMD3_LEGS_JUMP_2,
EMD3_LEGS_LAND_2,
EMD3_LEGS_IDLE,
EMD3_LEGS_IDLE_CROUCH,
EMD3_LEGS_TURN,
/// Not an animation, but amount of animation types.
EMD3_ANIMATION_COUNT
}
struct SMD3AnimationInfo
{
/// First frame
int first;
/// Last frame
int num;
/// Looping frames
int looping;
/// Frames per second
int fps;
}
// byte-align structures
/// this holds the header info of the MD3 file
align(1) struct SMD3Header
{
char headerID[4]; //id of file, always "IDP3"
int Version; //this is a version number, always 15
char fileName[68]; //sometimes left Blank... 65 chars, 32bit aligned == 68 chars
int numFrames; //number of KeyFrames
int numTags; //number of 'tags' per frame
int numMeshes; //number of meshes/skins
int numMaxSkins; //maximum number of unique skins used in md3 file. artefact md2
int frameStart; //starting position of frame-structur
int tagStart; //starting position of tag-structures
int tagEnd; //ending position of tag-structures/starting position of mesh-structures
int fileSize;
}
/// this holds the header info of an MD3 mesh section
align(1) struct SMD3MeshHeader
{
char meshID[4]; //id, must be IDP3
char meshName[68]; //name of mesh 65 chars, 32 bit aligned == 68 chars
int numFrames; //number of meshframes in mesh
int numShader; //number of skins in mesh
int numVertices; //number of vertices
int numTriangles; //number of Triangles
int offset_triangles; //starting position of Triangle data, relative to start of Mesh_Header
int offset_shaders; //size of header
int offset_st; //starting position of texvector data, relative to start of Mesh_Header
int vertexStart; //starting position of vertex data,relative to start of Mesh_Header
int offset_end;
}
/// Compressed Vertex Data
align(1) struct SMD3Vertex
{
short position[3];
ubyte normal[2];
}
/// Texture Coordinate
align(1) struct SMD3TexCoord
{
float u;
float v;
}
/// Triangle Index
align(1) struct SMD3Face
{
int Index[3];
}
// Default alignment
/// Holding Frame Data for a Mesh
struct SMD3MeshBuffer
{
SMD3MeshHeader MeshHeader;
string Shader;
int[] Indices = [];
SMD3Vertex[] Vertices = [];
SMD3TexCoord[] Tex = [];
}
/// hold a tag info for connecting meshes
/**
* Basically its an alternate way to describe a transformation.
*/
struct SMD3QuaternionTag
{
// construct for searching
this()(string name )
{
Name = name;
}
// construct from a position and euler angles in degrees
this()(auto ref const vector3df pos, auto ref const vector3df angle )
{
position = pos;
rotation = angle * DEGTORAD;
}
// set to matrix
void setto()(auto ref matrix4 m)
{
rotation.getMatrix ( m, position );
}
bool opEqual()(auto ref const SMD3QuaternionTag other ) const
{
return Name == other.Name;
}
auto ref SMD3QuaternionTag opAssign()(auto ref const SMD3QuaternionTag copyMe )
{
Name = copyMe.Name;
position = copyMe.position;
rotation = copyMe.rotation;
return this;
}
string Name;
vector3df position;
quaternion rotation;
}
/// holds a associative list of named quaternions
struct SMD3QuaternionTagList
{
auto ref SMD3QuaternionTag get()(const string name)
{
auto search = SMD3QuaternionTag( name );
int index = countUntil(Container, search);
if ( index >= 0 )
return Container[index];
throw new Exception("Not found"); // Find better solution
}
size_t size () const
{
return Container.length;
}
void set_used(size_t new_size)
{
int diff = cast(int) new_size - cast(int) Container.length;
if ( diff > 0 )
{
auto e = SMD3QuaternionTag("");
for ( int i = 0; i < diff; ++i )
Container ~= e;
}
}
auto ref const SMD3QuaternionTag opIndex()(size_t index) const
{
return Container[index];
}
auto ref SMD3QuaternionTag opIndex()(size_t index)
{
return Container[index];
}
void opOpAssign(string op)(auto ref const SMD3QuaternionTag other)
if(op == "~")
{
Container ~= (other);
}
auto ref SMD3QuaternionTagList opAssign()(auto ref const SMD3QuaternionTagList copyMe)
{
Container = copyMe.Container;
return this;
}
private SMD3QuaternionTag[] Container = [];
}
/// Holding Frames Buffers and Tag Infos
struct SMD3Mesh
{
string Name;
SMD3MeshBuffer[] Buffer;
SMD3QuaternionTagList TagList;
SMD3Header MD3Header;
}
/// Interface for using some special functions of MD3 meshes
interface IAnimatedMeshMD3 : IAnimatedMesh
{
/// tune how many frames you want to render inbetween.
void setInterpolationShift(uint shift, uint loopMode);
/// get the tag list of the mesh.
ref SMD3QuaternionTagList getTagList(int frame, int detailLevel, int startFrameLoop, int endFrameLoop);
/// get the original md3 mesh.
ref SMD3Mesh getOriginalMesh();
}
| D |
$NetBSD$
Stolen from https://github.com/nrTQgc/druntime/tree/netbsd
--- runtime/druntime/src/core/sys/posix/netdb.d.orig 2016-02-13 20:02:16.000000000 +0000
+++ runtime/druntime/src/core/sys/posix/netdb.d
@@ -387,6 +387,113 @@ else version( FreeBSD )
enum EAI_SYSTEM = 11;
enum EAI_OVERFLOW = 14;
}
+else version( NetBSD )
+{
+ struct hostent
+ {
+ char* h_name;
+ char** h_aliases;
+ int h_addrtype;
+ int h_length;
+ char** h_addr_list;
+ extern (D) char* h_addr() @property { return h_addr_list[0]; } // non-standard
+ }
+
+ struct netent
+ {
+ char* n_name;
+ char** n_aliases;
+ int n_addrtype;
+ uint32_t n_net;
+/+ todo
+#if (defined(__sparc__) && defined(_LP64)) || \
+ (defined(__sh__) && defined(_LP64) && (_BYTE_ORDER == _BIG_ENDIAN))
+ int __n_pad0; /* ABI compatibility */
+#endif
+ uint32_t n_net; /*%< network # */
+#if defined(__alpha__) || (defined(__i386__) && defined(_LP64)) || \
+ (defined(__sh__) && defined(_LP64) && (_BYTE_ORDER == _LITTLE_ENDIAN))
+ int __n_pad0; /* ABI compatibility */
+#endif
+
++/
+ }
+
+ struct protoent
+ {
+ char* p_name;
+ char** p_aliases;
+ int p_proto;
+ }
+
+ struct servent
+ {
+ char* s_name;
+ char** s_aliases;
+ int s_port;
+ char* s_proto;
+ }
+
+ enum IPPORT_RESERVED = 1024;
+
+ //h_errno
+
+ enum HOST_NOT_FOUND = 1;
+ enum NO_DATA = 4;
+ enum NO_RECOVERY = 3;
+ enum TRY_AGAIN = 2;
+
+ struct addrinfo
+ {
+ int ai_flags;
+ int ai_family;
+ int ai_socktype;
+ int ai_protocol;
+/+todo
+#if defined(__sparc__) && defined(_LP64)
+ int __ai_pad0; /* ABI compatibility */
+#endif
++/
+ socklen_t ai_addrlen;
+/+todo
+#if defined(__alpha__) || (defined(__i386__) && defined(_LP64))
+ int __ai_pad0; /* ABI compatibility */
+#endif
++/
+ char* ai_canonname;
+ sockaddr* ai_addr;
+ addrinfo* ai_next;
+ }
+
+ enum AI_PASSIVE = 0x1;
+ enum AI_CANONNAME = 0x2;
+ enum AI_NUMERICHOST = 0x4;
+ enum AI_NUMERICSERV = 0x8;
+ enum AI_V4MAPPED = 0x800;
+ enum AI_ALL = 0x100;
+ enum AI_ADDRCONFIG = 0x400;
+
+ enum NI_NOFQDN = 0x1;
+ enum NI_NUMERICHOST = 0x2;
+ enum NI_NAMEREQD = 0x4;
+ enum NI_NUMERICSERV = 0x8;
+ enum NI_DGRAM = 0x10;
+ enum NI_WITHSCOPEID = 0x00000020;
+ enum NI_NUMERICSCOPE = 0x00000040;
+ enum NI_MAXHOST = 1025; // non-standard
+ enum NI_MAXSERV = 32; // non-standard
+
+ enum EAI_AGAIN = 2;
+ enum EAI_BADFLAGS = 3;
+ enum EAI_FAIL = 4;
+ enum EAI_FAMILY = 5;
+ enum EAI_MEMORY = 6;
+ enum EAI_NONAME = 8;
+ enum EAI_SERVICE = 9;
+ enum EAI_SOCKTYPE = 10;
+ enum EAI_SYSTEM = 11;
+ enum EAI_OVERFLOW = 14;
+}
else version (Solaris)
{
struct hostent
| D |
/Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/TaskDelegate.o : /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/MultipartFormData.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Timeline.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Response.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/TaskDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ParameterEncoding.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Validation.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ResponseSerialization.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/AFError.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Notifications.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Result.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Request.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/sriramprasad/Dev/rough/tableImage/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/TaskDelegate~partial.swiftmodule : /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/MultipartFormData.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Timeline.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Response.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/TaskDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ParameterEncoding.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Validation.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ResponseSerialization.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/AFError.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Notifications.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Result.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Request.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/sriramprasad/Dev/rough/tableImage/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/TaskDelegate~partial.swiftdoc : /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/MultipartFormData.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Timeline.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Response.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/TaskDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ParameterEncoding.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Validation.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ResponseSerialization.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/AFError.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Notifications.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Result.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Request.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/sriramprasad/Dev/rough/tableImage/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
func void GetPositionWorldVec(var int vobPtr, var int vecPtr) {
var zCVob vob; vob = MEM_PtrToInst(vobPtr);
MEM_WriteIntArray(vecPtr, 0, vob.trafoObjToWorld[3]);
MEM_WriteIntArray(vecPtr, 1, vob.trafoObjToWorld[7]);
MEM_WriteIntArray(vecPtr, 2, vob.trafoObjToWorld[11]);
};
func void SetPositionWorldVec(var int vobPtr, var int vecPtr) {
const int zCVob_SetPositionWorld = 6404976; //0x61BB70
CALL_PtrParam(vecPtr);
CALL__thiscall(vobPtr, zCVob_SetPositionWorld);
};
//Wenn manuell an der Position rumgeschmiert wird, werden Bounding Box usw. nicht angepasst.
//Vobs flackern oder haben Fokusnamen an der falschen Stelle etc.
func void VobPositionUpdated(var int vobPtr) {
var int pos[3];
GetPositionWorldVec(vobPtr, _@(pos));
SetPositionWorldVec(vobPtr, _@(pos));
}; | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/TemplateKit.build/Pipeline/TemplateSerializer.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/MySQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentMySQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/TemplateKit.build/Pipeline/TemplateSerializer~partial.swiftmodule : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/MySQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentMySQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/TemplateKit.build/Pipeline/TemplateSerializer~partial.swiftdoc : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/MySQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentMySQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/TemplateKit.build/Pipeline/TemplateSerializer~partial.swiftsourceinfo : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/MySQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentMySQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
/Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/DerivedData/NetflixRoulette/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Notifications.o : /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/MultipartFormData.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Timeline.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Alamofire.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Response.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/TaskDelegate.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/SessionDelegate.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/ParameterEncoding.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Validation.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/ResponseSerialization.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/SessionManager.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/AFError.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Notifications.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Result.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Request.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/DerivedData/NetflixRoulette/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/DerivedData/NetflixRoulette/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Notifications~partial.swiftmodule : /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/MultipartFormData.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Timeline.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Alamofire.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Response.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/TaskDelegate.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/SessionDelegate.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/ParameterEncoding.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Validation.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/ResponseSerialization.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/SessionManager.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/AFError.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Notifications.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Result.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Request.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/DerivedData/NetflixRoulette/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/DerivedData/NetflixRoulette/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Notifications~partial.swiftdoc : /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/MultipartFormData.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Timeline.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Alamofire.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Response.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/TaskDelegate.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/SessionDelegate.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/ParameterEncoding.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Validation.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/ResponseSerialization.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/SessionManager.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/AFError.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Notifications.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Result.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/Request.swift /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/ramzy/Desktop/swift/Netflix_Roulette_Repo_V1_Final/netflix-roulette/DerivedData/NetflixRoulette/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
module ast.typeset;
import ast.base, ast.types, ast.tuples, ast.casting, ast.vardecl, ast.tuple_access, ast.fold, ast.namespace;
class Typeset : Type, RelNamespace {
Tuple tup;
mixin MyThis!("tup"[]);
override {
string llvmType() { return tup.llvmType(); }
string llvmSize() { return tup.llvmSize(); }
int opEquals(IType it) {
auto tys = fastcast!(Typeset) (resolveType(it));
if (!tys) return false;
return tup == tys.tup;
}
string toString() { return Format("<"[], tup.types(), ">"[]); }
string mangle() { return "typeset_over_"~tup.mangle(); }
bool isTempNamespace() { return false; }
Object lookupRel(string name, Expr base, bool isDirectLookup = true) {
auto tup_ex = reinterpret_cast(tup, base);
foreach (i, ty; tup.types) {
if (auto srn = fastcast!(SemiRelNamespace) (ty)) ty = fastcast!(IType) (srn.resolve());
auto rn = fastcast!(RelNamespace) (ty);
if (rn) {
if (auto res = rn.lookupRel(name, mkTupleIndexAccess(tup_ex, i), isDirectLookup))
return res; // TODO: overloading maybe
}
}
return null;
}
}
}
static this() {
// first implicit conversion
// convert any matching expr to a typeset (if requested)
implicits ~= delegate void(Expr ex, IType dest, void delegate(Expr) consider) {
auto tys = fastcast!(Typeset) (dest);
if (!tys) return;
foreach (type; tys.tup.types()) {
auto ex2 = ex;
if (!gotImplicitCast(ex2, type, (IType it) { return !!(type == it); }))
return;
}
consider(tmpize_maybe(ex, (Expr ex) {
Expr[] exprs;
foreach (type; tys.tup.types()) {
auto ex2 = ex;
if (!gotImplicitCast(ex2, type, (IType it) { return !!(type == it); }))
fail; // wat
exprs ~= ex2;
}
return reinterpret_cast(tys, mkTupleExpr(exprs));
}));
};
// typeset casts to component types
implicits ~= delegate void(Expr ex, void delegate(Expr) consider) {
auto tys = fastcast!(Typeset) (ex.valueType());
if (!tys) return;
auto ex_as_tup = reinterpret_cast(tys.tup, ex);
foreach (i, type; tys.tup.types()) {
consider(mkTupleIndexAccess(ex_as_tup, i));
}
};
// tuple of component types casts to typeset (manual creation)
implicits ~= delegate void(Expr ex, IType dest, void delegate(Expr) consider) {
auto tys = fastcast!(Typeset) (dest);
if (!tys) return;
auto tup = fastcast!(Tuple) (resolveType(ex.valueType()));
if (!tup) return;
if (tup != tys.tup) return;
consider(reinterpret_cast(tys, ex));
};
}
Object gotTypeset(ref string text, ParseCb cont, ParseCb rest) {
auto t2 = text;
Expr ex;
Tuple tup;
// if (!rest(t2, "type.tuple"[], &tup))
// t2.failparse("Tuple expected"[]);
IType[] typelist;
if (!t2.accept("<"[])) return null;
while (true) {
if (t2.accept(">"[])) break;
if (typelist.length) if (!t2.accept(","[])) return null;
IType ty;
if (!rest(t2, "type"[], &ty)) {
if (typelist.length) // definitely a typeset wanted
t2.failparse("type expected"[]);
else
return null;
}
typelist ~= ty;
}
tup = mkTuple(typelist);
text = t2;
return fastalloc!(Typeset)(tup);
}
mixin DefaultParser!(gotTypeset, "type.set"[], "61"[]);
| D |
/Users/denny/code/rust/my-redis/target/debug/build/serde-02b24964fc03590f/build_script_build-02b24964fc03590f: /Users/denny/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.126/build.rs
/Users/denny/code/rust/my-redis/target/debug/build/serde-02b24964fc03590f/build_script_build-02b24964fc03590f.d: /Users/denny/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.126/build.rs
/Users/denny/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.126/build.rs:
| D |
; Copyright (C) 2008 The Android Open Source Project
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
.source T_opc_throw_1.java
.class public dot.junit.opcodes.opc_throw.d.T_opc_throw_1
.super java/lang/Object
.method public <init>()V
.limit regs 1
invoke-direct {v0}, java/lang/Object/<init>()V
return-void
.end method
.method public run()V
.limit regs 5
new-instance v1, java/lang/RuntimeException
invoke-direct {v1}, java/lang/RuntimeException/<init>()V
throw v1
.end method
| D |
module drocks.sockhandler;
//import std.stdio;
import std.socket : TcpSocket, InternetAddress, recv;
//import std.socket : recv, SocketFlags;
public import drocks.exception : ClientException;
// Define thread local static buffer
private static char[] _line_buf;
static this() {
_line_buf.reserve(128);
}
class SockHandler
{
private:
TcpSocket _sock;
bool _opened = false;
bool _valid = true;
public:
this(TcpSocket sock)
{
_opened = true;
_sock = sock;
}
this()
{
_opened = false;
_sock = new TcpSocket();
}
bool isValid() const
{
return _opened && _valid && _sock.isAlive();
}
void close()
{
if(_opened && _sock !is null && _sock.isAlive()) {
_sock.close();
_opened = false;
}
}
void connect(InternetAddress addr)
{
_opened = true;
_sock.connect(addr);
}
auto send(string req)
{
return _sock.send(req);
}
// Receives a Header from socket
char[] receiveHeader()
{
_line_buf.length = 0;
// Receive behind "\r\n"
for(auto c = getChar(); isValid() && '\r' != c; c = getChar()) {
_line_buf ~= c;
}
// Receive char '\n'
if(isValid()) {
//_sock.receive(buf);
getChar();
}
return _line_buf;
}
// Receives a line from socket
char[] readLine()
{
_line_buf.length = 0;
// Receive behind '\n'
for(auto c = getChar(); isValid() && '\n' != c; c = getChar()) {
_line_buf ~= c;
}
return _line_buf;
}
// Receives num chars from socket
char[] read(size_t num)
{
_line_buf.length = 0;
_line_buf.reserve(num);
size_t i = 0;
for(auto c = getChar(); i < num && isValid(); ++i, c = getChar()) {
_line_buf ~= c;
}
return _line_buf;
}
// Receives all data from socket
string readAll()
{
_line_buf.length = 0;
string rez = "";
while(isValid()) {
for(auto c = getChar(); isValid(); c = getChar()) {
_line_buf ~= c;
}
rez ~= _line_buf;
}
return rez;
}
char getChar()
{
char[1] buf;
_valid = (_sock.receive(buf) != 0UL);
//_valid = recv(_sock.handle(), buf.ptr, 1, cast(int) SocketFlags.NONE) != 0UL;
if(!_valid) close();
return buf[0];
}
} | D |
/*
* Find the pair of pentagonal numbers, Pj and Pk, for which their sum and difference is pentagonal and D = |Pk - Pj| is minimised; what is the value of D? (Euler 44)
* Copyright 2012 James Otten <james_otten@lavabit.com>
*/
import std.stdio;
import std.array;
import std.math;
long pentagonal(in long n) {
return (n * ((3 * n) - 1)) / 2;
}
bool isPentagonal(in long n) {
return (((sqrt(cast(float)(24 * n + 1)) + 1) / 6) % 1) == 0;
}
unittest {
assert(pentagonal(1) == 1, "pentagonal()");
assert(pentagonal(2) == 5, "pentagonal()");
assert(pentagonal(3) == 12, "pentagonal()");
assert(pentagonal(4) == 22, "pentagonal()");
for(int i = 1; i < 10; i++)
assert(isPentagonal(pentagonal(i)), "isPentagonal()");
}
/*
* On my system, maintaining the array nums is about 4 ms faster than calculating the value each time:
* Intel(R) Core(TM)2 Duo CPU P7550 @ 2.26GHz //I need a new Laptop :/
* DMD64 D Compiler v2.059
* dmd pentagonalNumbers.d -inline -O -release
* real 0m0.066s
* user 0m0.064s
* sys 0m0.001s
*/
void main() {
long[] nums = [1, 5, 12, 22];
long j, k = 1;
bool found;
do {
//Next index to test
k++;
//Grow nums as needed
while(nums[$-1] < (nums[k-1] + nums[k]))
nums ~= pentagonal(nums.length + 1);
//Check k against all
for(j = k - 1; j > 0; j--) {
if(isPentagonal(nums[j] + nums[k]) && isPentagonal(nums[k] - nums[j])) {
found = true;
break;
}
}
} while(!found);
writeln("44: D = |Pk - Pj| = |", nums[k] , " - ", nums[j], "| = ", nums[k] - nums[j]);
}
| D |
/Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Intermediates.noindex/SwiftSocket.build/Debug-iphonesimulator/SwiftSocket\ iOS.build/Objects-normal/x86_64/Result.o : /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/Sources/Socket.swift /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/Sources/Result.swift /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/Sources/TCPClient.swift /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/Sources/UDPClient.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/Sources/SwiftSocket.h /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Intermediates.noindex/SwiftSocket.build/Debug-iphonesimulator/SwiftSocket\ iOS.build/unextended-module.modulemap
/Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Intermediates.noindex/SwiftSocket.build/Debug-iphonesimulator/SwiftSocket\ iOS.build/Objects-normal/x86_64/Result~partial.swiftmodule : /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/Sources/Socket.swift /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/Sources/Result.swift /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/Sources/TCPClient.swift /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/Sources/UDPClient.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/Sources/SwiftSocket.h /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Intermediates.noindex/SwiftSocket.build/Debug-iphonesimulator/SwiftSocket\ iOS.build/unextended-module.modulemap
/Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Intermediates.noindex/SwiftSocket.build/Debug-iphonesimulator/SwiftSocket\ iOS.build/Objects-normal/x86_64/Result~partial.swiftdoc : /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/Sources/Socket.swift /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/Sources/Result.swift /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/Sources/TCPClient.swift /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/Sources/UDPClient.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/MichelleH/Desktop/CAPSTONE/M-Brace/Pods/SwiftSocket-master/Sources/SwiftSocket.h /Users/MichelleH/Desktop/CAPSTONE/M-Brace/DerivedData/M-Brace/Build/Intermediates.noindex/SwiftSocket.build/Debug-iphonesimulator/SwiftSocket\ iOS.build/unextended-module.modulemap
| D |
used in negative statement to describe a situation that has existed up to this point or up to the present time
| D |
/// Generate by tools
module org.restlet.routing.Filter;
import java.lang.exceptions;
public class Filter
{
public this()
{
implMissing();
}
}
| D |
module workspaced.api;
// debug = Tasks;
import standardpaths;
import std.algorithm : all;
import std.array : array;
import std.conv;
import std.file : exists, thisExePath;
import std.path : baseName, chainPath, dirName;
import std.regex : ctRegex, matchFirst;
import std.string : indexOf, indexOfAny, strip;
import std.traits;
public import workspaced.backend;
public import workspaced.future;
debug
{
public import std.experimental.logger : trace;
}
else
{
// dummy
package void trace(Args...)(lazy Args)
{
}
}
///
alias ImportPathProvider = string[] delegate() nothrow;
///
alias IdentifierListProvider = string[] delegate() nothrow;
/// Called when ComponentFactory.create is called and errored (when the .bind call on a component fails)
/// Params:
/// instance = the instance for which the component was attempted to initialize (or null for global component registration)
/// factory = the factory on which the error occured with
/// error = the stacktrace that was catched on the bind call
alias ComponentBindFailCallback = void delegate(WorkspaceD.Instance instance,
ComponentFactory factory, Exception error);
interface IMessageHandler
{
void warn(WorkspaceD.Instance instance, string component, int id, string message, string details = null);
void error(WorkspaceD.Instance instance, string component, int id, string message, string details = null);
void handleCrash(WorkspaceD.Instance instance, string component, ComponentWrapper componentInstance);
}
/// UDA; will never try to call this function from rpc
enum ignoredFunc;
/// UDA: on components, all instance-related get methods will static assert(false)
enum globalOnly;
/// ditto
enum isGlobalOnly(T) = hasUDA!(T, globalOnly);
/// UDA: on components, all instance-related get methods will static assert(false)
enum instancedOnly;
/// ditto
enum isInstanceOnly(T) = hasUDA!(T, instancedOnly);
/// Component call
struct ComponentInfoParams
{
/// Name of the component
string name;
}
ComponentInfoParams component(string name)
{
return ComponentInfoParams(name);
}
struct ComponentInfo
{
ComponentInfoParams params;
TypeInfo type;
alias params this;
}
void traceTaskLog(lazy string msg)
{
import std.stdio : stderr;
debug (Tasks)
stderr.writeln(msg);
}
static immutable traceTask = `traceTaskLog("new task in " ~ __PRETTY_FUNCTION__); scope (exit) traceTaskLog(__PRETTY_FUNCTION__ ~ " exited");`;
mixin template DefaultGlobalComponentWrapper(bool withDtor = true)
{
@ignoredFunc
{
import std.algorithm : min, max;
import std.parallelism : TaskPool, Task, task, defaultPoolThreads;
WorkspaceD workspaced;
TaskPool _threads;
static if (withDtor)
{
~this()
{
shutdown(true);
}
}
TaskPool gthreads()
{
return workspaced.gthreads;
}
TaskPool threads(int minSize, int maxSize)
{
if (!_threads)
synchronized (this)
if (!_threads)
{
_threads = new TaskPool(max(minSize, min(maxSize, defaultPoolThreads)));
_threads.isDaemon = true;
}
return _threads;
}
bool has(T)()
{
static if (__traits(hasMember, typeof(this), "refInstance"))
if (refInstance)
return refInstance.has!T;
static if (!isInstanceOnly!T)
if (workspaced)
return workspaced.has!T;
assert(false, "Unbound component trying to check for component " ~ T.stringof ~ ".");
}
T get(T)()
{
static if (__traits(hasMember, typeof(this).init, "refInstance"))
if (refInstance)
return refInstance.get!T;
static if (!isInstanceOnly!T)
if (workspaced)
return workspaced.get!T;
assert(false, "Unbound component trying to get component " ~ T.stringof ~ ".");
}
override void shutdown(bool dtor = false)
{
if (!dtor && _threads)
_threads.finish();
}
override void bind(WorkspaceD workspaced, WorkspaceD.Instance instance)
{
this.workspaced = workspaced;
static if (__traits(hasMember, typeof(this).init, "refInstance"))
this.instance = instance;
static if (__traits(hasMember, typeof(this).init, "load"))
load();
}
}
}
mixin template DefaultComponentWrapper(bool withDtor = true)
{
mixin DefaultGlobalComponentWrapper!withDtor;
static assert(!isGlobalOnly!(typeof(this)),
"Attempted to use `DefaultComponentWrapper` with an @globalOnly component, "
~ "use `DefaultGlobalComponentWrapper` instead!");
@ignoredFunc
{
WorkspaceD.Instance refInstance;
inout(WorkspaceD.Instance) instance() inout @property
{
if (refInstance)
return refInstance;
else
throw new Exception("Attempted to access instance in a global context");
}
WorkspaceD.Instance instance(WorkspaceD.Instance instance) @property
{
return refInstance = instance;
}
string[] importPaths() const @property
{
return instance.importPathProvider ? instance.importPathProvider() : [];
}
string[] stringImportPaths() const @property
{
return instance.stringImportPathProvider ? instance.stringImportPathProvider() : [];
}
string[] importFiles() const @property
{
return instance.importFilesProvider ? instance.importFilesProvider() : [];
}
/// Lists the project defined version identifiers, if provided by any identifier
string[] projectVersions() const @property
{
return instance.projectVersionsProvider ? instance.projectVersionsProvider() : [];
}
/// Lists the project defined debug specification identifiers, if provided by any provider
string[] debugSpecifications() const @property
{
return instance.debugSpecificationsProvider ? instance.debugSpecificationsProvider() : [];
}
ref inout(ImportPathProvider) importPathProvider() @property inout
{
return instance.importPathProvider;
}
ref inout(ImportPathProvider) stringImportPathProvider() @property inout
{
return instance.stringImportPathProvider;
}
ref inout(ImportPathProvider) importFilesProvider() @property inout
{
return instance.importFilesProvider;
}
ref inout(IdentifierListProvider) projectVersionsProvider() @property inout
{
return instance.projectVersionsProvider;
}
ref inout(IdentifierListProvider) debugSpecificationsProvider() @property inout
{
return instance.debugSpecificationsProvider;
}
ref inout(Configuration) config() @property inout
{
if (refInstance)
return refInstance.config;
else if (workspaced)
return workspaced.globalConfiguration;
else
assert(false, "Unbound component trying to access config.");
}
string cwd() @property const
{
return instance.cwd;
}
}
}
interface ComponentWrapper
{
void bind(WorkspaceD workspaced, WorkspaceD.Instance instance);
void shutdown(bool dtor = false);
}
interface ComponentFactory
{
ComponentWrapper create(WorkspaceD workspaced, WorkspaceD.Instance instance, out Exception error) nothrow;
ComponentInfo info() @property const nothrow;
}
struct ComponentFactoryInstance
{
ComponentFactory factory;
bool autoRegister;
alias factory this;
}
struct ComponentWrapperInstance
{
ComponentWrapper wrapper;
ComponentInfo info;
}
class DefaultComponentFactory(T : ComponentWrapper) : ComponentFactory
{
ComponentWrapper create(WorkspaceD workspaced, WorkspaceD.Instance instance, out Exception error) nothrow
{
auto wrapper = new T();
try
{
wrapper.bind(workspaced, instance);
return wrapper;
}
catch (Exception e)
{
import std.algorithm : canFind;
error = e;
try
{
if (!e.msg.canFind("requires to be instanced"))
trace("Failed to create " ~ T.stringof ~ " on instance ", instance, ": ", e);
}
catch (Exception)
{
}
return null;
}
}
ComponentInfo info() @property const nothrow
{
alias udas = getUDAs!(T, ComponentInfoParams);
static assert(udas.length == 1, "Can't construct default component factory for "
~ T.stringof ~ ", expected exactly 1 ComponentInfoParams instance attached to the type");
return ComponentInfo(udas[0], typeid(T));
}
}
/// Describes what to insert/replace/delete to do something
struct CodeReplacement
{
/// Range what to replace. If both indices are the same its inserting.
size_t[2] range;
/// Content to replace it with. Empty means remove.
string content;
/// Applies this edit to a string.
string apply(string code)
{
size_t min = range[0];
size_t max = range[1];
if (min > max)
{
min = range[1];
max = range[0];
}
if (min >= code.length)
return code ~ content;
if (max >= code.length)
return code[0 .. min] ~ content;
return code[0 .. min] ~ content ~ code[max .. $];
}
}
/// Code replacements mapped to a file
struct FileChanges
{
/// File path to change.
string file;
/// Replacements to apply.
CodeReplacement[] replacements;
}
package bool getConfigPath(string file, ref string retPath)
{
foreach (dir; standardPaths(StandardPath.config, "workspace-d"))
{
auto path = chainPath(dir, file);
if (path.exists)
{
retPath = path.array;
return true;
}
}
return false;
}
enum verRegex = ctRegex!`(\d+)\.(\d+)\.(\d+)`;
bool checkVersion(string ver, int[3] target)
{
auto match = ver.matchFirst(verRegex);
if (!match)
return false;
const major = match[1].to!int;
const minor = match[2].to!int;
const patch = match[3].to!int;
return checkVersion([major, minor, patch], target);
}
bool checkVersion(int[3] ver, int[3] target)
{
if (ver[0] > target[0])
return true;
if (ver[0] == target[0] && ver[1] > target[1])
return true;
if (ver[0] == target[0] && ver[1] == target[1] && ver[2] >= target[2])
return true;
return false;
}
package string getVersionAndFixPath(ref string execPath)
{
import std.process;
try
{
return execute([execPath, "--version"]).output.strip.orDubFetchFallback(execPath);
}
catch (ProcessException e)
{
auto newPath = chainPath(thisExePath.dirName, execPath.baseName);
if (exists(newPath))
{
execPath = newPath.array;
return execute([execPath, "--version"]).output.strip.orDubFetchFallback(execPath);
}
throw new Exception("Failed running program ['"
~ execPath ~ "' '--version'] and no alternative existed in '"
~ newPath.array.idup ~ "'.", e);
}
}
/// Set for some reason when compiling with `dub fetch` / `dub run` or sometimes
/// on self compilation.
/// Known strings: vbin, vdcd, vDCD
package bool isLocallyCompiledDCD(string v)
{
import std.uni : sicmp;
return sicmp(v, "vbin") == 0 || sicmp(v, "vdcd") == 0;
}
/// returns the version that is given or the version extracted from dub path if path is a dub path
package string orDubFetchFallback(string v, string path)
{
if (v.isLocallyCompiledDCD)
{
auto dub = path.indexOf(`dub/packages`);
if (dub == -1)
dub = path.indexOf(`dub\packages`);
if (dub != -1)
{
dub += `dub/packages/`.length;
auto end = path.indexOfAny(`\/`, dub);
if (end != -1)
{
path = path[dub .. end];
auto semver = extractPathSemver(path);
if (semver.length)
return semver;
}
}
}
return v;
}
unittest
{
assert("vbin".orDubFetchFallback(`/path/to/home/.dub/packages/dcd-0.13.1/dcd/bin/dcd-server`) == "0.13.1");
assert("vbin".orDubFetchFallback(`/path/to/home/.dub/packages/dcd-0.13.1-beta.4/dcd/bin/dcd-server`) == "0.13.1-beta.4");
assert("vbin".orDubFetchFallback(`C:\path\to\appdata\dub\packages\dcd-0.13.1\dcd\bin\dcd-server`) == "0.13.1");
assert("vbin".orDubFetchFallback(`C:\path\to\appdata\dub\packages\dcd-0.13.1-beta.4\dcd\bin\dcd-server`) == "0.13.1-beta.4");
assert("vbin".orDubFetchFallback(`C:\path\to\appdata\dub\packages\dcd-master\dcd\bin\dcd-server`) == "vbin");
}
/// searches for a semver in the given string starting after a - character,
/// returns everything until the end.
package string extractPathSemver(string s)
{
import std.ascii;
foreach (start; 0 .. s.length)
{
// states:
// -1 = error
// 0 = expect -
// 1 = expect major
// 2 = expect major or .
// 3 = expect minor
// 4 = expect minor or .
// 5 = expect patch
// 6 = expect patch or - or + (valid)
// 7 = skip (valid)
int state = 0;
foreach (i; start .. s.length)
{
auto c = s[i];
switch (state)
{
case 0:
if (c == '-')
state++;
else
state = -1;
break;
case 1:
case 3:
case 5:
if (c.isDigit)
state++;
else
state = -1;
break;
case 2:
case 4:
if (c == '.')
state++;
else if (!c.isDigit)
state = -1;
break;
case 6:
if (c == '+' || c == '-')
state = 7;
else if (!c.isDigit)
state = -1;
break;
default:
break;
}
if (state == -1)
break;
}
if (state >= 6)
return s[start + 1 .. $];
}
return null;
}
unittest
{
assert(extractPathSemver("foo-v1.0.0") is null);
assert(extractPathSemver("foo-1.0.0") == "1.0.0");
assert(extractPathSemver("foo-1.0.0-alpha.1-x") == "1.0.0-alpha.1-x");
assert(extractPathSemver("foo-1.0.x") is null);
assert(extractPathSemver("foo-x.0.0") is null);
assert(extractPathSemver("foo-1.x.0") is null);
assert(extractPathSemver("foo-1x.0.0") is null);
assert(extractPathSemver("foo-1.0x.0") is null);
assert(extractPathSemver("foo-1.0.0x") is null);
assert(extractPathSemver("-1.0.0") == "1.0.0");
}
version (unittest)
package string normLF(scope return string str)
{
import std.string : replace;
return str
.replace("\r\n", "\n")
.replace("\r", "\n");
} | D |
the quality of having a superior or more favorable position
(tennis) first point scored after deuce
benefit resulting from some event or action
give an advantage to
| D |
/Users/susana/Documents/Git/TrackerGPS/TrackerGPS/build/Pods.build/Debug-iphonesimulator/Eureka.build/Objects-normal/x86_64/RuleRegExp.o : /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleURL.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleRequired.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleRange.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/CellType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/RowControllerType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/RowType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/SelectableRowType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/InlineRowType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/PresenterRowType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Core.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleClosure.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleLength.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleEmail.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Cell.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Form.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Validation.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Section.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/SelectableSection.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleRegExp.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Controllers/SelectorAlertController.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Controllers/SelectorViewController.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Controllers/MultipleSelectorViewController.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/DecimalFormatter.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/Protocols.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/RowProtocols.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/SwipeActions.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Helpers.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Operators.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/ButtonRowWithPresent.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/HeaderFooterView.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/NavigationAccessoryView.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Row.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/TextAreaRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/SegmentedRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/FieldRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/DateInlineFieldRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/DateFieldRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/DateInlineRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/PickerInlineRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/BaseRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/DateRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/SwitchRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/PushRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/CheckRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/SelectableRows/ListCheckRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/LabelRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/ButtonRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleEqualsToRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/SliderRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/PickerRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/DatePickerRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/StepperRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/SelectorRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/MultipleSelectorRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/GenericMultipleSelectorRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/PopoverSelectorRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/FieldsRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/OptionsRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/AlertOptionsRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/ActionSheetRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/AlertRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/PickerInputRow.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Target\ Support\ Files/Eureka/Eureka-umbrella.h /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/build/Pods.build/Debug-iphonesimulator/Eureka.build/unextended-module.modulemap
/Users/susana/Documents/Git/TrackerGPS/TrackerGPS/build/Pods.build/Debug-iphonesimulator/Eureka.build/Objects-normal/x86_64/RuleRegExp~partial.swiftmodule : /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleURL.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleRequired.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleRange.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/CellType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/RowControllerType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/RowType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/SelectableRowType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/InlineRowType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/PresenterRowType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Core.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleClosure.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleLength.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleEmail.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Cell.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Form.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Validation.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Section.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/SelectableSection.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleRegExp.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Controllers/SelectorAlertController.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Controllers/SelectorViewController.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Controllers/MultipleSelectorViewController.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/DecimalFormatter.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/Protocols.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/RowProtocols.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/SwipeActions.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Helpers.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Operators.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/ButtonRowWithPresent.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/HeaderFooterView.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/NavigationAccessoryView.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Row.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/TextAreaRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/SegmentedRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/FieldRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/DateInlineFieldRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/DateFieldRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/DateInlineRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/PickerInlineRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/BaseRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/DateRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/SwitchRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/PushRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/CheckRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/SelectableRows/ListCheckRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/LabelRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/ButtonRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleEqualsToRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/SliderRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/PickerRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/DatePickerRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/StepperRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/SelectorRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/MultipleSelectorRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/GenericMultipleSelectorRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/PopoverSelectorRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/FieldsRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/OptionsRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/AlertOptionsRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/ActionSheetRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/AlertRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/PickerInputRow.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Target\ Support\ Files/Eureka/Eureka-umbrella.h /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/build/Pods.build/Debug-iphonesimulator/Eureka.build/unextended-module.modulemap
/Users/susana/Documents/Git/TrackerGPS/TrackerGPS/build/Pods.build/Debug-iphonesimulator/Eureka.build/Objects-normal/x86_64/RuleRegExp~partial.swiftdoc : /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleURL.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleRequired.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleRange.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/CellType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/RowControllerType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/RowType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/SelectableRowType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/InlineRowType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/PresenterRowType.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Core.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleClosure.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleLength.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleEmail.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Cell.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Form.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Validation.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Section.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/SelectableSection.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleRegExp.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Controllers/SelectorAlertController.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Controllers/SelectorViewController.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Controllers/MultipleSelectorViewController.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/DecimalFormatter.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/Protocols.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/RowProtocols.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/SwipeActions.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Helpers.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Operators.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/ButtonRowWithPresent.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/HeaderFooterView.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/NavigationAccessoryView.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/Row.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/TextAreaRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/SegmentedRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/FieldRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/DateInlineFieldRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/DateFieldRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/DateInlineRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/PickerInlineRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Core/BaseRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/DateRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/SwitchRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/PushRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/CheckRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/SelectableRows/ListCheckRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/LabelRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/ButtonRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleEqualsToRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/SliderRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/PickerRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/DatePickerRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/StepperRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/SelectorRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/MultipleSelectorRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/GenericMultipleSelectorRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/PopoverSelectorRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/FieldsRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/OptionsRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/Common/AlertOptionsRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/ActionSheetRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/AlertRow.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Rows/PickerInputRow.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Target\ Support\ Files/Eureka/Eureka-umbrella.h /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/build/Pods.build/Debug-iphonesimulator/Eureka.build/unextended-module.modulemap
| D |
var int Tod_Once;
var int Perle_Once;
// ***************************************************
// B_ENTER_ADDONWORLD
// ***************************************************
// B_ENTER_ADDONWORLD_Kapitel_1
//****************************************************
FUNC VOID B_ENTER_ADDONWORLD_Kapitel_1 ()
{
// ------ Gilden-Attitüden ändern ------
if (RavenIsDead == TRUE)
{
B_RemoveNpc (KDW_14030_Addon_Myxir_ADW);
};
// ------ Immortal-Flags löschen ------
// ------ TAs ändern ------
if (Sklaven_weg == TRUE)
&& (RemoveSklaven == FALSE)
{
B_RemoveNpc (STRF_1118_Addon_Patrick);
B_RemoveNpc (STRF_1119_Addon_Monty);
B_RemoveNpc (STRF_1120_Addon_Tonak);
B_RemoveNpc (STRF_1121_Addon_Telbor);
B_RemoveNpc (STRF_1122_Addon_Pardos);
RemoveSklaven = TRUE;
};
// ------ Respawn ------
};
// B_ENTER_ADDONWORLD_Kapitel_2
//****************************************************
var int EnterADW_Kapitel2;
FUNC VOID B_ENTER_ADDONWORLD_Kapitel_2 ()
{
if (EnterADW_Kapitel2 == FALSE)
{
// ------ Gilden-Attitüden ändern ------
// ------ Immortal-Flags löschen ------
// ------ TAs ändern ------
// ------ Respawn ------
EnterADW_Kapitel2 = TRUE;
};
};
// B_ENTER_ADDONWORLD_Kapitel_3
//****************************************************
var int EnterADW_Kapitel3;
FUNC VOID B_ENTER_ADDONWORLD_Kapitel_3 ()
{
if (EnterADW_Kapitel3 == FALSE)
{
// ------ Gilden-Attitüden ändern ------
// ------ Immortal-Flags löschen ------
// ------ TAs ändern ------
// ------ Respawn ------
EnterADW_Kapitel3 = TRUE;
};
};
// B_ENTER_ADDONWORLD_Kapitel_4
//****************************************************
var int EnterADW_Kapitel4;
FUNC VOID B_ENTER_ADDONWORLD_Kapitel_4 ()
{
if (EnterADW_Kapitel4 == FALSE)
{
// ------ Gilden-Attitüden ändern ------
// ------ Immortal-Flags löschen ------
// ------ TAs ändern ------
// ------ Respawn ------
Wld_InsertNpc (Giant_DesertRat, "ADW_CANYON_TELEPORT_PATH_03");
Wld_InsertNpc (Giant_DesertRat, "ADW_CANYON_TELEPORT_PATH_03");
Wld_InsertNpc (Giant_DesertRat, "ADW_CANYON_TELEPORT_PATH_04");
Wld_InsertNpc (DragonSnapper, "ADW_CANYON_PATH_TO_LIBRARY_36");
Wld_InsertNpc (DragonSnapper, "ADW_CANYON_PATH_TO_LIBRARY_36");
Wld_InsertNpc (DragonSnapper, "ADW_CANYON_PATH_TO_BANDITS_31");
Wld_InsertNpc (DragonSnapper, "ADW_CANYON_PATH_TO_MINE2_04");
Wld_InsertNpc (DragonSnapper, "ADW_CANYON_PATH_TO_MINE2_04");
Wld_InsertNpc (Troll, "ADW_CANYON_ORCS_02");
Wld_InsertNpc (Troll, "ADW_CANYON_PATH_TO_MINE2_09");
Wld_InsertNpc (DragonSnapper, "ADW_CANYON_PATH_TO_MINE2_06");
Wld_InsertNpc (MinecrawlerWarrior, "ADW_CANYON_PATH_TO_BANDITS_26");
Wld_InsertNpc (MinecrawlerWarrior, "ADW_CANYON_PATH_TO_BANDITS_24");
Wld_InsertNpc (MinecrawlerWarrior, "ADW_CANYON_PATH_TO_BANDITS_66");
Wld_InsertNpc (Skeletonmage, "ADW_CANYON_LIBRARY_STONIE_01");
Wld_InsertNpc (Skeleton, "ADW_CANYON_LIBRARY_STONIE_02");
Wld_InsertNpc (Skeleton, "ADW_CANYON_LIBRARY_STONIE_03");
Wld_InsertNpc (Skeleton, "ADW_CANYON_LIBRARY_STONIE_04");
Wld_InsertNpc (Skeleton, "ADW_CANYON_LIBRARY_STONIE_05");
Wld_InsertNpc (FireWaran ,"ADW_ENTRANCE_2_VALLEY_05");
Wld_InsertNpc (Waran ,"ADW_ENTRANCE_2_VALLEY_11");
Wld_InsertNpc (DragonSnapper ,"ADW_ENTRANCE_PATH2BANDITS_10");
Wld_InsertNpc (DragonSnapper ,"ADW_ENTRANCE_BEHINDAKROPOLIS_04");
Wld_InsertNpc (DragonSnapper ,"ADW_ENTRANCE_BEHINDAKROPOLIS_04");
Wld_InsertNpc (Swamprat ,"ADW_ENTRANCE_PATH2BANDITS_03");
Wld_InsertNpc (Skeletonmage ,"ADW_PORTALTEMPEL_08B");
Wld_InsertNpc (Skeleton ,"ADW_PORTALTEMPEL_08A");
Wld_InsertNpc (DragonSnapper ,"ADW_ENTRANCE_2_PIRATECAMP_22");
Wld_InsertNpc (Swampshark,"ADW_SWAMP_SHARKSTREET_02");
Wld_InsertNpc (Swampshark,"ADW_SWAMP_SHARKSTREET_07");
Wld_InsertNpc (Swampshark,"ADW_SWAMP_SHARKSTREET_09");
Wld_InsertNpc (Swampshark,"ADW_SWAMP_SHARKSTREET_10");
Wld_InsertNpc (Swampgolem,"ADW_SWAMP_LITTLE_SEA_01");
Wld_InsertNpc (Bloodfly,"ADW_SWAMP_LITTLE_SEA_01");
Wld_InsertNpc (Swampgolem,"ADW_SWAMP_LITTLE_SEA_02");
Wld_InsertNpc (Bloodfly,"ADW_SWAMP_LITTLE_SEA_02");
Wld_InsertNpc (Swampgolem,"ADW_SWAMP_LITTLE_SEA_03");
Wld_InsertNpc (Bloodfly,"ADW_SWAMP_LITTLE_SEA_03");
Wld_InsertNpc (MAYAZOMBIE01,"ADW_PFUETZE_01");
Wld_InsertNpc (MAYAZOMBIE02,"ADW_PFUETZE_02");
Wld_InsertNpc (MAYAZOMBIE03,"ADW_PFUETZE_03");
Wld_InsertNpc (MAYAZOMBIE04,"ADW_PFUETZE_04");
Wld_InsertNpc (MAYAZOMBIE04,"ADW_BANDIT_VP1_07_D");
Wld_InsertNpc (MAYAZOMBIE01,"ADW_BANDIT_VP1_07_E");
Wld_InsertNpc (MAYAZOMBIE02,"ADW_BANDIT_VP1_07_F");
Wld_InsertNpc (MAYAZOMBIE03,"ADW_SWAMP_LITTLE_SEA_03_B");
Wld_InsertNpc (MAYAZOMBIE04,"ADW_SWAMP_09_C");
Wld_InsertNpc (Swampgolem,"ADW_SWAMP_10");
Wld_InsertNpc (Swampgolem,"ADW_SWAMP_13");
Wld_InsertNpc (Swampgolem,"ADW_SWAMP_14");
Wld_InsertNpc (Swampshark,"ADW_SWAMP_HOHLWEG_03");
Wld_InsertNpc (Swampshark,"ADW_SWAMP_HOHLWEG_04");
Wld_InsertNpc (Skeleton,"ADW_SENAT_SIDE_01");
Wld_InsertNpc (Skeleton,"ADW_SENAT_SIDE_02");
Wld_InsertNpc (MAYAZOMBIE04,"ADW_SENAT_SIDE_03");
Wld_InsertNpc (Skeleton,"ADW_SENAT_GUARDIAN_01");
Wld_InsertNpc (MAYAZOMBIE01,"ADW_SENAT_GUARDIAN_02");
Wld_InsertNpc (Swampdrone,"ADW_SWAMP_HILLS_DOWN_03");
Wld_InsertNpc (Swampdrone,"ADW_SWAMP_15");
Wld_InsertNpc (Swamprat,"ADW_HOHLWEG_CENTER");
Wld_InsertNpc (Swampgolem,"FP_ROAM_BF_NEST_26");
Wld_InsertNpc (Swamprat,"ADW_BANDITSCAMP_RAKEPLACE_03");
Wld_InsertNpc (Swampdrone,"ADW_CANYON_PATH_TO_BANDITS_02");
Wld_InsertNpc (Swampdrone,"ADW_PFUETZE_02");
Wld_InsertNpc (Swampdrone,"ADW_SWAMP_LOCH_05");
Wld_InsertNpc (Swampdrone,"ADW_SWAMP_LOCH_06");
Wld_InsertNpc (Demon,"ADW_PIRATECAMP_LONEBEACH_CAVE_03");
Wld_InsertNpc (Firewaran,"ADW_PIRATECAMP_LONEBEACH_05");
Wld_InsertNpc (Lurker,"ADW_PIRATECAMP_WATERHOLE_04");
Wld_InsertNpc (Gobbo_Warrior_Visir,"ADW_VALLEY_BIGCAVE_06");
Wld_InsertNpc (Gobbo_Warrior,"ADW_VALLEY_BIGCAVE_06");
Wld_InsertNpc (DragonSnapper,"ADW_VALLEY_BIGCAVE_15");
Wld_InsertNpc (DragonSnapper,"ADW_VALLEY_PATH_110");
Wld_InsertNpc (DragonSnapper,"ADW_VALLEY_PATH_110");
Wld_InsertNpc (Warg,"ADW_ENTRANCE_2_PIRATECAMP_13");
Wld_InsertNpc (Warg,"ADW_ENTRANCE_2_PIRATECAMP_13");
Wld_InsertNpc (Gobbo_Warrior_Visir,"ADW_ENTRANCE_2_PIRATECAMP_13");
Wld_InsertNpc (Gobbo_Warrior,"ADW_ENTRANCE_2_PIRATECAMP_13");
Wld_InsertNpc (Gobbo_Warrior_Visir,"ADW_ENTRANCE_2_PIRATECAMP_13");
Wld_InsertNpc (Gobbo_Warrior,"ADW_ENTRANCE_2_PIRATECAMP_13");
Wld_InsertNpc (Gobbo_Warrior_Visir,"ADW_ENTRANCE_2_VALLEY_10");
Wld_InsertNpc (Gobbo_Warrior,"ADW_ENTRANCE_2_VALLEY_10");
Wld_InsertNpc (Gobbo_Warrior,"ADW_ENTRANCE_2_VALLEY_10");
Wld_InsertNpc (Gobbo_Warrior,"ADW_ENTRANCE_2_VALLEY_10");
Wld_InsertNpc (Gobbo_Warrior,"ADW_ENTRANCE_2_VALLEY_02A");
Wld_InsertNpc (Gobbo_Warrior,"ADW_ENTRANCE_2_VALLEY_02A");
Wld_InsertNpc (DragonSnapper,"ADW_VALLEY_PATH_020");
Wld_InsertNpc (DragonSnapper,"ADW_VALLEY_BIGCAVE_01");
Wld_InsertNpc (DragonSnapper,"ADW_VALLEY_PATH_048_A");
Wld_InsertNpc (DragonSnapper,"ADW_VALLEY_PATH_047_D");
Wld_InsertNpc (DragonSnapper,"ADW_VALLEY_PATH_047_D");
Wld_InsertNpc (Scavenger_Demon,"ADW_VALLEY_PATH_047_G");
Wld_InsertNpc (Scavenger_Demon,"ADW_VALLEY_PATH_047_G");
Wld_InsertNpc (Scavenger_Demon,"ADW_VALLEY_PATH_038_E");
Wld_InsertNpc (Scavenger_Demon,"ADW_VALLEY_PATH_038_E");
Wld_InsertNpc (Scavenger_Demon,"ADW_VALLEY_PATH_038_J");
Wld_InsertNpc (Skeletonmage,"ADW_VALLEY_PATH_131");
Wld_InsertNpc (Skeletonmage,"ADW_VALLEY_PATH_132_A");
Wld_InsertNpc (Skeleton,"ADW_VALLEY_PATH_132_A");
Wld_InsertNpc (Skeleton,"ADW_VALLEY_PATH_134");
Wld_InsertNpc (Skeleton,"ADW_VALLEY_PATH_134");
Wld_InsertNpc (Skeleton,"ADW_VALLEY_PATH_135");
Wld_InsertNpc (Shadowbeast_Addon_Fire,"ADW_VALLEY_PATH_072");
Wld_InsertNpc (Skeleton,"ADW_VALLEY_PATH_072");
Wld_InsertNpc (Skeleton,"ADW_VALLEY_PATH_073");
Wld_InsertNpc (Shadowbeast_Addon_Fire,"ADW_VALLEY_PATH_072");
Wld_InsertNpc (Skeleton,"ADW_VALLEY_PATH_073");
Wld_InsertNpc (Skeleton,"ADW_VALLEY_PATH_073");
Wld_InsertNpc (DragonSnapper,"ADW_CANYON_PATH_TO_MINE1_05");
Wld_InsertNpc (DragonSnapper,"ADW_CANYON_PATH_TO_MINE1_05");
Wld_InsertNpc (DragonSnapper, "ADW_CANYON_MINE1_01");
Wld_InsertNpc (DragonSnapper, "ADW_CANYON_MINE1_01");
Wld_InsertNpc (DragonSnapper, "ADW_CANYON_MINE1_01");
Wld_InsertNpc (DragonSnapper, "ADW_CANYON_PATH_TO_LIBRARY_31A");
Wld_InsertNpc (DragonSnapper, "ADW_CANYON_PATH_TO_LIBRARY_31A");
Wld_InsertNpc (Firewaran, "ADW_CANYON_PATH_TO_BANDITS_55");
Wld_InsertNpc (Firewaran, "ADW_CANYON_PATH_TO_BANDITS_55");
Wld_InsertNpc (orcbiter, "ADW_CANYON_PATH_TO_BANDITS_52");
Wld_InsertNpc (orcbiter, "ADW_CANYON_PATH_TO_BANDITS_52");
Wld_InsertNpc (Troll, "ADW_CANYON_PATH_TO_LIBRARY_17");
Wld_InsertNpc (Troll, "ADW_CANYON_PATH_TO_LIBRARY_16A");
Wld_InsertNpc (orcbiter, "ADW_CANYON_ORCS_09");
Wld_InsertNpc (orcbiter, "ADW_CANYON_ORCS_09");
Wld_InsertNpc (Firewaran, "ADW_CANYON_PATH_TO_LIBRARY_07A");
Wld_InsertNpc (Firewaran, "ADW_CANYON_PATH_TO_LIBRARY_07A");
Wld_InsertNpc (Blattcrawler, "ADW_CANYON_TELEPORT_PATH_09");
Wld_InsertNpc (Blattcrawler, "ADW_CANYON_TELEPORT_PATH_09");
Wld_InsertNpc (Blattcrawler, "ADW_CANYON_TELEPORT_PATH_09");
Wld_InsertNpc (DragonSnapper ,"ADW_ENTRANCE_PATH2BANDITS_05P");
Wld_InsertNpc (DragonSnapper ,"ADW_ENTRANCE_PATH2BANDITS_05P");
Wld_InsertNpc (Swampgolem ,"ADW_ENTRANCE_PATH2BANDITS_05");
Wld_InsertNpc (Troll ,"ADW_CANYON_PATH_TO_BANDITS_20");
Wld_InsertNpc (MinecrawlerWarrior, "ADW_CANYON_PATH_TO_BANDITS_21");
Wld_InsertNpc (MinecrawlerWarrior, "ADW_CANYON_PATH_TO_BANDITS_17");
Wld_InsertNpc (MinecrawlerWarrior, "ADW_CANYON_PATH_TO_BANDITS_14");
Wld_InsertNpc (MinecrawlerWarrior, "ADW_CANYON_PATH_TO_BANDITS_62");
Wld_InsertNpc (MinecrawlerWarrior, "ADW_CANYON_PATH_TO_BANDITS_19");
EnterADW_Kapitel4 = TRUE;
};
};
// B_ENTER_ADDONWORLD_Kapitel_5
//****************************************************
var int EnterADW_Kapitel5;
FUNC VOID B_ENTER_ADDONWORLD_Kapitel_5 ()
{
if (EnterADW_Kapitel5 == FALSE)
{
// ------ Gilden-Attitüden ändern ------
// ------ Immortal-Flags löschen ------
// ------ TAs ändern ------
// ------ Respawn ------
EnterADW_Kapitel5 = TRUE;
};
if (Tod_Once == TRUE)
{
Wld_InsertNpc (Bad_9009_Tod, "ADDON_GOLDMINE");
Tod_Once = FALSE;
};
if (Perle_Once == TRUE)
{
Wld_InsertItem(ItMi_Wasserperle, "ADW_GRUFT_07");
Perle_Once = FALSE;
};
};
//****************************************************
// B_ENTER_ADDONWORLD_Kapitel_6
//****************************************************
var int EnterADW_Kapitel6;
FUNC VOID B_ENTER_ADDONWORLD_Kapitel_6 ()
{
if (EnterADW_Kapitel6 == FALSE)
{
// ------ Gilden-Attitüden ändern ------
// ------ Immortal-Flags löschen ------
// ------ TAs ändern ------
// ------ Respawn ------
EnterADW_Kapitel6 = TRUE;
};
};
// ******************************************************************************************************************************************************************
// B_ENTER_ADDONWORLD (wird über INIT_ADDONWORLD)
// ******************************************************************************************************************************************************************
FUNC VOID B_ENTER_ADDONWORLD ()
{
B_InitNpcGlobals ();
CurrentLevel = ADDONWORLD_ZEN;
if (Kapitel >= 1) {B_ENTER_ADDONWORLD_Kapitel_1 (); };
if (Kapitel >= 2) {B_ENTER_ADDONWORLD_Kapitel_2 (); };
if (Kapitel >= 3) {B_ENTER_ADDONWORLD_Kapitel_3 (); };
if (Kapitel >= 4) {B_ENTER_ADDONWORLD_Kapitel_4 (); };
if (Kapitel >= 5) {B_ENTER_ADDONWORLD_Kapitel_5 (); };
if (Kapitel >= 6) {B_ENTER_ADDONWORLD_Kapitel_6 (); };
B_InitNpcGlobals ();
};
| D |
/Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/Build/Intermediates.noindex/Previews/DYPopoverViewExample/Intermediates.noindex/DYPopoverViewExample.build/Debug-iphonesimulator/DYPopoverViewExample.build/Objects-normal/x86_64/AppDelegate.o : /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/ContentExample.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/SceneDelegate.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/AppDelegate.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/Buttons.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/ContentView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/DeveloperToolsSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/Build/Intermediates.noindex/Previews/DYPopoverViewExample/Products/Debug-iphonesimulator/DYPopoverView.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/Build/Intermediates.noindex/Previews/DYPopoverViewExample/Intermediates.noindex/DYPopoverViewExample.build/Debug-iphonesimulator/DYPopoverViewExample.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule : /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/ContentExample.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/SceneDelegate.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/AppDelegate.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/Buttons.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/ContentView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/DeveloperToolsSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/Build/Intermediates.noindex/Previews/DYPopoverViewExample/Products/Debug-iphonesimulator/DYPopoverView.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/Build/Intermediates.noindex/Previews/DYPopoverViewExample/Intermediates.noindex/DYPopoverViewExample.build/Debug-iphonesimulator/DYPopoverViewExample.build/Objects-normal/x86_64/AppDelegate~partial.swiftdoc : /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/ContentExample.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/SceneDelegate.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/AppDelegate.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/Buttons.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/ContentView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/DeveloperToolsSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/Build/Intermediates.noindex/Previews/DYPopoverViewExample/Products/Debug-iphonesimulator/DYPopoverView.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/Build/Intermediates.noindex/Previews/DYPopoverViewExample/Intermediates.noindex/DYPopoverViewExample.build/Debug-iphonesimulator/DYPopoverViewExample.build/Objects-normal/x86_64/AppDelegate~partial.swiftsourceinfo : /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/ContentExample.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/SceneDelegate.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/AppDelegate.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/Buttons.swift /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/ContentView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/DeveloperToolsSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/Build/Intermediates.noindex/Previews/DYPopoverViewExample/Products/Debug-iphonesimulator/DYPopoverView.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
module graphics.components.CoolButton;
import d2d;
import graphics.Constants;
/**
* A coolbutton is a button that handles all the default expected behaviour and apperances of buttons in hoarde shooter
* Other than their text and actions, buttons should be the same (as in how they appear)
*/
class CoolButton : Button {
private Texture text; ///What the button says
private void delegate() execute; ///What the button will do when clicked
/**
* Constructor for a CoolButton
* Takes in the required display as well as location, text, and action
*/
this(Display d, iRectangle loc, string text, void delegate() execute) {
super(d, loc);
this.text = new Texture(scaled(fonts[Fonts.OpenSans].renderTextBlended(text, PredefinedColor.BLACK), loc.extent.x, loc.extent.y), d.renderer);
this.execute = execute;
}
/**
* The button does its action as its action (duh)
*/
override void action() {
execute();
}
/**
* Draws the button; button will be different colors based on whether it is hovered or not
*/
override void draw() {
this.container.renderer.fill(this.location, this.isHovered() ? hoverButtonBg : normalButtonBg);
this.container.renderer.copy(this.text, this.location);
}
} | D |
/*******************************************************************************
@file Token.d
Copyright (c) 2004 Kris Bell
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for damages
of any kind arising from the use of this software.
Permission is hereby granted to anyone to use this software for any
purpose, including commercial applications, and to alter it and/or
redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must
not claim that you wrote the original software. If you use this
software in a product, an acknowledgment within documentation of
said product would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must
not be misrepresented as being the original software.
3. This notice may not be removed or altered from any distribution
of the source.
4. Derivative works are permitted, but they must carry this notice
in full and credit the original source.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@version Initial version, March 2004
Circular dependency split; Oct 2004
2nd circular dependency split; March 2005 (dmd v0.115)
@author Kris, Chris Sauls
*******************************************************************************/
module mango.io.Token;
private import mango.io.Buffer,
mango.io.Tokenizer;
private import mango.convert.Atoi,
mango.convert.Double;
private import mango.io.model.IWriter,
mango.io.model.IReader,
mango.io.model.IConduit;
/*******************************************************************************
Tokens used by Tokenizer class. Tokens do not copy their content
so they are quite useful for parsing quantites of data quickly.
Conversely since each token is mapped into an external buffer,
you should be aware that changes to said buffer will impact any
tokens based upon it. You may sidestep this by using the clone()
method, or toString().dup
Tokens can convert from a variety of numeric format to ascii text.
Formats currently include int, uint, long, ulong, and real. Each
number may be preceded by whitespace, and an optional '+' or '-'
specifier. Note that real-number format is simplistic in that it
does not support exponential declarations. Note the conversion
methods should probably be moved elsewhere.
Here's a brief example of how to apply Token with Tokenizers:
@code
// open a file for reading
FileConduit fc = new FileConduit ("test.txt");
// create a buffer for reading the file
IBuffer buffer = new Buffer (fc);
// create a token for receiving the line
Token token = new Token;
// read file a line at a time. Method next() returns false when no more
// delimiters are found. Note there may be an unterminated line at eof
while (Tokenizers.line.next(buffer, token) || token.getLength)
Stdout (token) (CR);
@endcode
See also BoundToken, ReaderToken, CompositeToken and HybridToken.
*******************************************************************************/
class Token : IWritable
{
private int type;
private char[] content;
/***********************************************************************
Set the content of this token.
***********************************************************************/
Token set (char[] content)
{
this.content = content;
return this;
}
/***********************************************************************
Return the length of this token.
***********************************************************************/
int getLength ()
{
return content.length;
}
/***********************************************************************
Set the type of this token. Token types can be useful when
one wishes to categorize input patterns.
***********************************************************************/
Token setType (int type)
{
this.type = type;
return this;
}
/***********************************************************************
Return the type associated with this token. See setType().
***********************************************************************/
int getType ()
{
return type;
}
/***********************************************************************
Convert this token to an integer.
***********************************************************************/
int toInt ()
{
return cast(int) Atoi.parse (content);
}
/***********************************************************************
Convert this token to a long integer.
***********************************************************************/
long toLong ()
{
return Atoi.parse (content);
}
/***********************************************************************
Convert this token to a real.
***********************************************************************/
real toReal ()
{
return Double.parse (content);
}
/***********************************************************************
Clone this token, making a copy of the content also.
***********************************************************************/
Token clone ()
{
Token clone = new Token;
clone.set (toString (false));
clone.type = type;
return clone;
}
/***********************************************************************
Return a reference to this tokens content. Duplicate it
only if 'slice' is explicitly set to false (defaults to
a slice instead).
***********************************************************************/
char[] toString (bool slice = true)
{
if (slice)
return content;
return content.dup;
}
/***********************************************************************
Is this token equal to another?
***********************************************************************/
override int opEquals (Object o)
{
Token other = cast(Token) o;
if (other is null)
return super.opEquals (o);
return typeid(char[]).equals (&content, &other.content);
}
/***********************************************************************
Compare this token to another.
***********************************************************************/
override int opCmp (Object o)
{
Token other = cast(Token) o;
if (other is null)
return super.opCmp (o);
return typeid(char[]).compare (&content, &other.content);
}
/***********************************************************************
Hash this token
***********************************************************************/
override uint toHash ()
{
return typeid(char[]).getHash (&content);
}
/***********************************************************************
Make the Token class compatible with IWriter instances.
***********************************************************************/
void write (IWriter w)
{
w.put (content);
}
}
/*******************************************************************************
A style of Token that's bound to a Tokenizer. This can be a handy
means of cleaning up client code, and limiting the scope of how
a token is used by recieving methods.
Contrast this example with that shown in the Token class:
@code
// open a file for reading
FileConduit fc = new FileConduit ("test.txt");
// create a buffer for reading the file
IBuffer buffer = new Buffer(fc);
// bind a line-tokenizer to our input token
BoundToken line = new BoundToken (Tokenizers.line);
// read file a line at a time. Method next() returns false when no more
// delimiters are found. Note there may be an unterminated line at eof
while (line.next(buffer) || line.getLength)
Stdout (line) (CR);
@endcode
One might also consider a CompositeToken or HybridToken.
*******************************************************************************/
class BoundToken : Token
{
private ITokenizer tk;
/***********************************************************************
***********************************************************************/
this (ITokenizer tk)
{
this.tk = tk;
}
/***********************************************************************
Return the associated tokenizer
***********************************************************************/
ITokenizer getTokenizer ()
{
return tk;
}
/***********************************************************************
Extract the next token from the provided buffer.
Returns true if a token was isolated, false if no more
tokens were found. Note that one last token may still
be present when this return false; this may happen if
(for example) the last delimiter is missing before an
EOF condition is seen. Check token.getLength() when
this method returns false.
For example:
@code
while (token.next() || token.getLength())
// do something
@endcode
***********************************************************************/
bool next (IBuffer buf)
{
return tk.next (buf, this);
}
}
/*******************************************************************************
ReaderToken adapts a BoundToken such that it can be used directly
with any IReader implementation. We just add the IReadable methods
to the basic BoundToken.
Here's a contrived example of how to use ReaderToken:
@code
// create a small buffer on the heap
Buffer buf = new Buffer (256);
// write items with a comma between each
TextWriter write = new TextWriter (buf, ",");
// write some stuff to the buffer
write ("now is the time for all good men") (3.14159);
// bind a couple of tokens to a comma tokenizer
ReaderToken text = new ReaderToken (Tokenizers.comma);
ReaderToken number = new ReaderToken (Tokenizers.comma);
// create any old reader since we only use it for handling tokens
Reader read = new Reader (buf);
// populate both tokens via reader
read (text) (number);
// print them to the console
Stdout (text) (':') (number) (CR);
@endcode
*******************************************************************************/
class ReaderToken : BoundToken, IReadable
{
/***********************************************************************
Construct a ReaderToken using the provided Tokenizer.
***********************************************************************/
this (ITokenizer tk)
{
super (tk);
}
/***********************************************************************
Read the next delimited element into this token.
***********************************************************************/
void read (IReader r)
{
tk.next (r.getBuffer, this);
}
}
/*******************************************************************************
Another subclass of BoundToken that combines both a Tokenizer and
an input buffer. This is simply a convenience wrapper than takes
care of details that would otherwise clutter the client code.
Compare this to usage of a basic Token:
@code
// open a file for reading
FileConduit fc = new FileConduit ("test.txt");
// create a Token and bind it to both the file and a line-tokenizer
CompositeToken line = new CompositeToken (Tokenizers.line, fc);
// read file a line at a time. Method get() returns false when no more
// tokens are found.
while (line.get)
Stdout (line) (CR);
@endcode
You might also consider a HybridToken for further processing of
token content.
*******************************************************************************/
class CompositeToken : BoundToken
{
private IBuffer buffer;
/***********************************************************************
Set this token to use the provided Tokenizer, and bind it
to the given buffer.
***********************************************************************/
this (ITokenizer tk, IBuffer buffer)
{
super (tk);
this.buffer = buffer;
}
/***********************************************************************
Set this token to use the provided Tokenizer, and bind it
to the buffer associated with the given conduit.
***********************************************************************/
this (ITokenizer tk, IConduit conduit)
{
this (tk, new Buffer(conduit));
}
/***********************************************************************
Return the associated buffer
***********************************************************************/
IBuffer getBuffer ()
{
return buffer;
}
/***********************************************************************
Extract the next token.
Returns true if a token was isolated, false if no more
tokens were found. Note that one last token may still
be present when this return false; this may happen if
(for example) the last delimiter is missing before an
Eof condition is seen. Check token.getLength() when
this method returns false.
For example:
@code
while (token.next || token.getLength)
// do something
@endcode
***********************************************************************/
bool next ()
{
return tk.next (buffer, this);
}
/***********************************************************************
Extract the next token, taking Eof into consideration.
If next() returns false, then this function will still
return true as long as there's some content available.
For example:
@code
while (token.get)
// do something
@endcode
***********************************************************************/
bool get ()
{
return cast(bool) (next || getLength);
}
}
/*******************************************************************************
A subclass of CompositeToken that combines a Tokenizer, an input buffer,
and the means to bind its content to a subordinate Reader or Token.
This is another convenience wrapper than takes care of details that
would otherwise complicate client code.
Compare this to usage of a CompositeToken:
@code
// open a file for reading
FileConduit fc = new FileConduit ("test.txt");
// create a Token and bind it to both the file and a line-tokenizer
HybridToken line = new HybridToken (Tokenizers.line, fc);
// now create a reader upon the token
Reader input = new Reader (line.getHost);
// read file a line at a time. Method get() returns false when no more
// tokens are found.
while (line.get)
{
int x, y;
// reader is now bound to the content of the current line
input (x) (y);
Stdout (x) (y) (CR);
}
@endcode
You can use the same mechanism to bind subordinate Tokens:
@code
// open a file for reading
FileConduit fc = new FileConduit ("test.txt");
// create a Token and bind it to both the file and a line-tokenizer
HybridToken line = new HybridToken (Tokenizers.line, fc);
// now create a subordinate Token that splits on whitespace
CompositeToken word = new CompositeToken (Tokenizers.space, line.getHost);
// read file a line at a time. Method get() returns false when no more
// tokens are found.
while (line.get)
// extract space delimited tokens from each line
while (word.get)
Stdout (word) (CR);
@endcode
*******************************************************************************/
class HybridToken : CompositeToken
{
private IBuffer host;
/***********************************************************************
Set this token to use the provided Tokenizer, and bind it
to the given buffer.
***********************************************************************/
this (ITokenizer tk, IBuffer buffer)
{
super (tk, buffer);
// create the hosting IBuffer
host = new Buffer();
}
/***********************************************************************
Set this token to use the provided Tokenizer, and bind it
to the buffer associated with the given conduit.
***********************************************************************/
this (ITokenizer tk, IConduit conduit)
{
this (tk, new Buffer(conduit));
}
/***********************************************************************
Return the associated host buffer. The host should be used
for purposes of binding a subordinate Token or Reader onto
the content of this token. Each call to next() will update
this content appropriately, which is also reflected within
said host buffer.
That is, token.toString == token.getHost.toString.
***********************************************************************/
IBuffer getHost ()
{
return host;
}
/***********************************************************************
Extract the next token.
Returns true if a token was isolated, false if no more
tokens were found. Note that one last token may still
be present when this return false; this may happen if
(for example) the last delimiter is missing before an
Eof condition is seen. Check token.getLength() when
this method returns false.
For example:
@code
while (token.next || token.getLength)
// do something
@endcode
***********************************************************************/
bool next ()
{
// get the next token
bool ret = super.next;
// set host content
host.setValidContent (toString);
return ret;
}
}
| D |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.0
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
module vtkRectilinearGridPartitioner;
static import vtkd_im;
static import core.stdc.config;
static import std.conv;
static import std.string;
static import std.conv;
static import std.string;
static import vtkObjectBase;
static import vtkMultiBlockDataSetAlgorithm;
class vtkRectilinearGridPartitioner : vtkMultiBlockDataSetAlgorithm.vtkMultiBlockDataSetAlgorithm {
private void* swigCPtr;
public this(void* cObject, bool ownCObject) {
super(vtkd_im.vtkRectilinearGridPartitioner_Upcast(cObject), ownCObject);
swigCPtr = cObject;
}
public static void* swigGetCPtr(vtkRectilinearGridPartitioner obj) {
return (obj is null) ? null : obj.swigCPtr;
}
mixin vtkd_im.SwigOperatorDefinitions;
public override void dispose() {
synchronized(this) {
if (swigCPtr !is null) {
if (swigCMemOwn) {
swigCMemOwn = false;
throw new object.Exception("C++ destructor does not have public access");
}
swigCPtr = null;
super.dispose();
}
}
}
public static vtkRectilinearGridPartitioner New() {
void* cPtr = vtkd_im.vtkRectilinearGridPartitioner_New();
vtkRectilinearGridPartitioner ret = (cPtr is null) ? null : new vtkRectilinearGridPartitioner(cPtr, false);
return ret;
}
public static int IsTypeOf(string type) {
auto ret = vtkd_im.vtkRectilinearGridPartitioner_IsTypeOf((type ? std.string.toStringz(type) : null));
return ret;
}
public static vtkRectilinearGridPartitioner SafeDownCast(vtkObjectBase.vtkObjectBase o) {
void* cPtr = vtkd_im.vtkRectilinearGridPartitioner_SafeDownCast(vtkObjectBase.vtkObjectBase.swigGetCPtr(o));
vtkRectilinearGridPartitioner ret = (cPtr is null) ? null : new vtkRectilinearGridPartitioner(cPtr, false);
return ret;
}
public vtkRectilinearGridPartitioner NewInstance() const {
void* cPtr = vtkd_im.vtkRectilinearGridPartitioner_NewInstance(cast(void*)swigCPtr);
vtkRectilinearGridPartitioner ret = (cPtr is null) ? null : new vtkRectilinearGridPartitioner(cPtr, false);
return ret;
}
alias vtkMultiBlockDataSetAlgorithm.vtkMultiBlockDataSetAlgorithm.NewInstance NewInstance;
public int GetNumberOfPartitions() {
auto ret = vtkd_im.vtkRectilinearGridPartitioner_GetNumberOfPartitions(cast(void*)swigCPtr);
return ret;
}
public void SetNumberOfPartitions(int _arg) {
vtkd_im.vtkRectilinearGridPartitioner_SetNumberOfPartitions(cast(void*)swigCPtr, _arg);
}
public int GetNumberOfGhostLayers() {
auto ret = vtkd_im.vtkRectilinearGridPartitioner_GetNumberOfGhostLayers(cast(void*)swigCPtr);
return ret;
}
public void SetNumberOfGhostLayers(int _arg) {
vtkd_im.vtkRectilinearGridPartitioner_SetNumberOfGhostLayers(cast(void*)swigCPtr, _arg);
}
}
| D |
module pixelperfectengine.concrete.elements.checkbox;
public import pixelperfectengine.concrete.elements.base;
/**
* Implements a checkbox, that can take a binary choice option from the user.
*/
public class CheckBox : WindowElement, ISmallButton {
public string iconChecked = "checkBoxB"; ///Sets the icon for checked positions
public string iconUnchecked = "checkBoxA"; ///Sets the icon for unchecked positions
public EventDeleg onToggle;
/**
* Creates an instance of a checkbox with a text object.
* Params:
* text = The text to be displayed besides the button.
* source = The source of the events emitted by this object.
* position = Defines where the element should be drawn.
* checked = Initial state of the button.
*/
public this(Text text, string source, Box position, bool checked = false) {
this.position = position;
this.text = text;
this.source = source;
isChecked = checked;
}
/**
* Creates an instance of a checkbox with a default formatted text.
* Params:
* text = The text to be displayed besides the button.
* source = The source of the events emitted by this object.
* position = Defines where the element should be drawn.
* checked = Initial state of the button.
*/
public this(dstring text, string source, Box position, bool checked = false) {
this(new Text(text, getStyleSheet().getChrFormatting("checkBox")), source, position, checked);
}
/**
* Creates a small button version of the checkbox for windows, toolbars, etc.
* Params:
* iconChecked = The icon when the button is checked.
* iconUnchecked = The icon when the button is unchecked.
* source = The source of the events emitted by this object.
* position = Defines where the element should be drawn.
* checked = Initial state of the button.
*/
public this(string iconChecked, string iconUnchecked, string source, Box position, bool checked = false) {
this.position = position;
this.iconChecked = iconChecked;
this.iconUnchecked = iconUnchecked;
this.source = source;
isChecked = checked;
}
public override void draw() {
parent.clearArea(position);
StyleSheet ss = getStyleSheet;
Bitmap8Bit icon = isChecked ? ss.getImage(iconChecked) : ss.getImage(iconUnchecked);
parent.bitBLT(position.cornerUL, icon);
if (text) {
Coordinate textPos = position;
textPos.left += ss.getImage(iconChecked).width + ss.drawParameters["TextSpacingSides"];
parent.drawTextSL(textPos, text, Point(0, 0));
}
if (isFocused) {
const int textPadding = ss.drawParameters["horizTextPadding"];
parent.drawBoxPattern(position - textPadding, ss.pattern["blackDottedLine"]);
}
if (state == ElementState.Disabled) {
parent.bitBLTPattern(Box(position.left, position.top, position.left + icon.width - 1, position.top + icon.height - 1
), ss.getImage("ElementDisabledPtrn"));
}
if (onDraw !is null) {
onDraw();
}
}
public override void passMCE(MouseEventCommons mec, MouseClickEvent mce) {
if (state != ElementState.Enabled) return;
mce.x -= position.left;
mce.y -= position.top;
const int width = getStyleSheet().getImage(iconChecked).width;
if (mce.button == MouseButton.Left && mce.state == ButtonState.Pressed && mce.x < width) {
if (isChecked) {
unCheck;
} else {
check;
}
if (onToggle !is null) {
onToggle(new Event(this, EventType.Toggle, SourceType.WindowElement));
}
}
super.passMCE(mec, mce);
}
/**
* Sets the value of the checkbox to checked.
* Does not inwoke any events.
*/
public bool check() @trusted {
flags |= IS_CHECKED;
draw();
return isChecked;
}
/**
* Sets the value of the checkbox to unchecked.
* Does not inwoke any events.
*/
public bool unCheck() @trusted {
flags &= ~IS_CHECKED;
draw();
return isChecked;
}
/**
* Toggles the checkbox.
* Inwokes an `onToggle` event if delegate is set.
*/
public bool toggle() {
if (isChecked) {
unCheck;
} else {
check;
}
if (onToggle !is null) {
onToggle(new Event(this, EventType.Toggle, SourceType.WindowElement));
}
return isChecked();
}
/**
* Toggles the checkbox to the given value.
* Inwokes an `onToggle` event if delegate is set.
*/
public bool toggle(bool val) {
if (isChecked == val)
return val;
else
return toggle();
}
///Returns true if the checkbox is a small button.
public bool isSmallButtonHeight(int height) {
if (text) return false;
else if (position.width == height && position.height == height) return true;
else return false;
}
///Returns true if left side justified, false otherwise.
public bool isLeftSide() @nogc @safe pure nothrow const {
return flags & IS_LHS ? true : false;
}
///Sets the small button to the left side if true.
public bool isLeftSide(bool val) @nogc @safe pure nothrow {
if (val) flags |= IS_LHS;
else flags &= ~IS_LHS;
return flags & IS_LHS ? true : false;
}
}
| D |
import BDD;
int main() {
return BDD.printResults();
}
| D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/Message/PostgreSQLMessage+ParameterStatus.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+0.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+UUID.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/ChannelPipeline+PostgreSQL.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Data.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+BackendKeyData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLGeneric.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLBind.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Column/PostgreSQLDataTypeCode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+FormatCode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+PasswordMessage.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+StartupMessage.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+TableNameCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLTable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLAlterTable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLDataTypeStaticRepresentable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLDataConvertible.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLQuery+DataType.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Database/PostgreSQLDatabase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+NotificationResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ErrorResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+SSLSupportResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+Close.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Date.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+Authenticate.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Database/PostgreSQLDatabaseConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+TransportConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+String.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLBoolLiteral.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Bool.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+NotifyAndListen.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Column/PostgreSQLColumn.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Polygon.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLCollation.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLFunction.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ParameterDescription.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+RowDescription.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/PostgreSQLProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Codable/PostgreSQLDataDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Pipeline/PostgreSQLMessageDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Codable/PostgreSQLRowDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Pipeline/PostgreSQLMessageEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Codable/PostgreSQLValueEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+FixedWidthInteger.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Database/PostgreSQLLogger.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/PostgreSQLError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLBinaryOperator.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/Utilities.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+ServerAddress.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ParameterStatus.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLResultFormat.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+Connect.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLDefault.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Point.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+BinaryFloatingPoint.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLInsert.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLUpsert.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+BindRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+DescribeRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ParseRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ExecuteRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+AuthenticationRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+SSLSupportRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+DataRow.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLDropIndex.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLPrimaryKey.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+Query.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+Query.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLQuery.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+SimpleQuery.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ReadyForQuery.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /usr/local/Cellar/libressl/3.0.2/include/openssl/asn1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/tls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dtls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs12.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl23.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509v3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/md5.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs7.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509.h /usr/local/Cellar/libressl/3.0.2/include/openssl/sha.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/obj_mac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/hmac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ec.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rand.h /usr/local/Cellar/libressl/3.0.2/include/openssl/conf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslconf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/lhash.h /usr/local/Cellar/libressl/3.0.2/include/openssl/stack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/safestack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bn.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bio.h /usr/local/Cellar/libressl/3.0.2/include/openssl/crypto.h /usr/local/Cellar/libressl/3.0.2/include/openssl/srtp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/evp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/3.0.2/include/openssl/buffer.h /usr/local/Cellar/libressl/3.0.2/include/openssl/err.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/3.0.2/include/openssl/objects.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslv.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509_vfy.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBase32/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBcrypt/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-zlib-support/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/Message/PostgreSQLMessage+ParameterStatus~partial.swiftmodule : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+0.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+UUID.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/ChannelPipeline+PostgreSQL.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Data.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+BackendKeyData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLGeneric.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLBind.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Column/PostgreSQLDataTypeCode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+FormatCode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+PasswordMessage.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+StartupMessage.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+TableNameCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLTable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLAlterTable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLDataTypeStaticRepresentable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLDataConvertible.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLQuery+DataType.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Database/PostgreSQLDatabase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+NotificationResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ErrorResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+SSLSupportResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+Close.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Date.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+Authenticate.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Database/PostgreSQLDatabaseConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+TransportConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+String.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLBoolLiteral.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Bool.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+NotifyAndListen.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Column/PostgreSQLColumn.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Polygon.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLCollation.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLFunction.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ParameterDescription.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+RowDescription.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/PostgreSQLProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Codable/PostgreSQLDataDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Pipeline/PostgreSQLMessageDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Codable/PostgreSQLRowDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Pipeline/PostgreSQLMessageEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Codable/PostgreSQLValueEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+FixedWidthInteger.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Database/PostgreSQLLogger.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/PostgreSQLError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLBinaryOperator.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/Utilities.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+ServerAddress.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ParameterStatus.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLResultFormat.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+Connect.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLDefault.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Point.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+BinaryFloatingPoint.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLInsert.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLUpsert.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+BindRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+DescribeRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ParseRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ExecuteRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+AuthenticationRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+SSLSupportRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+DataRow.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLDropIndex.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLPrimaryKey.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+Query.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+Query.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLQuery.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+SimpleQuery.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ReadyForQuery.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /usr/local/Cellar/libressl/3.0.2/include/openssl/asn1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/tls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dtls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs12.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl23.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509v3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/md5.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs7.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509.h /usr/local/Cellar/libressl/3.0.2/include/openssl/sha.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/obj_mac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/hmac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ec.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rand.h /usr/local/Cellar/libressl/3.0.2/include/openssl/conf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslconf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/lhash.h /usr/local/Cellar/libressl/3.0.2/include/openssl/stack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/safestack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bn.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bio.h /usr/local/Cellar/libressl/3.0.2/include/openssl/crypto.h /usr/local/Cellar/libressl/3.0.2/include/openssl/srtp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/evp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/3.0.2/include/openssl/buffer.h /usr/local/Cellar/libressl/3.0.2/include/openssl/err.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/3.0.2/include/openssl/objects.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslv.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509_vfy.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBase32/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBcrypt/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-zlib-support/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/Message/PostgreSQLMessage+ParameterStatus~partial.swiftdoc : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+0.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+UUID.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/ChannelPipeline+PostgreSQL.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Data.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+BackendKeyData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLGeneric.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLBind.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Column/PostgreSQLDataTypeCode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+FormatCode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+PasswordMessage.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+StartupMessage.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+TableNameCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLTable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLAlterTable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLDataTypeStaticRepresentable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLDataConvertible.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLQuery+DataType.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Database/PostgreSQLDatabase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+NotificationResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ErrorResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+SSLSupportResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+Close.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Date.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+Authenticate.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Database/PostgreSQLDatabaseConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+TransportConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+String.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLBoolLiteral.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Bool.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+NotifyAndListen.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Column/PostgreSQLColumn.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Polygon.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLCollation.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLFunction.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ParameterDescription.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+RowDescription.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/PostgreSQLProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Codable/PostgreSQLDataDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Pipeline/PostgreSQLMessageDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Codable/PostgreSQLRowDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Pipeline/PostgreSQLMessageEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Codable/PostgreSQLValueEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+FixedWidthInteger.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Database/PostgreSQLLogger.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/PostgreSQLError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLBinaryOperator.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/Utilities.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+ServerAddress.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ParameterStatus.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLResultFormat.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+Connect.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLDefault.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Point.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+BinaryFloatingPoint.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLInsert.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLUpsert.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+BindRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+DescribeRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ParseRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ExecuteRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+AuthenticationRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+SSLSupportRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+DataRow.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLDropIndex.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLPrimaryKey.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+Query.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+Query.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLQuery.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+SimpleQuery.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ReadyForQuery.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /usr/local/Cellar/libressl/3.0.2/include/openssl/asn1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/tls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dtls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs12.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl23.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509v3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/md5.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs7.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509.h /usr/local/Cellar/libressl/3.0.2/include/openssl/sha.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/obj_mac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/hmac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ec.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rand.h /usr/local/Cellar/libressl/3.0.2/include/openssl/conf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslconf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/lhash.h /usr/local/Cellar/libressl/3.0.2/include/openssl/stack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/safestack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bn.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bio.h /usr/local/Cellar/libressl/3.0.2/include/openssl/crypto.h /usr/local/Cellar/libressl/3.0.2/include/openssl/srtp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/evp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/3.0.2/include/openssl/buffer.h /usr/local/Cellar/libressl/3.0.2/include/openssl/err.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/3.0.2/include/openssl/objects.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslv.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509_vfy.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBase32/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBcrypt/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-zlib-support/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/Message/PostgreSQLMessage+ParameterStatus~partial.swiftsourceinfo : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+0.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+UUID.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/ChannelPipeline+PostgreSQL.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Data.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+BackendKeyData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLGeneric.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLBind.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Column/PostgreSQLDataTypeCode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+FormatCode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+PasswordMessage.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+StartupMessage.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+TableNameCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLTable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLAlterTable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLDataTypeStaticRepresentable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLDataConvertible.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLQuery+DataType.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Database/PostgreSQLDatabase.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+NotificationResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ErrorResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+SSLSupportResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+Close.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Date.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+Authenticate.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Database/PostgreSQLDatabaseConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+TransportConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+String.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLBoolLiteral.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Bool.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+NotifyAndListen.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Column/PostgreSQLColumn.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Polygon.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLCollation.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLFunction.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ParameterDescription.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+RowDescription.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/PostgreSQLProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Codable/PostgreSQLDataDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Pipeline/PostgreSQLMessageDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Codable/PostgreSQLRowDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Pipeline/PostgreSQLMessageEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Codable/PostgreSQLValueEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+FixedWidthInteger.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Database/PostgreSQLLogger.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/PostgreSQLError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLBinaryOperator.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/Utilities.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+ServerAddress.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ParameterStatus.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLResultFormat.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+Connect.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLDefault.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+Point.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Data/PostgreSQLData+BinaryFloatingPoint.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLInsert.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLUpsert.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+BindRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+DescribeRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ParseRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ExecuteRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+AuthenticationRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+SSLSupportRequest.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+DataRow.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLDropIndex.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLPrimaryKey.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+Query.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+Query.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/SQL/PostgreSQLQuery.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Connection/PostgreSQLConnection+SimpleQuery.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+ReadyForQuery.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /usr/local/Cellar/libressl/3.0.2/include/openssl/asn1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/tls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dtls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs12.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl23.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509v3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/md5.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs7.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509.h /usr/local/Cellar/libressl/3.0.2/include/openssl/sha.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/obj_mac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/hmac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ec.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rand.h /usr/local/Cellar/libressl/3.0.2/include/openssl/conf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslconf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/lhash.h /usr/local/Cellar/libressl/3.0.2/include/openssl/stack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/safestack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bn.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bio.h /usr/local/Cellar/libressl/3.0.2/include/openssl/crypto.h /usr/local/Cellar/libressl/3.0.2/include/openssl/srtp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/evp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/3.0.2/include/openssl/buffer.h /usr/local/Cellar/libressl/3.0.2/include/openssl/err.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/3.0.2/include/openssl/objects.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslv.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509_vfy.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBase32/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBcrypt/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-zlib-support/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
E: c201, c185, c144, c21, c181, c125, c30, c54, c194, c27, c136, c217, c24, c233, c167, c164, c274, c135, c137, c249, c104, c129, c80, c148, c240, c71, c79, c64, c73, c238, c48, c242, c8, c259, c154, c85, c111, c87, c271, c264, c109, c3, c107, c258, c253, c265, c36, c78, c165, c45, c215, c49, c118, c120, c95, c191, c232, c14, c33, c162, c169, c68, c39, c44, c16, c52, c273, c163, c166, c267, c134, c81, c189, c190, c170, c282, c96, c214, c202, c168, c283, c234, c203, c252, c114, c281, c159, c43, c260, c13, c177, c184, c218, c11, c143, c160, c102, c261, c251, c67, c127, c26, c88, c17, c40, c280, c197, c147, c149, c25, c239, c179, c247, c20, c175, c268, c257, c132, c151, c231, c270, c32.
p4(E,E)
c201,c185
c30,c54
c137,c249
c104,c129
c80,c80
c148,c240
c238,c104
c265,c36
c78,c165
c118,c148
c129,c271
c14,c14
c162,c169
c68,c164
c16,c201
c282,c8
c27,c48
c166,c71
c283,c249
c33,c14
c217,c81
c114,c253
c160,c260
c253,c79
c67,c127
c283,c45
c215,c21
c169,c11
c251,c21
c36,c234
c114,c127
c109,c260
c179,c247
c40,c190
c21,c144
c164,c233
c282,c67
c43,c71
c203,c109
c111,c87
c154,c85
c125,c80
c25,c238
c104,c73
c73,c125
c96,c214
c281,c159
c48,c217
c26,c132
.
p10(E,E)
c144,c21
c194,c27
c8,c242
c120,c95
c64,c104
c49,c185
c52,c273
c163,c166
c267,c134
c282,c33
c163,c43
c264,c203
c184,c104
c80,c80
c102,c125
c261,c251
c11,c169
c14,c14
c137,c283
c78,c95
c125,c73
c189,c40
c79,c253
c197,c147
c45,c25
c167,c68
c104,c238
c8,c282
c67,c114
c202,c162
c233,c164
c168,c268
c102,c118
c13,c39
c175,c282
c259,c30
c271,c129
c136,c48
c218,c16
c260,c109
c44,c39
c185,c201
c85,c154
c81,c217
.
p5(E,E)
c181,c125
c24,c233
c71,c79
c111,c8
c170,c271
c95,c168
c169,c260
c88,c13
c17,c8
c280,c185
c149,c14
c260,c80
c239,c267
c40,c11
c20,c44
c175,c259
c49,c144
c45,c104
c231,c81
c120,c85
c270,c120
.
p9(E,E)
c136,c217
c167,c164
c64,c73
c164,c233
c30,c259
c154,c85
c129,c271
c264,c109
c253,c79
c80,c80
c45,c238
c78,c154
c49,c242
c137,c249
c201,c185
c39,c44
c189,c190
c282,c14
c202,c169
c36,c234
c30,c54
c281,c159
c14,c14
c218,c201
c163,c39
c52,c282
c194,c48
c111,c87
c102,c148
c109,c260
c169,c11
c102,c80
c184,c129
c134,c267
c238,c104
c148,c240
c137,c45
c21,c144
c242,c8
c160,c260
c175,c67
c163,c71
c261,c21
c67,c127
c67,c253
c197,c32
.
p8(E,E)
c274,c135
c48,c217
c265,c265
c191,c232
c16,c16
c96,c214
c95,c154
c203,c203
c114,c114
c162,c169
c265,c36
c177,c3
c78,c165
c143,c49
c282,c282
c43,c39
c185,c185
c68,c164
c282,c67
c26,c26
c96,c96
c43,c43
c104,c129
c125,c125
c179,c179
c43,c71
c118,c148
c114,c127
c68,c68
c25,c238
c273,c282
c25,c25
c33,c8
c104,c104
c125,c148
c162,c162
c251,c251
c78,c78
c215,c215
c273,c273
c26,c132
c151,c252
c48,c48
c33,c33
c203,c109
.
p2(E,E)
c201,c185
c242,c8
c111,c87
c3,c107
c135,c258
c252,c148
c39,c13
c238,c104
c169,c11
c232,c271
c253,c79
c30,c54
c21,c144
c137,c249
c164,c233
c217,c81
c67,c127
c281,c159
c282,c8
c73,c125
c148,c240
c129,c271
c49,c257
c154,c85
.
p3(E,E)
c144,c215
c14,c33
c81,c48
c79,c114
c13,c43
c240,c125
c127,c282
c85,c95
c104,c25
c125,c104
c185,c16
c80,c125
c8,c282
c234,c265
c144,c251
c260,c203
c107,c177
c258,c274
c148,c151
.
| D |
/Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxCoreNavigation.build/Objects-normal/x86_64/Locale.o : /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/UIDevice.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Sequence.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Locale.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ScreenCapture.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Date.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/String.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Feedback.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/CLLocation.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/CLLocationDirection.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ProcessInfo.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteStep.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/SimulatedLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ReplayLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/TunnelIntersectionManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MMEEventsManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteController.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/DistanceFormatter.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationSettings.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/BundleAdditions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteOptions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationRouteOptions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteProgress.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Constants.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Array.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Polyline/Polyline.framework/Modules/Polyline.swiftmodule/x86_64.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Turf/Turf.framework/Modules/Turf.swiftmodule/x86_64.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/MapboxDirections.swift/MapboxDirections.framework/Modules/MapboxDirections.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/simd.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/AVFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreAudio.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/NSData+MMEGZIP.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/Polyline/Polyline-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/Turf/Turf-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxCoreNavigation/MapboxCoreNavigation-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxMobileEvents/MapboxMobileEvents-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxDirections.swift/MapboxDirections.swift-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECommonEventData.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsService.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKSPKIHashCache.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Polyline/Polyline/Polyline.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator_Private.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBAttribute.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Turf/Sources/Turf/Turf.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustKitConfig.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKLog.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorCallback.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKPublicKeyAlgorithm.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustDecision.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBLaneIndication.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUINavigation.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MapboxCoreNavigation.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsConfiguration.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/parse_configuration.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECategoryLoader.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMELocationManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETimerManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEDependencyManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogger.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/ssl_pin_verifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUniqueIdentifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/vendor_identifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MBRouteController.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogReportViewController.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSDateWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSURLSessionWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUIApplicationWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETrustKitWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKReportsRateLimiter.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKBackgroundReporter.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETypes.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBRoadClasses.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MBNavigationSettings.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/reporting_utils.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/configuration_utils.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MapboxDirections.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBRouteOptions.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEConstants.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/CLLocation+MMEMobileEvents.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MapboxMobileEvents.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Polyline/Polyline.framework/Headers/Polyline-Swift.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Turf/Turf.framework/Headers/Turf-Swift.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/MapboxDirections.swift/MapboxDirections.framework/Headers/MapboxDirections-Swift.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TrustKit.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorResult.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEAPIClient.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEvent.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKPinFailureReport.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/Reachability/MMEReachability.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxCoreNavigation.build/unextended-module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Polyline.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Turf.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxMobileEvents.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxDirections.swift.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes
/Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxCoreNavigation.build/Objects-normal/x86_64/Locale~partial.swiftmodule : /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/UIDevice.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Sequence.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Locale.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ScreenCapture.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Date.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/String.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Feedback.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/CLLocation.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/CLLocationDirection.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ProcessInfo.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteStep.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/SimulatedLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ReplayLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/TunnelIntersectionManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MMEEventsManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteController.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/DistanceFormatter.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationSettings.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/BundleAdditions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteOptions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationRouteOptions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteProgress.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Constants.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Array.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Polyline/Polyline.framework/Modules/Polyline.swiftmodule/x86_64.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Turf/Turf.framework/Modules/Turf.swiftmodule/x86_64.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/MapboxDirections.swift/MapboxDirections.framework/Modules/MapboxDirections.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/simd.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/AVFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreAudio.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/NSData+MMEGZIP.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/Polyline/Polyline-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/Turf/Turf-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxCoreNavigation/MapboxCoreNavigation-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxMobileEvents/MapboxMobileEvents-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxDirections.swift/MapboxDirections.swift-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECommonEventData.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsService.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKSPKIHashCache.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Polyline/Polyline/Polyline.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator_Private.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBAttribute.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Turf/Sources/Turf/Turf.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustKitConfig.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKLog.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorCallback.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKPublicKeyAlgorithm.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustDecision.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBLaneIndication.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUINavigation.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MapboxCoreNavigation.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsConfiguration.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/parse_configuration.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECategoryLoader.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMELocationManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETimerManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEDependencyManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogger.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/ssl_pin_verifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUniqueIdentifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/vendor_identifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MBRouteController.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogReportViewController.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSDateWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSURLSessionWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUIApplicationWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETrustKitWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKReportsRateLimiter.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKBackgroundReporter.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETypes.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBRoadClasses.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MBNavigationSettings.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/reporting_utils.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/configuration_utils.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MapboxDirections.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBRouteOptions.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEConstants.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/CLLocation+MMEMobileEvents.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MapboxMobileEvents.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Polyline/Polyline.framework/Headers/Polyline-Swift.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Turf/Turf.framework/Headers/Turf-Swift.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/MapboxDirections.swift/MapboxDirections.framework/Headers/MapboxDirections-Swift.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TrustKit.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorResult.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEAPIClient.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEvent.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKPinFailureReport.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/Reachability/MMEReachability.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxCoreNavigation.build/unextended-module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Polyline.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Turf.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxMobileEvents.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxDirections.swift.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes
/Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxCoreNavigation.build/Objects-normal/x86_64/Locale~partial.swiftdoc : /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/UIDevice.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Sequence.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Locale.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ScreenCapture.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Date.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/String.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Feedback.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/CLLocation.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/CLLocationDirection.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ProcessInfo.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteStep.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/SimulatedLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/ReplayLocationManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/TunnelIntersectionManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MMEEventsManager.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteController.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/DistanceFormatter.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationSettings.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/BundleAdditions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteOptions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/NavigationRouteOptions.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/RouteProgress.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Constants.swift /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Array.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Polyline/Polyline.framework/Modules/Polyline.swiftmodule/x86_64.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Turf/Turf.framework/Modules/Turf.swiftmodule/x86_64.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/MapboxDirections.swift/MapboxDirections.framework/Modules/MapboxDirections.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/simd.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/AVFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreAudio.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/NSData+MMEGZIP.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/Polyline/Polyline-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/Turf/Turf-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxCoreNavigation/MapboxCoreNavigation-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxMobileEvents/MapboxMobileEvents-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Target\ Support\ Files/MapboxDirections.swift/MapboxDirections.swift-umbrella.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECommonEventData.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsService.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKSPKIHashCache.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Polyline/Polyline/Polyline.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator_Private.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBAttribute.h /Users/junanqu/Desktop/SPEED_Interven/Pods/Turf/Sources/Turf/Turf.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustKitConfig.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKLog.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorCallback.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKPublicKeyAlgorithm.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustDecision.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBLaneIndication.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUINavigation.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MapboxCoreNavigation.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsConfiguration.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/parse_configuration.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECategoryLoader.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMELocationManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETimerManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEDependencyManager.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogger.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/ssl_pin_verifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUniqueIdentifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/vendor_identifier.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MBRouteController.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogReportViewController.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSDateWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSURLSessionWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUIApplicationWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETrustKitWrapper.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKReportsRateLimiter.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKBackgroundReporter.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETypes.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBRoadClasses.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/MBNavigationSettings.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/reporting_utils.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/configuration_utils.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MapboxDirections.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBRouteOptions.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEConstants.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/CLLocation+MMEMobileEvents.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MapboxMobileEvents.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Polyline/Polyline.framework/Headers/Polyline-Swift.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/Turf/Turf.framework/Headers/Turf-Swift.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Products/Debug-iphonesimulator/MapboxDirections.swift/MapboxDirections.framework/Headers/MapboxDirections-Swift.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TrustKit.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorResult.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEAPIClient.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEvent.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKPinFailureReport.h /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxMobileEvents/MapboxMobileEvents/Reachability/MMEReachability.h /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxCoreNavigation.build/unextended-module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Polyline.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Turf.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxMobileEvents.build/module.modulemap /Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxDirections.swift.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes
| D |
/Users/kelvintan/Desktop/MVVM/Build/Intermediates.noindex/MVVM.build/Debug-iphonesimulator/MVVM.build/Objects-normal/x86_64/HomeViewModel.o : /Users/kelvintan/Desktop/MVVM/MVVM/SceneDelegate.swift /Users/kelvintan/Desktop/MVVM/MVVM/AppDelegate.swift /Users/kelvintan/Desktop/MVVM/MVVM/ViewModel/Home/HomeViewModel.swift /Users/kelvintan/Desktop/MVVM/MVVM/ViewModel/Detail/DetailViewModel.swift /Users/kelvintan/Desktop/MVVM/MVVM/View/Home/HomeTableViewCell.swift /Users/kelvintan/Desktop/MVVM/MVVM/View/Home/HomeViewController.swift /Users/kelvintan/Desktop/MVVM/MVVM/View/Detail/DetailViewController.swift /Users/kelvintan/Desktop/MVVM/MVVM/Model/BucketList.swift /Users/kelvintan/Desktop/MVVM/MVVM/Extension/Date_Ext.swift /Users/kelvintan/Desktop/MVVM/MVVM/Extension/View_Ext.swift /Users/kelvintan/Desktop/MVVM/MVVM/ViewModel/Box.swift /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/kelvintan/Desktop/MVVM/Build/Intermediates.noindex/MVVM.build/Debug-iphonesimulator/MVVM.build/Objects-normal/x86_64/HomeViewModel~partial.swiftmodule : /Users/kelvintan/Desktop/MVVM/MVVM/SceneDelegate.swift /Users/kelvintan/Desktop/MVVM/MVVM/AppDelegate.swift /Users/kelvintan/Desktop/MVVM/MVVM/ViewModel/Home/HomeViewModel.swift /Users/kelvintan/Desktop/MVVM/MVVM/ViewModel/Detail/DetailViewModel.swift /Users/kelvintan/Desktop/MVVM/MVVM/View/Home/HomeTableViewCell.swift /Users/kelvintan/Desktop/MVVM/MVVM/View/Home/HomeViewController.swift /Users/kelvintan/Desktop/MVVM/MVVM/View/Detail/DetailViewController.swift /Users/kelvintan/Desktop/MVVM/MVVM/Model/BucketList.swift /Users/kelvintan/Desktop/MVVM/MVVM/Extension/Date_Ext.swift /Users/kelvintan/Desktop/MVVM/MVVM/Extension/View_Ext.swift /Users/kelvintan/Desktop/MVVM/MVVM/ViewModel/Box.swift /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/kelvintan/Desktop/MVVM/Build/Intermediates.noindex/MVVM.build/Debug-iphonesimulator/MVVM.build/Objects-normal/x86_64/HomeViewModel~partial.swiftdoc : /Users/kelvintan/Desktop/MVVM/MVVM/SceneDelegate.swift /Users/kelvintan/Desktop/MVVM/MVVM/AppDelegate.swift /Users/kelvintan/Desktop/MVVM/MVVM/ViewModel/Home/HomeViewModel.swift /Users/kelvintan/Desktop/MVVM/MVVM/ViewModel/Detail/DetailViewModel.swift /Users/kelvintan/Desktop/MVVM/MVVM/View/Home/HomeTableViewCell.swift /Users/kelvintan/Desktop/MVVM/MVVM/View/Home/HomeViewController.swift /Users/kelvintan/Desktop/MVVM/MVVM/View/Detail/DetailViewController.swift /Users/kelvintan/Desktop/MVVM/MVVM/Model/BucketList.swift /Users/kelvintan/Desktop/MVVM/MVVM/Extension/Date_Ext.swift /Users/kelvintan/Desktop/MVVM/MVVM/Extension/View_Ext.swift /Users/kelvintan/Desktop/MVVM/MVVM/ViewModel/Box.swift /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/kelvintan/Desktop/MVVM/Build/Intermediates.noindex/MVVM.build/Debug-iphonesimulator/MVVM.build/Objects-normal/x86_64/HomeViewModel~partial.swiftsourceinfo : /Users/kelvintan/Desktop/MVVM/MVVM/SceneDelegate.swift /Users/kelvintan/Desktop/MVVM/MVVM/AppDelegate.swift /Users/kelvintan/Desktop/MVVM/MVVM/ViewModel/Home/HomeViewModel.swift /Users/kelvintan/Desktop/MVVM/MVVM/ViewModel/Detail/DetailViewModel.swift /Users/kelvintan/Desktop/MVVM/MVVM/View/Home/HomeTableViewCell.swift /Users/kelvintan/Desktop/MVVM/MVVM/View/Home/HomeViewController.swift /Users/kelvintan/Desktop/MVVM/MVVM/View/Detail/DetailViewController.swift /Users/kelvintan/Desktop/MVVM/MVVM/Model/BucketList.swift /Users/kelvintan/Desktop/MVVM/MVVM/Extension/Date_Ext.swift /Users/kelvintan/Desktop/MVVM/MVVM/Extension/View_Ext.swift /Users/kelvintan/Desktop/MVVM/MVVM/ViewModel/Box.swift /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
/Users/mu/Hello/.build/x86_64-apple-macosx/debug/Random.build/Array+Random.swift.o : /Users/mu/Hello/.build/checkouts/crypto/Sources/Random/RandomProtocol.swift /Users/mu/Hello/.build/checkouts/crypto/Sources/Random/Array+Random.swift /Users/mu/Hello/.build/checkouts/crypto/Sources/Random/OSRandom.swift /Users/mu/Hello/.build/checkouts/crypto/Sources/Random/URandom.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/mu/Hello/.build/checkouts/swift-nio-zlib-support/module.modulemap /Users/mu/Hello/.build/checkouts/swift-nio-ssl-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/mu/Hello/.build/x86_64-apple-macosx/debug/Random.build/Array+Random~partial.swiftmodule : /Users/mu/Hello/.build/checkouts/crypto/Sources/Random/RandomProtocol.swift /Users/mu/Hello/.build/checkouts/crypto/Sources/Random/Array+Random.swift /Users/mu/Hello/.build/checkouts/crypto/Sources/Random/OSRandom.swift /Users/mu/Hello/.build/checkouts/crypto/Sources/Random/URandom.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/mu/Hello/.build/checkouts/swift-nio-zlib-support/module.modulemap /Users/mu/Hello/.build/checkouts/swift-nio-ssl-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/mu/Hello/.build/x86_64-apple-macosx/debug/Random.build/Array+Random~partial.swiftdoc : /Users/mu/Hello/.build/checkouts/crypto/Sources/Random/RandomProtocol.swift /Users/mu/Hello/.build/checkouts/crypto/Sources/Random/Array+Random.swift /Users/mu/Hello/.build/checkouts/crypto/Sources/Random/OSRandom.swift /Users/mu/Hello/.build/checkouts/crypto/Sources/Random/URandom.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/mu/Hello/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/mu/Hello/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/mu/Hello/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/mu/Hello/.build/checkouts/swift-nio-zlib-support/module.modulemap /Users/mu/Hello/.build/checkouts/swift-nio-ssl-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
/**
* Copyright © DiamondMVC 2018
* License: MIT (https://github.com/DiamondMVC/Diamond/blob/master/LICENSE)
* Author: Jacob Jensen (bausshf)
*/
module diamond.unittesting.attributes;
import diamond.core.apptype;
static if (isWeb && isTesting)
{
/// Attribute to define a test.
struct HttpTest
{
/// The name of the test.
string name;
}
}
| D |
instance Char_Bogen (Npc_Default)
{
// ------ NSC ------
name = "Diego";
guild = GIL_NONE;
id = 10;
voice = 11;
flags = 0;
npctype = NPCTYPE_MAIN;
//----------AIVARS--------------
attribute[ATR_STRENGTH] = 50;
attribute[ATR_DEXTERITY] = 100;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 200;
attribute[ATR_HITPOINTS] = 200;
protection[PROT_EDGE] = -1;
protection[PROT_POINT] = -1;
protection[PROT_MAGIC] = -1;
protection[PROT_FLY] = -1;
aivar[AIV_PARTYMEMBER] = TRUE;
B_RaiseFightTalent (self, NPC_TALENT_1H, 60);
B_RaiseFightTalent (self, NPC_TALENT_2H, 0);
B_RaiseFightTalent (self, NPC_TALENT_BOW, 100);
B_RaiseFightTalent (self, NPC_TALENT_CROSSBOW, 0);
// ------ Kampf-Taktik ------
fight_tactic = FAI_HUMAN_MASTER;
// ------ Equippte Waffen ------
EquipItem (self, ItMw_Diego_01);
EquipItem (self, ItRw_Diego_01);
CreateInvItems (self, ItRw_Arrow, 50);
// Starttrank
CreateInvItems (self, ItPo_Health, 1);
// ------ visuals ------
B_SetNpcVisual (self, MALE, "Hum_Head_Thief", Face_L_Diego, BodyTex_L, ITAR_DIEGO);
Mdl_ApplyOverlayMds (self, "HUMANS_1HST1.MDS");
Mdl_ApplyOverlayMds (self, "HUMANS_BOWT2.MDS");
// ------ Kampf-Talente ------
// ------ TA anmelden ------
daily_routine = Rtn_Start_10;
};
FUNC VOID Rtn_Start_10()
{
TA_Follow_Player (08,00,20,00,"START");
TA_Follow_Player (20,00,08,00,"START");
};
FUNC VOID Rtn_Wait_10()
{
TA_Stand_Guarding (08,00,20,00,DiegoWaypoint);
TA_Stand_Guarding (20,00,08,00,DiegoWaypoint);
};
FUNC VOID Rtn_Knast_10()
{
TA_Stand_Guarding (08,00,20,00,"KNAST");
TA_Stand_Guarding (20,00,08,00,"KNAST");
};
FUNC VOID Rtn_Rettung_10()
{
TA_RunToWP (08,00,20,00,"KNAST");
TA_RunToWP (20,00,08,00,"KNAST");
}; | D |
/++
Error handling that bundles exceptions with return values.
The design of this module is based on C++'s proposed
[std::expected](https://wg21.link/p0323) and Rust's
[std::result](https://doc.rust-lang.org/std/result/). See
["Expect the Expected"](https://www.youtube.com/watch?v=nVzgkepAg5Y) by
Andrei Alexandrescu for further background.
License: MIT
Author: Paul Backus
+/
module expectations;
/// $(H3 Basic Usage)
@safe unittest {
import std.exception: assertThrown;
Expected!int charToDigit(char c)
{
int d = c - '0';
if (d >= 0 && d < 10) {
return expected(d);
} else {
return missing!int(
new Exception(c ~ " is not a valid digit")
);
}
}
auto goodResult = charToDigit('7');
auto badResult = charToDigit('&');
assert(goodResult.hasValue);
assert(goodResult.value == 7);
assert(!badResult.hasValue);
assertThrown(badResult.value);
assert(badResult.error.msg == "& is not a valid digit");
}
/**
* An exception that represents an error value.
*/
class Unexpected(T) : Exception
{
/**
* The error value.
*/
T value;
/**
* Constructs an `Unexpected` exception from a value.
*/
pure @safe @nogc nothrow
this(T value, string file = __FILE__, size_t line = __LINE__)
{
super("unexpected value", file, line);
this.value = value;
}
}
/**
* An `Expected!(T, E)` contains either an expected value of type `T`, or an
* error value of type `E` explaining why the expected value couldn't be
* produced.
*
* The default type for the error value is `Exception`.
*
* A function that returns an `Expected` object has the following advantages
* over one that may throw an exception or return an error code:
*
* $(LIST
* * It leaves the choice between manual error checking and automatic stack
* unwinding up to the caller.
* * It allows error handling to be deferred until the return value is
* actually needed (if ever).
* * It can be easily composed with other functions using [map] and
* [flatMap], which propagates error values automatically.
* * It can be used in `nothrow` code.
* )
*
* An `Expected!(T, E)` is initialized by default to contain the value `T.init`.
*
* $(PITFALL Unlike a thrown exception, an error returned via an `Expected`
* object will be silently ignored if the function's return value is discarded.
* For best results, functions that return `Expected` objects should be marked
* as `pure`, so that the D compiler will warn about discarded return values.)
*/
struct Expected(T, E = Exception)
if (!is(T == E) && !is(T == void))
{
private:
import sumtype;
SumType!(T, E) data;
public:
/**
* Constructs an `Expected` object that contains an expected value.
*/
this(T value)
{
data = value;
}
/**
* Constructs an `Expected` object that contains an error value.
*/
this(E err)
{
data = err;
}
/**
* Assigns an expected value to an `Expected` object.
*/
void opAssign(T value)
{
data = value;
}
/**
* Assigns an error value to an `Expected` object.
*/
void opAssign(E err)
{
data = err;
}
/**
* Checks whether this `Expected` object contains a specific expected value.
*/
bool opEquals(T rhs)
{
return data.match!(
(T value) => value == rhs,
(E _) => false
);
}
/**
* Checks whether this `Expected` object contains a specific error value.
*/
bool opEquals(E rhs)
{
return data.match!(
(T _) => false,
(E err) => err == rhs
);
}
/**
* Checks whether this `Expected` object and `rhs` contain the same expected
* value or error value.
*/
bool opEquals(Expected!(T, E) rhs)
{
return data.match!(
(T value) => rhs == value,
(E err) => rhs == err
);
}
/**
* Checks whether this `Expected` object contains an expected value or an
* error value.
*/
bool hasValue() const
{
return data.match!(
(const T _) => true,
(const E _) => false
);
}
/**
* Returns the expected value if there is one. Otherwise, throws an
* exception
*
* Throws:
* If `E` inherits from `Throwable`, the error value is thrown.
* Otherwise, an [Unexpected] instance containing the error value is
* thrown.
*/
inout(T) value() inout
{
return data.match!(
(inout(T) value) => value,
delegate T (inout(E) err) {
static if(is(E : Throwable)) {
throw error;
} else {
throw new Unexpected!E(error);
}
}
);
}
/**
* Returns the error value. May only be called when `hasValue` returns
* `false`.
*/
inout(E) error() inout
in { assert(!hasValue); }
do {
import std.exception: assumeWontThrow;
return data.tryMatch!(
(inout(E) err) => err
).assumeWontThrow;
}
deprecated("Renamed to `error`")
inout(E) exception() inout
{
return error;
}
/**
* Returns the expected value if present, or a default value otherwise.
*/
inout(T) valueOr(inout(T) defaultValue) inout
{
return data.match!(
(inout(T) value) => value,
(inout(E) _) => defaultValue
);
}
}
// Construction
@safe nothrow unittest {
assert(__traits(compiles, Expected!int(123)));
assert(__traits(compiles, Expected!int(new Exception("oops"))));
}
// Assignment
@safe nothrow unittest {
Expected!int x;
assert(__traits(compiles, x = 123));
assert(__traits(compiles, x = new Exception("oops")));
}
// Self assignment
@safe nothrow unittest {
Expected!int x, y;
assert(__traits(compiles, x = y));
}
// Equality with self
@system unittest {
int n = 123;
Exception e = new Exception("oops");
Expected!int x = n;
Expected!int y = n;
Expected!int z = e;
Expected!int w = e;
assert(x == y);
assert(z == w);
assert(x != z);
assert(z != x);
}
// Equality with T and Exception
@system unittest {
int n = 123;
Exception e = new Exception("oops");
Expected!int x = n;
Expected!int y = e;
() @safe {
assert(x == n);
assert(y != n);
assert(x != 456);
}();
assert(x != e);
assert(y == e);
assert(y != new Exception("oh no"));
}
// hasValue
@safe nothrow unittest {
Expected!int x = 123;
Expected!int y = new Exception("oops");
assert(x.hasValue);
assert(!y.hasValue);
}
// value
@safe unittest {
import std.exception: collectException;
Expected!int x = 123;
Expected!int y = new Exception("oops");
assert(x.value == 123);
assert(collectException(y.value).msg == "oops");
}
// error
@system unittest {
Exception e = new Exception("oops");
Expected!int x = e;
assert(x.error == e);
}
// valueOr
@safe nothrow unittest {
Expected!int x = 123;
Expected!int y = new Exception("oops");
assert(x.valueOr(456) == 123);
assert(y.valueOr(456) == 456);
}
// const(Expected)
@safe unittest {
const(Expected!int) x = 123;
const(Expected!int) y = new Exception("oops");
// hasValue
assert(x.hasValue);
assert(!y.hasValue);
// value
assert(x.value == 123);
// error
assert(y.error.msg == "oops");
// valueOr
assert(x.valueOr(456) == 123);
assert(y.valueOr(456) == 456);
}
// Explicit error type
@safe unittest {
import std.exception: assertThrown;
Expected!(int, string) x = 123;
Expected!(int, string) y = "oops";
// haValue
assert(x.hasValue);
assert(!y.hasValue);
// value
assert(x.value == 123);
assertThrown!(Unexpected!string)(y.value);
// error
assert(y.error == "oops");
// valueOr
assert(x.valueOr(456) == 123);
assert(y.valueOr(456) == 456);
}
/**
* Creates an `Expected` object from an expected value, with type inference.
*/
Expected!(T, E) expected(T, E = Exception)(T value)
{
return Expected!(T, E)(value);
}
// Default error type
@safe nothrow unittest {
assert(__traits(compiles, expected(123)));
assert(is(typeof(expected(123)) == Expected!int));
}
// Explicit error type
@safe nothrow unittest {
assert(__traits(compiles, expected!(int, string)(123)));
assert(is(typeof(expected!(int, string)(123)) == Expected!(int, string)));
}
/**
* Creates an `Expected` object from an error value.
*/
Expected!(T, E) missing(T, E)(E err)
{
return Expected!(T, E)(err);
}
@safe nothrow unittest {
Exception e = new Exception("oops");
assert(__traits(compiles, missing!int(e)));
assert(is(typeof(missing!int(e)) == Expected!int));
}
@safe nothrow unittest {
auto x = missing!int("oops");
assert(__traits(compiles, missing!int("oops")));
assert(is(typeof(missing!int("oops")) == Expected!(int, string)));
}
deprecated("Renamed to `missing`")
Expected!(T, E) unexpected(T, E)(E err)
{
return missing!T(err);
}
/**
* Applies a function to the expected value in an `Expected` object.
*
* If no expected value is present, the original error value is passed through
* unchanged, and the function is not called.
*
* Returns:
* A new `Expected` object containing the result.
*/
template map(alias fun)
{
/**
* The actual `map` function.
*
* Params:
* self = an [Expected] object.
*/
auto map(T, E)(Expected!(T, E) self)
if (is(typeof(fun(self.value))))
{
import sumtype: match;
alias U = typeof(fun(self.value));
return self.data.match!(
(T value) => expected!(U, E)(fun(value)),
(E err) => missing!U(err)
);
}
}
@safe unittest {
import std.math: approxEqual;
Expected!int x = 123;
Expected!int y = new Exception("oops");
double half(int n) { return n / 2.0; }
assert(__traits(compiles, () nothrow {
x.map!half;
}));
assert(x.map!half.value.approxEqual(61.5));
assert(y.map!half.error.msg == "oops");
alias mapHalf = map!half;
assert(mapHalf(Expected!int(123)).value.approxEqual(61.5));
}
@safe unittest {
Expected!(int, string) x = 123;
Expected!(int, string) y = "oops";
assert(x.map!(n => n*2).value == 246);
assert(y.map!(n => n*2).error == "oops");
}
/**
* Forwards the expected value in an `Expected` object to a function that
* returns an `Expected` result.
*
* If the original `Expected` object contains an error value, it is passed
* through to the result, and the function is not called.
*
* Returns:
* The `Expected` object returned from the function, or an `Expected` object
* of the same type containing the original error value.
*/
template flatMap(alias fun)
{
/**
* The actual `flatMap` function.
*
* Params:
* self = an [Expected] object
*/
auto flatMap(T, E1)(Expected!(T, E1) self)
if (is(typeof(fun(self.value)) == Expected!(U, E2), U, E2)
&& is(E1 : E2))
{
import sumtype: match;
alias ExpectedUE2 = typeof(fun(self.value));
alias E2 = typeof(ExpectedUE2.init.error());
return self.data.match!(
(T value) => fun(value),
(E1 err) => ExpectedUE2(cast(E2) err)
);
}
}
@safe unittest {
import std.math: approxEqual;
Expected!int x = 123;
Expected!int y = 0;
Expected!int z = new Exception("oops");
Expected!double recip(int n)
{
if (n == 0) {
return missing!double(new Exception("Division by zero"));
} else {
return expected(1.0 / n);
}
}
assert(__traits(compiles, () nothrow {
x.flatMap!recip;
}));
assert(x.flatMap!recip.value.approxEqual(1.0/123));
assert(y.flatMap!recip.error.msg == "Division by zero");
assert(z.flatMap!recip.error.msg == "oops");
alias flatMapRecip = flatMap!recip;
assert(flatMapRecip(Expected!int(123)).value.approxEqual(1.0/123));
}
@safe unittest {
import std.math: approxEqual;
Expected!(int, string) x = 123;
Expected!(int, string) y = 0;
Expected!(int, string) z = "oops";
Expected!(double, string) recip(int n)
{
if (n == 0) {
return missing!double("Division by zero");
} else {
return expected!(double, string)(1.0 / n);
}
}
assert(__traits(compiles, () nothrow {
x.flatMap!recip;
}));
assert(x.flatMap!recip.value.approxEqual(1.0/123));
assert(y.flatMap!recip.error == "Division by zero");
assert(z.flatMap!recip.error == "oops");
}
deprecated("Renamed to `flatMap`")
template andThen(alias fun)
{
alias andThen = flatMap!fun;
}
| D |
$NetBSD$
Stolen from https://github.com/nrTQgc/druntime/tree/netbsd
--- runtime/druntime/src/core/stdc/stdio.d.orig 2016-02-13 20:02:16.000000000 +0000
+++ runtime/druntime/src/core/stdc/stdio.d
@@ -25,6 +25,10 @@ private
{
import core.sys.posix.sys.types;
}
+ version (NetBSD)
+ {
+ import core.sys.posix.sys.types;
+ }
}
extern (C):
@@ -166,6 +170,37 @@ else version ( FreeBSD )
long _mbstateL;
}
}
+else version ( NetBSD )
+{
+ enum
+ {
+ ///
+ BUFSIZ = 1024,
+ ///
+ EOF = -1,
+ ///
+ FOPEN_MAX = 20,
+ ///
+ FILENAME_MAX = 1024,
+ ///
+ TMP_MAX = 308915776,
+ ///
+ L_tmpnam = 1024
+ }
+
+ struct __sbuf
+ {
+ ubyte *_base;
+ int _size;
+ }
+
+ union __mbstate_t // <sys/_types.h>
+ {
+ char[128] _mbstate8;
+ long _mbstateL;
+ }
+}
+
else version (Solaris)
{
enum
@@ -392,6 +427,50 @@ else version( FreeBSD )
///
alias shared(__sFILE) FILE;
}
+else version( NetBSD )
+{
+ ///
+ alias off_t fpos_t;
+
+ ///
+ struct __sFILE
+ {
+ ubyte* _p;
+ int _r;
+ int _w;
+ ushort _flags;
+ short _file;
+ __sbuf _bf;
+ int _lbfsize;
+
+ void* _cookie;
+ int function(void*) _close;
+ ssize_t function(void*, char*, size_t) _read;
+ fpos_t function(void*, fpos_t, int) _seek;
+ ssize_t function(void*, in char*, size_t) _write;
+
+ __sbuf _ub;
+ ubyte* _up;
+ int _ur;
+
+ ubyte[3] _ubuf;
+ ubyte[1] _nbuf;
+
+ int function(void *) _flush;
+ /* Formerly used by fgetln/fgetwln; kept for binary compatibility */
+ char[__sbuf.sizeof - _flush.sizeof] _lb_unused;
+
+
+ int _blksize;
+ off_t _offset;
+ static assert(off_t.sizeof==8);
+ }
+
+ ///
+ alias __sFILE _iobuf;
+ ///
+ alias shared(__sFILE) FILE;
+}
else version (Solaris)
{
///
@@ -637,6 +716,29 @@ else version( FreeBSD )
///
alias __stderrp stderr;
}
+else version( NetBSD )
+{
+ enum
+ {
+ ///
+ _IOFBF = 0,
+ ///
+ _IOLBF = 1,
+ ///
+ _IONBF = 2,
+ }
+
+ private extern __gshared FILE[3] __sF;
+ @property auto __stdin() { return &__sF[0]; }
+ @property auto __stdout() { return &__sF[1]; }
+ @property auto __stderr() { return &__sF[2]; }
+ ///
+ alias __stdin stdin;
+ ///
+ alias __stdout stdout;
+ ///
+ alias __stderr stderr;
+}
else version (Solaris)
{
enum
@@ -1039,6 +1141,28 @@ else version( FreeBSD )
///
int vsnprintf(char* s, size_t n, in char* format, va_list arg);
}
+else version( NetBSD )
+{
+ // No unsafe pointer manipulation.
+ @trusted
+ {
+ ///
+ void rewind(FILE*);
+ ///
+ pure void clearerr(FILE*);
+ ///
+ pure int feof(FILE*);
+ ///
+ pure int ferror(FILE*);
+ ///
+ int fileno(FILE*);
+ }
+
+ ///
+ int snprintf(char* s, size_t n, in char* format, ...);
+ ///
+ int vsnprintf(char* s, size_t n, in char* format, va_list arg);
+}
else version (Solaris)
{
// No unsafe pointer manipulation.
| D |
/**
Copyright: Copyright (c) 2013-2014 Andrey Penechko.
License: a$(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module emulator.dcpu.devices.lem1802;
import std.stdio;
import anchovy.graphics.bitmap;
import emulator.dcpu.devices.idevice;
import emulator.dcpu.emulator;
import emulator.dcpu.dcpu;
import emulator.utils.undoproxy;
@trusted nothrow:
/++
+ NE_LEM1802 v1.0
+ Low Energy Monitor
+ See 'docs/LEM1802 monitor.txt' for specification.
+/
private struct Lem1802Registers
{
ushort fontAddress;
ushort videoAddress;
ushort paletteAddress;
ushort borderColor;
bool blinkPhase;
bool enabled = false;
bool splash = false;
}
class Lem1802(Cpu) : IDevice!Cpu
{
protected:
Emulator!Cpu _emulator;
Cpu* _dcpu;
Bitmap _bitmap;
UndoableStruct!(Lem1802Registers, ushort) regs;
bool showSplash = true;
uint blinkInterval = 70000;
uint splashDelay = 50000;
enum numRows = 12;
enum numCols = 32;
enum charWidth = 4;
enum charHeight = 8;
enum borderSize = 4;
enum screenWidth = numCols * charWidth + borderSize * 2;
enum screenHeight = numRows * charHeight + borderSize * 2;
public:
this()
{
_bitmap = new Bitmap(screenWidth, screenHeight, 4);
}
Bitmap bitmap() @property
{
return _bitmap;
}
override void attachEmulator(Emulator!Cpu emulator)
{
_emulator = emulator;
_dcpu = &emulator.dcpu;
(cast(uint[])_bitmap.data)[] = 0xFF000000;
regs.enabled = false;
regs.splash = false;
regs.fontAddress = 0;
regs.videoAddress = 0;
regs.paletteAddress = 0;
regs.borderColor = 0;
_bitmap.dataChanged.emit();
}
/// Handles hardware interrupt and returns a number of cycles.
override uint handleInterrupt()
{
ushort aRegister = _emulator.dcpu.regs.a;
ushort bRegister = _emulator.dcpu.regs.b;
switch(aRegister)
{
case 0:
mapScreen(bRegister);
return 0;
case 1:
mapFont(bRegister);
return 0;
case 2:
mapPalette(bRegister);
return 0;
case 3:
setBorderColor(bRegister);
return 0;
case 4:
dumpFont(bRegister);
return 256;
case 5:
dumpPalette(bRegister);
return 16;
default:
break;
}
return 0;
}
/// Called every application frame.
/// Can be used to update screens.
override void updateFrame()
{
if (regs.enabled)
{
if (regs.splash && showSplash)
drawSplash();
else
repaintScreen();
}
else
clearScreen();
}
override void handleUpdateQuery(ref ulong delay)
{
if (regs.splash) // remove splash
{
delay = blinkInterval;
regs.splash = false;
}
else
{
regs.blinkPhase = !regs.blinkPhase;
delay = blinkInterval;
}
}
/// Returns: 32 bit word identifying the hardware id.
override uint hardwareId() @property
{
return 0x7349f615;
}
/// Returns: 16 bit word identifying the hardware version.
override ushort hardwareVersion() @property
{
return 0x1802;
}
/// Returns: 32 bit word identifying the manufacturer
override uint manufacturer() @property
{
return 0x1c6c8b36;
}
override void commitFrame(ulong frameNumber)
{
regs.commitFrame(frameNumber);
}
override void discardFrame()
{
regs.discardFrame();
}
override void undoFrames(ulong numFrames)
{
regs.undoFrames(numFrames);
}
override void discardUndoStack()
{
regs.discardUndoStack();
}
override size_t undoStackSize() @property
{
return regs.undoStackSize;
}
protected:
void repaintScreen()
{
if (_dcpu is null || regs.videoAddress == 0) return;
foreach(line; 0..numRows)
{
foreach(column; 0..numCols)
{
ushort memoryAddress = (regs.videoAddress + line * numCols + column) & 0xFFFF;
drawChar(_dcpu.mem[memoryAddress], column, line);
}
}
_bitmap.dataChanged.emit();
}
void clearScreen()
{
(cast(uint[])_bitmap.data)[] = 0xFF000000;
_bitmap.dataChanged.emit();
}
void drawChar(ushort charData, size_t x, size_t y)
{
uint charIndex = charData & 0x7F;
bool blinkBit = (charData & 0x80) > 0;
ushort foreIndex = (charData & 0xF000) >> 12;
ushort backIndex = (charData & 0xF00) >> 8;
uint foreRGB = paletteToRGB8(foreIndex);
uint backRGB = paletteToRGB8(backIndex);
if (blinkBit && regs.blinkPhase)
{
fillCell(x, y, backRGB);
}
else if (regs.fontAddress == 0)
{
drawCell(x, y, foreRGB, backRGB, (cast(uint[])defaultFont)[charIndex]);
}
else
{
drawCell(x, y, foreRGB, backRGB, _dcpu.mem[(regs.fontAddress + charIndex*2) & 0xFFFF] |
_dcpu.mem[(regs.fontAddress + charIndex*2 + 1) & 0xFFFF] << 16);
}
drawBorder();
}
uint paletteToRGB8(ushort colorIndex)
{
ushort rgb12color;
if (regs.paletteAddress == 0)
{
rgb12color = defaultPalette[colorIndex & 0xF];
}
else
{
rgb12color = _dcpu.mem[(regs.paletteAddress + (colorIndex & 0xF)) & 0xFFFF];
}
return ((rgb12color & 0xF) << 16) * 17 +
((rgb12color & 0xF0) << 4) * 17 +
((rgb12color & 0xF00) >> 8) * 17 +
0xFF000000;
}
void fillCell(size_t x, size_t y, uint color)
{
uint cellX = borderSize + x * charWidth;
uint cellY = borderSize + y * charHeight;
uint[] data = cast(uint[])_bitmap.data;
size_t dataPos;
uint[] cellLine;
foreach(i; 0..8)
{
dataPos = cellX + screenWidth * (cellY + i);
cellLine = data[dataPos .. dataPos + 4];
cellLine[] = color;
}
}
void drawCell(size_t x, size_t y, uint foreColor, uint backColor, uint charData)
{
uint cellX = borderSize + x * charWidth;
uint cellY = borderSize + y * charHeight;
uint[] colorData = cast(uint[])_bitmap.data;
size_t dataPos;
uint[] cellLine;
foreach(i; 0..8)
{
dataPos = cellX + screenWidth * (cellY + i);
cellLine = colorData[dataPos .. dataPos + 4];
cellLine[0] = charData & (1 << (i + 8)) ? foreColor : backColor;
cellLine[1] = charData & (1 << (i + 0)) ? foreColor : backColor;
cellLine[2] = charData & (1 << (i + 24)) ? foreColor : backColor;
cellLine[3] = charData & (1 << (i + 16)) ? foreColor : backColor;
}
}
void drawBorder()
{
uint borderRgb = paletteToRGB8(regs.borderColor);
uint[] colorData = cast(uint[])_bitmap.data;
colorData[0..borderSize * screenWidth][] = borderRgb;
size_t topOffset;
foreach(line; borderSize..screenHeight - borderSize)
{
topOffset = line * screenWidth;
colorData[topOffset..topOffset + borderSize][] = borderRgb;
colorData[topOffset + screenWidth - borderSize .. topOffset + screenWidth][] = borderRgb;
}
colorData[$-borderSize * screenWidth..$][] = borderRgb;
}
void drawSplash()
{
import std.bitmanip;
(cast(uint[])_bitmap.data)[] = splashBackRgb;
BitArray array;
array.init(cast(void[])splashImage, splashImage.length * 16);
foreach(line; 0..splashHeight)
{
foreach(col; 0.. splashWidth)
{
(cast(uint[])_bitmap.data)[(splashY+line+borderSize) * bitmap.size.x + splashX + col + borderSize] =
array[line * splashWidth + col] ? splashForeRgb : splashBackRgb;
}
}
_bitmap.dataChanged.emit();
}
void mapScreen(ushort b)
{
if (b != 0 && regs.videoAddress == 0)
{
regs.splash = true;
regs.enabled = true;
drawSplash();
_dcpu.updateQueue.addQuery(this, splashDelay);
}
else if (b == 0)
{
(cast(uint[])_bitmap.data)[] = 0xFF000000;
_dcpu.updateQueue.removeQueries(this);
regs.enabled = false;
}
regs.videoAddress = b;
}
void mapFont(ushort b)
{
regs.fontAddress = b;
}
void mapPalette(ushort b)
{
regs.paletteAddress = b;
}
void setBorderColor(ushort b)
{
regs.borderColor = b & 0xF;
}
void dumpFont(ushort b)
{
ushort pointer = b;
foreach(word; cast(ushort[])defaultFont)
{
_dcpu.mem[pointer] = word;
++pointer;
}
}
void dumpPalette(ushort b)
{
ushort pointer = b;
foreach(word; defaultPalette)
{
_dcpu.mem[pointer] = word;
++pointer;
}
}
}
static immutable ushort[] defaultPalette = [
0x000, 0x00a, 0x0a0, 0x0aa,
0xa00, 0xa0a, 0xa50, 0xaaa,
0x555, 0x55f, 0x5f5, 0x5ff,
0xf55, 0xf5f, 0xff5, 0xfff
];
static immutable ushort[] defaultFont = [
0xb79e, 0x388e, 0x722c, 0x75f4, 0x19bb, 0x7f8f, 0x85f9, 0xb158,
0x242e, 0x2400, 0x082a, 0x0800, 0x0008, 0x0000, 0x0808, 0x0808,
0x00ff, 0x0000, 0x00f8, 0x0808, 0x08f8, 0x0000, 0x080f, 0x0000,
0x000f, 0x0808, 0x00ff, 0x0808, 0x08f8, 0x0808, 0x08ff, 0x0000,
0x080f, 0x0808, 0x08ff, 0x0808, 0x6633, 0x99cc, 0x9933, 0x66cc,
0xfef8, 0xe080, 0x7f1f, 0x0701, 0x0107, 0x1f7f, 0x80e0, 0xf8fe,
0x5500, 0xaa00, 0x55aa, 0x55aa, 0xffaa, 0xff55, 0x0f0f, 0x0f0f,
0xf0f0, 0xf0f0, 0x0000, 0xffff, 0xffff, 0x0000, 0xffff, 0xffff,
0x0000, 0x0000, 0x005f, 0x0000, 0x0300, 0x0300, 0x3e14, 0x3e00,
0x266b, 0x3200, 0x611c, 0x4300, 0x3629, 0x7650, 0x0002, 0x0100,
0x1c22, 0x4100, 0x4122, 0x1c00, 0x1408, 0x1400, 0x081c, 0x0800,
0x4020, 0x0000, 0x0808, 0x0800, 0x0040, 0x0000, 0x601c, 0x0300,
0x3e49, 0x3e00, 0x427f, 0x4000, 0x6259, 0x4600, 0x2249, 0x3600,
0x0f08, 0x7f00, 0x2745, 0x3900, 0x3e49, 0x3200, 0x6119, 0x0700,
0x3649, 0x3600, 0x2649, 0x3e00, 0x0024, 0x0000, 0x4024, 0x0000,
0x0814, 0x2200, 0x1414, 0x1400, 0x2214, 0x0800, 0x0259, 0x0600,
0x3e59, 0x5e00, 0x7e09, 0x7e00, 0x7f49, 0x3600, 0x3e41, 0x2200,
0x7f41, 0x3e00, 0x7f49, 0x4100, 0x7f09, 0x0100, 0x3e41, 0x7a00,
0x7f08, 0x7f00, 0x417f, 0x4100, 0x2040, 0x3f00, 0x7f08, 0x7700,
0x7f40, 0x4000, 0x7f06, 0x7f00, 0x7f01, 0x7e00, 0x3e41, 0x3e00,
0x7f09, 0x0600, 0x3e61, 0x7e00, 0x7f09, 0x7600, 0x2649, 0x3200,
0x017f, 0x0100, 0x3f40, 0x7f00, 0x1f60, 0x1f00, 0x7f30, 0x7f00,
0x7708, 0x7700, 0x0778, 0x0700, 0x7149, 0x4700, 0x007f, 0x4100,
0x031c, 0x6000, 0x417f, 0x0000, 0x0201, 0x0200, 0x8080, 0x8000,
0x0001, 0x0200, 0x2454, 0x7800, 0x7f44, 0x3800, 0x3844, 0x2800,
0x3844, 0x7f00, 0x3854, 0x5800, 0x087e, 0x0900, 0x4854, 0x3c00,
0x7f04, 0x7800, 0x047d, 0x0000, 0x2040, 0x3d00, 0x7f10, 0x6c00,
0x017f, 0x0000, 0x7c18, 0x7c00, 0x7c04, 0x7800, 0x3844, 0x3800,
0x7c14, 0x0800, 0x0814, 0x7c00, 0x7c04, 0x0800, 0x4854, 0x2400,
0x043e, 0x4400, 0x3c40, 0x7c00, 0x1c60, 0x1c00, 0x7c30, 0x7c00,
0x6c10, 0x6c00, 0x4c50, 0x3c00, 0x6454, 0x4c00, 0x0836, 0x4100,
0x0077, 0x0000, 0x4136, 0x0800, 0x0201, 0x0201, 0x0205, 0x0200
];
// 1bit image. 1 - splashForeRgb, 0 - splashBackRgb.
// only center piece 52 x 36.
static immutable ushort[] splashImage = [
0x6000, 0x0180, 0x0000, 0x0000, 0x1806, 0x0000, 0x0000, 0x80e0, 0x0001, 0x0000,
0x0c00, 0x0018, 0x0000, 0xc000, 0x0181, 0x0000, 0x3000, 0x1818, 0x0000, 0x0000,
0x8383, 0x0001, 0x0000, 0x3070, 0x0018, 0x0000, 0x0700, 0x8187, 0x0fff, 0xf000,
0x1860, 0xfff8, 0x0000, 0x8e0f, 0x0001, 0x0000, 0xc1f0, 0x0018, 0x0000, 0x1b00,
0x019c, 0x0000, 0xb000, 0x1983, 0x0000, 0x0000, 0xb833, 0x0001, 0x0000, 0x0730,
0x001b, 0x0000, 0x6300, 0x01f0, 0x0000, 0x3000, 0x1e0e, 0x0000, 0x0000, 0xe0c3,
0xff81, 0x000f, 0x1c30, 0xf81c, 0x00ff, 0x8300, 0x01c1, 0x0000, 0x3000, 0x1838,
0x0000, 0x0000, 0x8303, 0x0001, 0x0000, 0x7030, 0x0000, 0x0000, 0x0300, 0x0006,
0x0000, 0x3000, 0x00e0, 0x0000, 0x0000, 0x0c03, 0x0000, 0x0000, 0xc030, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x6530, 0xb8b8, 0xcbba,
0x75ca, 0x8987, 0x9919, 0x5e64, 0xb852, 0x92bb, 0xaa6a, 0x0000,
];
enum splashBackRgb = 0xFFAA0000;
enum splashForeRgb = 0xFF00FFFF;
enum splashWidth = 52;
enum splashHeight = 36;
enum splashX = 38;
enum splashY = 25; | D |
import std.stdio;
import std.algorithm.iteration;
import std.exception;
double beta1(double[] x, double[] y, double x_bar, double y_bar)
{
/**
Calculates the slope parameter for the linear regression of 'y' wrt 'x'
*/
enforce(x.length==y.length, "x and y should be the same length!");
double num=0, denom=0;
int whilectr = 0;
while (whilectr < x.length)
{
num += (x[whilectr] - x_bar) * (y[whilectr] - y_bar);
whilectr++;
}
foreach (xval; x)
denom += ((xval-x_bar)*(xval-x_bar));
return num / denom;
}
void main()
{
/+
Everything is done, so sit back and enjoy!
/+
Nested comments should be supported, no matter what's inside /*//*/
+/
+/
double[] x = [0b1, 2, 3, 4, 5, 6.5, 7, 7.5, 8_000/1.0e+03, 8.5];
double[] y = [1, 2, 3, 3.2, 3.4, 40e-1, 4.2, 4.3, 4.35, 4.37];
double x_bar, y_bar, b1, _0;
//Mean and regression parameters calculation
x_bar = sum(x)/(cast(double)x.length);
y_bar = sum(y)/(cast(double)y.length);
b1 = beta1(x, y, x_bar, y_bar);
_0 = y_bar - (b1*x_bar);
/**/ /* Print result */ /**/
writefln("\"Slope\": %f", b1);
writefln("\"Intercept\": %f", _0);
///Parsing tests. Comment to compile
a = /+ // +/ 1;
a = /+ "+/" +/ 1";
a = /+ /* +/ *2/ 3;
}
| D |
/Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Smack.build/Debug-iphonesimulator/Smack.build/Objects-normal/x86_64/RoundedButton.o : /Users/slitovchenko/Documents/Smack/Smack/Controller/ProfileVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/ChannelVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/AddChannelVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/LoginVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/AvatarPickerVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/ChatVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/CreateAccountVC.swift /Users/slitovchenko/Documents/Smack/Smack/Services/UserDataService.swift /Users/slitovchenko/Documents/Smack/Smack/Services/MessageService.swift /Users/slitovchenko/Documents/Smack/Smack/Services/AuthService.swift /Users/slitovchenko/Documents/Smack/Smack/Services/SocketService.swift /Users/slitovchenko/Documents/Smack/Smack/View/CircleImage.swift /Users/slitovchenko/Documents/Smack/Smack/Model/Message.swift /Users/slitovchenko/Documents/Smack/Smack/AppDelegate.swift /Users/slitovchenko/Documents/Smack/Smack/Model/Channel.swift /Users/slitovchenko/Documents/Smack/Smack/View/MessageCell.swift /Users/slitovchenko/Documents/Smack/Smack/View/ChannelCell.swift /Users/slitovchenko/Documents/Smack/Smack/View/AvatarCell.swift /Users/slitovchenko/Documents/Smack/Smack/View/RoundedButton.swift /Users/slitovchenko/Documents/Smack/Smack/Utilities/Constants.swift /Users/slitovchenko/Documents/Smack/Smack/View/KeyboardBoundView.swift /Users/slitovchenko/Documents/Smack/Smack/View/GradientView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Modules/SwiftyJSON.swiftmodule/x86_64.swiftmodule /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Socket.IO-Client-Swift/SocketIO.framework/Modules/SocketIO.swiftmodule/x86_64.swiftmodule /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Modules/Starscream.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Headers/SwiftyJSON-umbrella.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Headers/Starscream-umbrella.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Socket.IO-Client-Swift/SocketIO.framework/Headers/Socket.IO-Client-Swift-umbrella.h /Users/slitovchenko/Documents/Smack/Smack/Supporting\ Files/Smack-Bridging-Header.h /Users/slitovchenko/Documents/Smack/Smack/Supporting\ Files/SWRevealViewController.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Headers/SwiftyJSON-Swift.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Socket.IO-Client-Swift/SocketIO.framework/Headers/SocketIO-Swift.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Headers/Starscream-Swift.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Modules/module.modulemap /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Socket.IO-Client-Swift/SocketIO.framework/Modules/module.modulemap /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/module.modulemap /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Smack.build/Debug-iphonesimulator/Smack.build/Objects-normal/x86_64/RoundedButton~partial.swiftmodule : /Users/slitovchenko/Documents/Smack/Smack/Controller/ProfileVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/ChannelVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/AddChannelVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/LoginVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/AvatarPickerVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/ChatVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/CreateAccountVC.swift /Users/slitovchenko/Documents/Smack/Smack/Services/UserDataService.swift /Users/slitovchenko/Documents/Smack/Smack/Services/MessageService.swift /Users/slitovchenko/Documents/Smack/Smack/Services/AuthService.swift /Users/slitovchenko/Documents/Smack/Smack/Services/SocketService.swift /Users/slitovchenko/Documents/Smack/Smack/View/CircleImage.swift /Users/slitovchenko/Documents/Smack/Smack/Model/Message.swift /Users/slitovchenko/Documents/Smack/Smack/AppDelegate.swift /Users/slitovchenko/Documents/Smack/Smack/Model/Channel.swift /Users/slitovchenko/Documents/Smack/Smack/View/MessageCell.swift /Users/slitovchenko/Documents/Smack/Smack/View/ChannelCell.swift /Users/slitovchenko/Documents/Smack/Smack/View/AvatarCell.swift /Users/slitovchenko/Documents/Smack/Smack/View/RoundedButton.swift /Users/slitovchenko/Documents/Smack/Smack/Utilities/Constants.swift /Users/slitovchenko/Documents/Smack/Smack/View/KeyboardBoundView.swift /Users/slitovchenko/Documents/Smack/Smack/View/GradientView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Modules/SwiftyJSON.swiftmodule/x86_64.swiftmodule /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Socket.IO-Client-Swift/SocketIO.framework/Modules/SocketIO.swiftmodule/x86_64.swiftmodule /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Modules/Starscream.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Headers/SwiftyJSON-umbrella.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Headers/Starscream-umbrella.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Socket.IO-Client-Swift/SocketIO.framework/Headers/Socket.IO-Client-Swift-umbrella.h /Users/slitovchenko/Documents/Smack/Smack/Supporting\ Files/Smack-Bridging-Header.h /Users/slitovchenko/Documents/Smack/Smack/Supporting\ Files/SWRevealViewController.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Headers/SwiftyJSON-Swift.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Socket.IO-Client-Swift/SocketIO.framework/Headers/SocketIO-Swift.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Headers/Starscream-Swift.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Modules/module.modulemap /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Socket.IO-Client-Swift/SocketIO.framework/Modules/module.modulemap /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/module.modulemap /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Smack.build/Debug-iphonesimulator/Smack.build/Objects-normal/x86_64/RoundedButton~partial.swiftdoc : /Users/slitovchenko/Documents/Smack/Smack/Controller/ProfileVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/ChannelVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/AddChannelVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/LoginVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/AvatarPickerVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/ChatVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/CreateAccountVC.swift /Users/slitovchenko/Documents/Smack/Smack/Services/UserDataService.swift /Users/slitovchenko/Documents/Smack/Smack/Services/MessageService.swift /Users/slitovchenko/Documents/Smack/Smack/Services/AuthService.swift /Users/slitovchenko/Documents/Smack/Smack/Services/SocketService.swift /Users/slitovchenko/Documents/Smack/Smack/View/CircleImage.swift /Users/slitovchenko/Documents/Smack/Smack/Model/Message.swift /Users/slitovchenko/Documents/Smack/Smack/AppDelegate.swift /Users/slitovchenko/Documents/Smack/Smack/Model/Channel.swift /Users/slitovchenko/Documents/Smack/Smack/View/MessageCell.swift /Users/slitovchenko/Documents/Smack/Smack/View/ChannelCell.swift /Users/slitovchenko/Documents/Smack/Smack/View/AvatarCell.swift /Users/slitovchenko/Documents/Smack/Smack/View/RoundedButton.swift /Users/slitovchenko/Documents/Smack/Smack/Utilities/Constants.swift /Users/slitovchenko/Documents/Smack/Smack/View/KeyboardBoundView.swift /Users/slitovchenko/Documents/Smack/Smack/View/GradientView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Modules/SwiftyJSON.swiftmodule/x86_64.swiftmodule /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Socket.IO-Client-Swift/SocketIO.framework/Modules/SocketIO.swiftmodule/x86_64.swiftmodule /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Modules/Starscream.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Headers/SwiftyJSON-umbrella.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Headers/Starscream-umbrella.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Socket.IO-Client-Swift/SocketIO.framework/Headers/Socket.IO-Client-Swift-umbrella.h /Users/slitovchenko/Documents/Smack/Smack/Supporting\ Files/Smack-Bridging-Header.h /Users/slitovchenko/Documents/Smack/Smack/Supporting\ Files/SWRevealViewController.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Headers/SwiftyJSON-Swift.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Socket.IO-Client-Swift/SocketIO.framework/Headers/SocketIO-Swift.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Headers/Starscream-Swift.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework/Modules/module.modulemap /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Socket.IO-Client-Swift/SocketIO.framework/Modules/module.modulemap /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/module.modulemap /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
module util.bch;
/**
* This function will compute what 8 5-bit values to XOR into the last 8 input
* values, in order to make the checksum 0. These 8 values are packed together
* in a single 40-bit integer. The higher bits correspond to earlier values.
*/
ulong polyMod(const ubyte[] v) {
/**
* The input is interpreted as a list of coefficients of a polynomial over F
* = GF(32), with an implicit 1 in front. If the input is [v0,v1,v2,v3,v4],
* that polynomial is v(x) = 1*x^5 + v0*x^4 + v1*x^3 + v2*x^2 + v3*x + v4.
* The implicit 1 guarantees that [v0,v1,v2,...] has a distinct checksum
* from [0,v0,v1,v2,...].
*
* The output is a 40-bit integer whose 5-bit groups are the coefficients of
* the remainder of v(x) mod g(x), where g(x) is the cashaddr generator, x^8
* + {19}*x^7 + {3}*x^6 + {25}*x^5 + {11}*x^4 + {25}*x^3 + {3}*x^2 + {19}*x
* + {1}. g(x) is chosen in such a way that the resulting code is a BCH
* code, guaranteeing detection of up to 4 errors within a window of 1025
* characters. Among the various possible BCH codes, one was selected to in
* fact guarantee detection of up to 5 errors within a window of 160
* characters and 6 erros within a window of 126 characters. In addition,
* the code guarantee the detection of a burst of up to 8 errors.
*
* Note that the coefficients are elements of GF(32), here represented as
* decimal numbers between {}. In this finite field, addition is just XOR of
* the corresponding numbers. For example, {27} + {13} = {27 ^ 13} = {22}.
* Multiplication is more complicated, and requires treating the bits of
* values themselves as coefficients of a polynomial over a smaller field,
* GF(2), and multiplying those polynomials mod a^5 + a^3 + 1. For example,
* {5} * {26} = (a^2 + 1) * (a^4 + a^3 + a) = (a^4 + a^3 + a) * a^2 + (a^4 +
* a^3 + a) = a^6 + a^5 + a^4 + a = a^3 + 1 (mod a^5 + a^3 + 1) = {9}.
*
* During the course of the loop below, `c` contains the bitpacked
* coefficients of the polynomial constructed from just the values of v that
* were processed so far, mod g(x). In the above example, `c` initially
* corresponds to 1 mod (x), and after processing 2 inputs of v, it
* corresponds to x^2 + v0*x + v1 mod g(x). As 1 mod g(x) = 1, that is the
* starting value for `c`.
*/
ulong c = 1;
foreach (ubyte d; v) {
// We expect 5 bits digits.
assert(d == (d & 0x1f));
/**
* We want to update `c` to correspond to a polynomial with one extra
* term. If the initial value of `c` consists of the coefficients of
* c(x) = f(x) mod g(x), we modify it to correspond to
* c'(x) = (f(x) * x + d) mod g(x), where d is the next input to
* process.
*
* Simplifying:
* c'(x) = (f(x) * x + d) mod g(x)
* ((f(x) mod g(x)) * x + d) mod g(x)
* (c(x) * x + d) mod g(x)
* If c(x) = c0*x^5 + c1*x^4 + c2*x^3 + c3*x^2 + c4*x + c5, we want to
* compute
* c'(x) = (c0*x^5 + c1*x^4 + c2*x^3 + c3*x^2 + c4*x + c5) * x + d
* mod g(x)
* = c0*x^6 + c1*x^5 + c2*x^4 + c3*x^3 + c4*x^2 + c5*x + d
* mod g(x)
* = c0*(x^6 mod g(x)) + c1*x^5 + c2*x^4 + c3*x^3 + c4*x^2 +
* c5*x + d
* If we call (x^6 mod g(x)) = k(x), this can be written as
* c'(x) = (c1*x^5 + c2*x^4 + c3*x^3 + c4*x^2 + c5*x + d) + c0*k(x)
*/
// First, determine the value of c0:
ubyte c0 = (c >> 35) & 0x1f;
// Then compute c1*x^5 + c2*x^4 + c3*x^3 + c4*x^2 + c5*x + d:
c = ((c & 0x07ffffffff) << 5) ^ d;
// Finally, for each set bit n in c0, conditionally add {2^n}k(x):
if (c0 & 0x01) {
// k(x) = {19}*x^7 + {3}*x^6 + {25}*x^5 + {11}*x^4 + {25}*x^3 +
// {3}*x^2 + {19}*x + {1}
c ^= 0x98f2bc8e61;
}
if (c0 & 0x02) {
// {2}k(x) = {15}*x^7 + {6}*x^6 + {27}*x^5 + {22}*x^4 + {27}*x^3 +
// {6}*x^2 + {15}*x + {2}
c ^= 0x79b76d99e2;
}
if (c0 & 0x04) {
// {4}k(x) = {30}*x^7 + {12}*x^6 + {31}*x^5 + {5}*x^4 + {31}*x^3 +
// {12}*x^2 + {30}*x + {4}
c ^= 0xf33e5fb3c4;
}
if (c0 & 0x08) {
// {8}k(x) = {21}*x^7 + {24}*x^6 + {23}*x^5 + {10}*x^4 + {23}*x^3 +
// {24}*x^2 + {21}*x + {8}
c ^= 0xae2eabe2a8;
}
if (c0 & 0x10) {
// {16}k(x) = {3}*x^7 + {25}*x^6 + {7}*x^5 + {20}*x^4 + {7}*x^3 +
// {25}*x^2 + {3}*x + {16}
c ^= 0x1e4f43e470;
}
}
/**
* PolyMod computes what value to xor into the final values to make the
* checksum 0. However, if we required that the checksum was 0, it would be
* the case that appending a 0 to a valid list of values would result in a
* new valid list. For that reason, cashaddr requires the resulting checksum
* to be 1 instead.
*/
return c ^ 1;
}
unittest {
assert(polyMod([]) == 0);
foreach (ubyte c; 0 .. 32) {
assert(polyMod([c]) == (0x21 ^ c));
assert(polyMod([c, 0]) == (0x401 ^ (c << 5)));
assert(polyMod([c, 0, 0]) == (0x8001 ^ (c << 10)));
assert(polyMod([c, 0, 0, 0]) == (0x100001 ^ (c << 15)));
assert(polyMod([c, 0, 0, 0, 0]) == (0x2000001 ^ (c << 20)));
assert(polyMod([c, 0, 0, 0, 0, 0]) == (0x40000001 ^ (c << 25)));
assert(polyMod([c, 0, 0, 0, 0, 0, 0]) == (0x800000001 ^ (ulong(c) << 30)));
assert(polyMod([c, 0, 0, 0, 0, 0, 0, 0]) == (0x98f2bc8e60 ^ (ulong(c) << 35)));
}
assert(polyMod([
0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 2, 3, 4, 5, 6, 7,
8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23,
24, 25, 26, 27, 28, 29, 30, 31,
0, 0, 0, 0, 0, 0, 0, 0,
]) == 0x724afe7af2);
}
| D |
module charlotte.guarana;
import std.stdio;
import std.range;
import std.algorithm;
import std.typecons;
import std.parallelism;
import std.datetime;
import std.conv;
import std.math;
import std.random;
import core.cpuid;
import charlotte.answertypes;
import charlotte.problemreader;
import charlotte.problemtypes;
import charlotte.problemanalyzer;
import charlotte.toimpl;
bool rndPer(int p) {
return uniform(0, 100) < p;
}
struct PlacedStone {
Field field;
Place place;
}
class Guarana {
const Problem problem;
const void delegate(string[], int, int) findAnswerDelegate;
const Analyzer analyzed;
const int fieldCells;
const int stonesTotal;
const int stonesZukuTotal;
const PlacedStone[][] allPlacedStone;
StopWatch sw;
this(string problemName, void delegate(string[], int, int) findAnswer) {
sw.start();
problem = problemRead(problemName);
findAnswerDelegate = findAnswer;
analyzed = new Analyzer(problem).calcStone.calcAllPlace;
writeln(sw.peek().msecs,"msec");
fieldCells = problem.field.countEmptyCells;
stonesTotal = problem.stone.length.to!int;
stonesZukuTotal = analyzed.stone.map!(a => a.zuku).reduce!("a+b");
allPlacedStone = calcAllPlacedStone;
}
auto calcAllPlacedStone() {
PlacedStone[][] aps;
Place[][] placesShuffle = analyzed.places.map!dup.array;
aps = new PlacedStone[][stonesTotal];
foreach (i, s; parallel(problem.stone)) {
foreach (p; placesShuffle[i]) {
if (analyzed.stone[i].isSkip(p)) continue;
Stone stoneRotated = s.transform(p.flip, p.rotate);
if (stoneRotated.isProtrude(p.x, p.y)) continue;
Field placedStone = stoneRotated.putStoneOnField(p.x, p.y);
if (placedStone.isWrap(problem.field)) {
continue;
}
aps[i] ~= PlacedStone(placedStone, p);
}
}
return aps;
}
int start(int skipCount) {
int[][] allPlacedStoneOrder = new int[][stonesTotal];
foreach (stoneId, ref int[] order; allPlacedStoneOrder) {
order = iota(allPlacedStone[stoneId].length).map!(a => a.to!int).array;
}
bool passSmallStone = analyzed.stone.map!(a => a.zuku).filter!(a => a < 3).array.length < stonesTotal / 5;
writeln(passSmallStone ? "pass small stones" : "don't pass small stones");
int searchWidth = 0, searchDepth = 0;
LOOP: while (1) {
searchWidth += 4; //いじれる
searchDepth += 4; //いじれる
if (searchWidth > 100) return bestScore;
writeln("Guarana Search: ", searchWidth, " * ", searchDepth);
int passedZuku = fieldCells - stonesZukuTotal;
State state = new State(problem.field);
foreach (stoneId, ref ans; state.answerLs) {
if (passSmallStone && analyzed.stone[stoneId].zuku < 3 && !state.first) continue;
int[] candidate;
int[] scores =
iota(allPlacedStone[stoneId].length)
.map!(i => state.eval(allPlacedStone[stoneId][i], stoneId.to!short))
.array;
allPlacedStoneOrder[stoneId].sort!((a, b) => scores[a] > scores[b]);
foreach (i; allPlacedStoneOrder[stoneId]) {
if (rndPer(searchWidth / 4)) continue;
PlacedStone s = allPlacedStone[stoneId][i];
if (state.canPut(s, stoneId.to!short)) {
candidate ~= i;
if (candidate.length >= searchWidth) break;
}
}
int[] pZero = new int[candidate.length];
foreach (j, i; parallel(candidate)) {
PlacedStone ps = allPlacedStone[stoneId][i];
State nextState = state.dup;
nextState.put(ps, stoneId.to!short);
pZero[j] = nextState.possibilityZero(stoneId.to!int, searchDepth);
pZero[j] += nextState.pinhole * 4; //いじれる
}
int index = -1, min = 1024;
foreach (i, z; pZero) {
if (min > z) {
index = i.to!int;
min = z;
}
}
if (index != -1) {
state.put(allPlacedStone[stoneId][candidate[index]], stoneId.to!short);
ans = candidate[index].to!int;
write(stoneId);
} else {
write(".");
passedZuku += analyzed.stone[stoneId].zuku;
if (passedZuku > bestScore) {
writeln(" SKIP");
skipCount--;
if (skipCount <= 0) return bestScore;
continue LOOP;
}
}
}
foreach (stoneId, ref ans; state.answerLs) {
if (state.answerLs[stoneId] != -1) continue;
foreach (i, PlacedStone s; allPlacedStone[stoneId]) {
if (state.canPut(s, stoneId.to!short)) {
state.put(s, stoneId.to!short);
ans = i.to!int;
break;
}
}
}
findAnswer(state);
}
assert(0);
}
int bestScore = 1024;
int bestStones = 257;
void findAnswer(State state) {
string[] answer;
int score = fieldCells, usingStones = 0;
foreach (stoneId, ans; state.answerLs) {
if (ans == -1) answer ~= "";
else {
answer ~= allPlacedStone[stoneId][ans].place.toString;
score -= analyzed.stone[stoneId].zuku;
usingStones++;
}
}
writeln("Score:", score, " Stones:", usingStones, "\t", sw.peek().msecs, "msec");
if (bestScore <= score) return;
if (bestScore == score && bestStones <= usingStones) return;
bestScore = score;
bestStones = usingStones;
writeln(state);
writeln("Score:", score, " Stones:", usingStones, "\t", sw.peek().msecs, "msec");
findAnswerDelegate(answer, score, usingStones);
}
class State {
//-2障害物 -1空白 0~石
short[32][32] map;
int[] answerLs;
bool first = true;
this(Field f) {
foreach (y, ff; f) foreach(x, b; ff) {
map[y][x] = (b) ? -2 : -1;
}
answerLs = new int[stonesTotal];
foreach (ref i; answerLs) i = -1;
}
this(short[32][32] m, int[] ls, bool f) {
map = m;
answerLs = ls.dup;
first = f;
}
State dup() {
return new State(map, answerLs, first);
}
override string toString() const {
char[] str;
foreach (a; map) {
foreach (n; a) {
string block = toImpl16(n);
while (block.length < 2) block = '0'~block;
if (n == -1) block = " ";
if (n == -2) block = "[]";
str ~= block;
}
str ~= '\n';
}
return str.idup;
}
bool canPut(ref const PlacedStone ps, short stoneId) {
foreach (y, ff; ps.field) foreach(x, b; ff) {
if (!b) continue;
if (map[y][x] != -1) return false;
}
if (!first) {
foreach (y, ff; ps.field.bordering) foreach(x, b; ff) {
if (!b) continue;
if (map[y][x] >= 0 && map[y][x] < stoneId) return true;
}
return false;
}
return true;
}
void put(ref const PlacedStone ps, short stoneId) {
foreach (y, ff; ps.field) foreach(x, b; ff) {
if (!b) continue;
map[y][x] = stoneId;
}
first = false;
}
int eval(ref const PlacedStone ps, short stoneId) {
int score = 0;
foreach (y, ff; ps.field.bordering) foreach(x, b; ff) {
if (!b) continue;
if (map[y][x] >= 0 && map[y][x] < stoneId) score++;
}
return score;
}
ubyte[32][32] possibilityMap(int pos, int depth = 256) {
ubyte[32][32] pMap;
foreach (stoneId; pos .. min(stonesTotal, pos + depth)) {
if (answerLs[stoneId] != -1) continue;
if (analyzed.stone[stoneId].zuku == 1) continue;
bool[32][32] sMap;
L1: foreach (ps; allPlacedStone[stoneId]) {
foreach (y, ff; ps.field) foreach (x, b; ff) {
if (!b) continue;
if (map[y][x] != -1) continue L1;
}
foreach (y, ff; ps.field) foreach (x, b; ff) {
if (!b) continue;
sMap[y][x] = true;
}
}
foreach (y, ff; sMap) foreach (x, b; ff) {
if (!b) continue;
pMap[y][x]++;
}
}
return pMap;
}
int possibilityZero(int pos, int depth = 256) {
int countZero = 0;
ubyte[32][32] pMap = possibilityMap(pos, depth);
foreach (y, ff; pMap) foreach (x, b; ff) {
if (pMap[y][x] == 0 && map[y][x] == -1) countZero++;
}
return countZero;
}
int pinhole() const {
int countP = 0;
foreach (y, ff; map) foreach (x, b; ff) {
if (b != -1) continue;
if (((y == 0) || map[y - 1][x] != -1) &&
((x == 0) || map[y][x - 1] != -1) &&
((x == 31) || map[y][x + 1] != -1) &&
((y == 31) || map[y + 1][x] != -1)) {
countP++;
}
}
return countP;
}
}
}
| D |
import std;
struct Sighting {
real dist, angle;
}
struct Coord {
int x, y;
int manhattan_distance(Coord other) {
return abs(other.x - x) + abs(other.y - y);
}
Sighting sight(Coord other) {
auto
a = cast(real) abs(other.x - x),
b = cast(real) abs(other.y - y),
c = sqrt(a*a + b*b),
angle = atan2(cast(real)(y - other.y), cast(real)(x - other.x));
return Sighting(c, angle);
}
}
Coord[] can_see(Coord from, const ref bool[Coord] asteroids) {
Coord[real] can_see;
foreach (roid; asteroids.keys) {
if (from == roid) continue;
auto s = from.sight(roid);
if (s.angle in can_see) {
auto s2 = from.sight(can_see[s.angle]);
if (s.dist < s2.dist) {
can_see[s.angle] = roid;
}
} else {
can_see[s.angle] = roid;
}
}
return can_see.values;
}
bool obscures(Coord from, Coord a, Coord b) {
Sighting ab = from.sight(a), bb = from.sight(b);
return ab.angle == bb.angle && ab.dist < bb.dist;
}
unittest {
auto
From = Coord(0, 0),
A = Coord(3, 1),
B = Coord(3, 2),
C = Coord(3, 3),
D = Coord(2, 3),
E = Coord(1, 3),
F = Coord(2, 4),
G = Coord(4, 3);
assert(obscures(From, A, Coord(6, 2)));
assert(obscures(From, A, Coord(9, 3)));
assert(obscures(From, B, Coord(6, 4)));
assert(obscures(From, B, Coord(9, 6)));
assert(obscures(From, C, Coord(4, 4)));
assert(obscures(From, C, Coord(5, 5)));
assert(obscures(From, C, Coord(6, 6)));
assert(obscures(From, C, Coord(7, 7)));
assert(obscures(From, C, Coord(8, 8)));
assert(obscures(From, C, Coord(9, 9)));
assert(obscures(From, D, Coord(4, 6)));
assert(obscures(From, D, Coord(6, 9)));
assert(obscures(From, E, Coord(2, 6)));
assert(obscures(From, E, Coord(3, 9)));
assert(obscures(From, F, Coord(3, 6)));
assert(obscures(From, F, Coord(4, 8)));
assert(obscures(From, G, Coord(8, 6)));
assert(!obscures(From, G, Coord(9, 7)));
assert(!obscures(From, G, Coord(7, 6)));
}
unittest {
assert(obscures(Coord(3, 4), Coord(2, 2), Coord(1, 0)));
}
Nullable!Coord would_vaporize(Coord from, real angle, const ref bool[Coord] asteroids) {
typeof(return) result;
real dist = real.max;
foreach (roid; asteroids.keys) {
auto s = from.sight(roid);
if (approxEqual(s.angle, angle) && s.dist < dist) {
dist = s.dist;
result = nullable(roid);
}
}
return result;
}
void main() {
auto input = slurp!string("input.txt", "%s");
bool[Coord] asteroids;
auto laser = Coord(17, 23);
auto aim = PI_2;
foreach (row; iota(cast(int) input.length)) {
foreach (column; iota(cast(int) input[0].length)) {
switch (input[row][column]) {
case '.': break;
case '#': asteroids[Coord(column, row)] = true; break;
case 'X': laser = Coord(column, row); break;
default: assert(0);
}
}
}
auto destroyed = 0;
auto visible = can_see(laser, asteroids).map!(c => tuple(c, true)).assocArray;
//assert(visible.length > 200);
auto quadrant = 1;
while (visible.length > 0) {
auto v = would_vaporize(laser, aim, visible);
if (!v.isNull) {
writeln(quadrant, " ", visible.length, " laser destroyed ", ++destroyed, "th roid: ", v, " ", aim);
visible.remove(v);
if (destroyed == 200) {
writeln("200th destruction: ", v);
break;
}
}
switch (quadrant) {
case 1:
aim *= 1.00001;
if (aim > PI) {
aim *= -1;
quadrant = 2;
}
break;
case 2:
aim *= 0.99998;
if (aim > -PI_2) {
//aim = -PI_4;
quadrant = 3;
}
break;
case 3:
aim *= 0.99998;
if (aim.approxEqual(0.0)) {
aim = 0.0;
quadrant = 4;
}
break;
case 4:
aim += 0.00001;
if (aim > PI_2) {
quadrant = 1;
}
break;
default: assert(0);
}
}
}
| D |
/*
* This file was automatically generated by sel-utils and
* released under the MIT License.
*
* License: https://github.com/sel-project/sel-utils/blob/master/LICENSE
* Repository: https://github.com/sel-project/sel-utils
* Generated from https://github.com/sel-project/sel-utils/blob/master/xml/protocol/java316.xml
*/
module sul.protocol.java316.serverbound;
import std.bitmanip : write, peek;
static import std.conv;
import std.system : Endian;
import std.typetuple : TypeTuple;
import std.typecons : Tuple;
import std.uuid : UUID;
import sul.utils.buffer;
import sul.utils.var;
static import sul.protocol.java316.types;
static if(__traits(compiles, { import sul.metadata.java316; })) import sul.metadata.java316;
alias Packets = TypeTuple!(TeleportConfirm, TabComplete, ChatMessage, ClientStatus, ClientSettings, ConfirmTransaction, EnchantItem, ClickWindow, CloseWindow, PluginMessage, UseEntity, KeepAlive, PlayerPosition, PlayerPositionAndLook, PlayerLook, Player, VehicleMove, SteerBoat, PlayerAbilities, PlayerDigging, EntityAction, SteerVehicle, ResourcePackStatus, HeldItemChange, CreativeInventoryAction, UpdateSign, Animation, Spectate, PlayerBlockPlacement, UseItem);
class TeleportConfirm : Buffer {
public enum uint ID = 0;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["teleportId"];
public uint teleportId;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(uint teleportId) {
this.teleportId = teleportId;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBytes(varuint.encode(teleportId));
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
teleportId=varuint.decode(_buffer, &_index);
}
public static pure nothrow @safe TeleportConfirm fromBuffer(bool readId=true)(ubyte[] buffer) {
TeleportConfirm ret = new TeleportConfirm();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "TeleportConfirm(teleportId: " ~ std.conv.to!string(this.teleportId) ~ ")";
}
}
class TabComplete : Buffer {
public enum uint ID = 1;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["text", "command", "hasPosition", "block"];
public string text;
public bool command;
public bool hasPosition;
public ulong block;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(string text, bool command=bool.init, bool hasPosition=bool.init, ulong block=ulong.init) {
this.text = text;
this.command = command;
this.hasPosition = hasPosition;
this.block = block;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBytes(varuint.encode(cast(uint)text.length)); writeString(text);
writeBigEndianBool(command);
writeBigEndianBool(hasPosition);
if(hasPosition==true){ writeBigEndianUlong(block); }
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
uint dvd=varuint.decode(_buffer, &_index); text=readString(dvd);
command=readBigEndianBool();
hasPosition=readBigEndianBool();
if(hasPosition==true){ block=readBigEndianUlong(); }
}
public static pure nothrow @safe TabComplete fromBuffer(bool readId=true)(ubyte[] buffer) {
TabComplete ret = new TabComplete();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "TabComplete(text: " ~ std.conv.to!string(this.text) ~ ", command: " ~ std.conv.to!string(this.command) ~ ", hasPosition: " ~ std.conv.to!string(this.hasPosition) ~ ", block: " ~ std.conv.to!string(this.block) ~ ")";
}
}
class ChatMessage : Buffer {
public enum uint ID = 2;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["text"];
public string text;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(string text) {
this.text = text;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBytes(varuint.encode(cast(uint)text.length)); writeString(text);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
uint dvd=varuint.decode(_buffer, &_index); text=readString(dvd);
}
public static pure nothrow @safe ChatMessage fromBuffer(bool readId=true)(ubyte[] buffer) {
ChatMessage ret = new ChatMessage();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "ChatMessage(text: " ~ std.conv.to!string(this.text) ~ ")";
}
}
class ClientStatus : Buffer {
public enum uint ID = 3;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
// action
public enum uint RESPAWN = 0;
public enum uint REQUEST_STATS = 1;
public enum uint OPEN_INVENTORY = 2;
public enum string[] FIELDS = ["action"];
public uint action;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(uint action) {
this.action = action;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBytes(varuint.encode(action));
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
action=varuint.decode(_buffer, &_index);
}
public static pure nothrow @safe ClientStatus fromBuffer(bool readId=true)(ubyte[] buffer) {
ClientStatus ret = new ClientStatus();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "ClientStatus(action: " ~ std.conv.to!string(this.action) ~ ")";
}
}
class ClientSettings : Buffer {
public enum uint ID = 4;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
// chat mode
public enum uint ENABLED = 0;
public enum uint COMMANDS_ONLY = 1;
public enum uint DISABLED = 2;
// displayed skin parts
public enum ubyte CAPE = 1;
public enum ubyte JACKET = 2;
public enum ubyte LEFT_SLEEVE = 4;
public enum ubyte RIGHT_SLEEVE = 8;
public enum ubyte LEFT_PANTS = 16;
public enum ubyte RIGHT_PANTS = 32;
public enum ubyte HAT = 64;
// main hand
public enum ubyte RIGHT = 0;
public enum ubyte LEFT = 1;
public enum string[] FIELDS = ["language", "viewDistance", "chatMode", "chatColors", "displayedSkinParts", "mainHand"];
public string language;
public ubyte viewDistance;
public uint chatMode;
public bool chatColors;
public ubyte displayedSkinParts;
public ubyte mainHand;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(string language, ubyte viewDistance=ubyte.init, uint chatMode=uint.init, bool chatColors=bool.init, ubyte displayedSkinParts=ubyte.init, ubyte mainHand=ubyte.init) {
this.language = language;
this.viewDistance = viewDistance;
this.chatMode = chatMode;
this.chatColors = chatColors;
this.displayedSkinParts = displayedSkinParts;
this.mainHand = mainHand;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBytes(varuint.encode(cast(uint)language.length)); writeString(language);
writeBigEndianUbyte(viewDistance);
writeBytes(varuint.encode(chatMode));
writeBigEndianBool(chatColors);
writeBigEndianUbyte(displayedSkinParts);
writeBigEndianUbyte(mainHand);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
uint bfzvzu=varuint.decode(_buffer, &_index); language=readString(bfzvzu);
viewDistance=readBigEndianUbyte();
chatMode=varuint.decode(_buffer, &_index);
chatColors=readBigEndianBool();
displayedSkinParts=readBigEndianUbyte();
mainHand=readBigEndianUbyte();
}
public static pure nothrow @safe ClientSettings fromBuffer(bool readId=true)(ubyte[] buffer) {
ClientSettings ret = new ClientSettings();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "ClientSettings(language: " ~ std.conv.to!string(this.language) ~ ", viewDistance: " ~ std.conv.to!string(this.viewDistance) ~ ", chatMode: " ~ std.conv.to!string(this.chatMode) ~ ", chatColors: " ~ std.conv.to!string(this.chatColors) ~ ", displayedSkinParts: " ~ std.conv.to!string(this.displayedSkinParts) ~ ", mainHand: " ~ std.conv.to!string(this.mainHand) ~ ")";
}
}
class ConfirmTransaction : Buffer {
public enum uint ID = 5;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["window", "action", "accepted"];
public ubyte window;
public ushort action;
public bool accepted;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(ubyte window, ushort action=ushort.init, bool accepted=bool.init) {
this.window = window;
this.action = action;
this.accepted = accepted;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianUbyte(window);
writeBigEndianUshort(action);
writeBigEndianBool(accepted);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
window=readBigEndianUbyte();
action=readBigEndianUshort();
accepted=readBigEndianBool();
}
public static pure nothrow @safe ConfirmTransaction fromBuffer(bool readId=true)(ubyte[] buffer) {
ConfirmTransaction ret = new ConfirmTransaction();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "ConfirmTransaction(window: " ~ std.conv.to!string(this.window) ~ ", action: " ~ std.conv.to!string(this.action) ~ ", accepted: " ~ std.conv.to!string(this.accepted) ~ ")";
}
}
class EnchantItem : Buffer {
public enum uint ID = 6;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["window", "enchantment"];
public ubyte window;
public ubyte enchantment;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(ubyte window, ubyte enchantment=ubyte.init) {
this.window = window;
this.enchantment = enchantment;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianUbyte(window);
writeBigEndianUbyte(enchantment);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
window=readBigEndianUbyte();
enchantment=readBigEndianUbyte();
}
public static pure nothrow @safe EnchantItem fromBuffer(bool readId=true)(ubyte[] buffer) {
EnchantItem ret = new EnchantItem();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "EnchantItem(window: " ~ std.conv.to!string(this.window) ~ ", enchantment: " ~ std.conv.to!string(this.enchantment) ~ ")";
}
}
class ClickWindow : Buffer {
public enum uint ID = 7;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["window", "slot", "button", "action", "mode", "clickedItem"];
public ubyte window;
public ushort slot;
public ubyte button;
public ushort action;
public uint mode;
public sul.protocol.java316.types.Slot clickedItem;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(ubyte window, ushort slot=ushort.init, ubyte button=ubyte.init, ushort action=ushort.init, uint mode=uint.init, sul.protocol.java316.types.Slot clickedItem=sul.protocol.java316.types.Slot.init) {
this.window = window;
this.slot = slot;
this.button = button;
this.action = action;
this.mode = mode;
this.clickedItem = clickedItem;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianUbyte(window);
writeBigEndianUshort(slot);
writeBigEndianUbyte(button);
writeBigEndianUshort(action);
writeBytes(varuint.encode(mode));
clickedItem.encode(bufferInstance);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
window=readBigEndianUbyte();
slot=readBigEndianUshort();
button=readBigEndianUbyte();
action=readBigEndianUshort();
mode=varuint.decode(_buffer, &_index);
clickedItem.decode(bufferInstance);
}
public static pure nothrow @safe ClickWindow fromBuffer(bool readId=true)(ubyte[] buffer) {
ClickWindow ret = new ClickWindow();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "ClickWindow(window: " ~ std.conv.to!string(this.window) ~ ", slot: " ~ std.conv.to!string(this.slot) ~ ", button: " ~ std.conv.to!string(this.button) ~ ", action: " ~ std.conv.to!string(this.action) ~ ", mode: " ~ std.conv.to!string(this.mode) ~ ", clickedItem: " ~ std.conv.to!string(this.clickedItem) ~ ")";
}
}
class CloseWindow : Buffer {
public enum uint ID = 8;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["window"];
public ubyte window;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(ubyte window) {
this.window = window;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianUbyte(window);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
window=readBigEndianUbyte();
}
public static pure nothrow @safe CloseWindow fromBuffer(bool readId=true)(ubyte[] buffer) {
CloseWindow ret = new CloseWindow();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "CloseWindow(window: " ~ std.conv.to!string(this.window) ~ ")";
}
}
class PluginMessage : Buffer {
public enum uint ID = 9;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["channel", "data"];
public string channel;
public ubyte[] data;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(string channel, ubyte[] data=(ubyte[]).init) {
this.channel = channel;
this.data = data;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBytes(varuint.encode(cast(uint)channel.length)); writeString(channel);
writeBytes(data);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
uint yhb5b=varuint.decode(_buffer, &_index); channel=readString(yhb5b);
data=_buffer[_index..$].dup; _index=_buffer.length;
}
public static pure nothrow @safe PluginMessage fromBuffer(bool readId=true)(ubyte[] buffer) {
PluginMessage ret = new PluginMessage();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "PluginMessage(channel: " ~ std.conv.to!string(this.channel) ~ ", data: " ~ std.conv.to!string(this.data) ~ ")";
}
}
class UseEntity : Buffer {
public enum uint ID = 10;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
// type
public enum uint INTERACT = 0;
public enum uint ATTACK = 1;
public enum uint INTERACT_AT = 2;
// hand
public enum uint MAIN_HAND = 0;
public enum uint OFF_HAND = 1;
public enum string[] FIELDS = ["target", "type", "targetPosition", "hand"];
public uint target;
public uint type;
public Tuple!(float, "x", float, "y", float, "z") targetPosition;
public uint hand;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(uint target, uint type=uint.init, Tuple!(float, "x", float, "y", float, "z") targetPosition=Tuple!(float, "x", float, "y", float, "z").init, uint hand=uint.init) {
this.target = target;
this.type = type;
this.targetPosition = targetPosition;
this.hand = hand;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBytes(varuint.encode(target));
writeBytes(varuint.encode(type));
if(type==2){ writeBigEndianFloat(targetPosition.x); writeBigEndianFloat(targetPosition.y); writeBigEndianFloat(targetPosition.z); }
if(type==0||type==2){ writeBytes(varuint.encode(hand)); }
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
target=varuint.decode(_buffer, &_index);
type=varuint.decode(_buffer, &_index);
if(type==2){ targetPosition.x=readBigEndianFloat(); targetPosition.y=readBigEndianFloat(); targetPosition.z=readBigEndianFloat(); }
if(type==0||type==2){ hand=varuint.decode(_buffer, &_index); }
}
public static pure nothrow @safe UseEntity fromBuffer(bool readId=true)(ubyte[] buffer) {
UseEntity ret = new UseEntity();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "UseEntity(target: " ~ std.conv.to!string(this.target) ~ ", type: " ~ std.conv.to!string(this.type) ~ ", targetPosition: " ~ std.conv.to!string(this.targetPosition) ~ ", hand: " ~ std.conv.to!string(this.hand) ~ ")";
}
}
class KeepAlive : Buffer {
public enum uint ID = 11;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["id"];
public uint id;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(uint id) {
this.id = id;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBytes(varuint.encode(id));
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
id=varuint.decode(_buffer, &_index);
}
public static pure nothrow @safe KeepAlive fromBuffer(bool readId=true)(ubyte[] buffer) {
KeepAlive ret = new KeepAlive();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "KeepAlive(id: " ~ std.conv.to!string(this.id) ~ ")";
}
}
class PlayerPosition : Buffer {
public enum uint ID = 12;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["position", "onGround"];
public Tuple!(double, "x", double, "y", double, "z") position;
public bool onGround;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(Tuple!(double, "x", double, "y", double, "z") position, bool onGround=bool.init) {
this.position = position;
this.onGround = onGround;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianDouble(position.x); writeBigEndianDouble(position.y); writeBigEndianDouble(position.z);
writeBigEndianBool(onGround);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
position.x=readBigEndianDouble(); position.y=readBigEndianDouble(); position.z=readBigEndianDouble();
onGround=readBigEndianBool();
}
public static pure nothrow @safe PlayerPosition fromBuffer(bool readId=true)(ubyte[] buffer) {
PlayerPosition ret = new PlayerPosition();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "PlayerPosition(position: " ~ std.conv.to!string(this.position) ~ ", onGround: " ~ std.conv.to!string(this.onGround) ~ ")";
}
}
class PlayerPositionAndLook : Buffer {
public enum uint ID = 13;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["position", "yaw", "pitch", "onGround"];
public Tuple!(double, "x", double, "y", double, "z") position;
public float yaw;
public float pitch;
public bool onGround;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(Tuple!(double, "x", double, "y", double, "z") position, float yaw=float.init, float pitch=float.init, bool onGround=bool.init) {
this.position = position;
this.yaw = yaw;
this.pitch = pitch;
this.onGround = onGround;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianDouble(position.x); writeBigEndianDouble(position.y); writeBigEndianDouble(position.z);
writeBigEndianFloat(yaw);
writeBigEndianFloat(pitch);
writeBigEndianBool(onGround);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
position.x=readBigEndianDouble(); position.y=readBigEndianDouble(); position.z=readBigEndianDouble();
yaw=readBigEndianFloat();
pitch=readBigEndianFloat();
onGround=readBigEndianBool();
}
public static pure nothrow @safe PlayerPositionAndLook fromBuffer(bool readId=true)(ubyte[] buffer) {
PlayerPositionAndLook ret = new PlayerPositionAndLook();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "PlayerPositionAndLook(position: " ~ std.conv.to!string(this.position) ~ ", yaw: " ~ std.conv.to!string(this.yaw) ~ ", pitch: " ~ std.conv.to!string(this.pitch) ~ ", onGround: " ~ std.conv.to!string(this.onGround) ~ ")";
}
}
class PlayerLook : Buffer {
public enum uint ID = 14;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["yaw", "pitch", "onGround"];
public float yaw;
public float pitch;
public bool onGround;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(float yaw, float pitch=float.init, bool onGround=bool.init) {
this.yaw = yaw;
this.pitch = pitch;
this.onGround = onGround;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianFloat(yaw);
writeBigEndianFloat(pitch);
writeBigEndianBool(onGround);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
yaw=readBigEndianFloat();
pitch=readBigEndianFloat();
onGround=readBigEndianBool();
}
public static pure nothrow @safe PlayerLook fromBuffer(bool readId=true)(ubyte[] buffer) {
PlayerLook ret = new PlayerLook();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "PlayerLook(yaw: " ~ std.conv.to!string(this.yaw) ~ ", pitch: " ~ std.conv.to!string(this.pitch) ~ ", onGround: " ~ std.conv.to!string(this.onGround) ~ ")";
}
}
class Player : Buffer {
public enum uint ID = 15;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["onGround"];
public bool onGround;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(bool onGround) {
this.onGround = onGround;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianBool(onGround);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
onGround=readBigEndianBool();
}
public static pure nothrow @safe Player fromBuffer(bool readId=true)(ubyte[] buffer) {
Player ret = new Player();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "Player(onGround: " ~ std.conv.to!string(this.onGround) ~ ")";
}
}
class VehicleMove : Buffer {
public enum uint ID = 16;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["position", "yaw", "pitch"];
public Tuple!(double, "x", double, "y", double, "z") position;
public float yaw;
public float pitch;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(Tuple!(double, "x", double, "y", double, "z") position, float yaw=float.init, float pitch=float.init) {
this.position = position;
this.yaw = yaw;
this.pitch = pitch;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianDouble(position.x); writeBigEndianDouble(position.y); writeBigEndianDouble(position.z);
writeBigEndianFloat(yaw);
writeBigEndianFloat(pitch);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
position.x=readBigEndianDouble(); position.y=readBigEndianDouble(); position.z=readBigEndianDouble();
yaw=readBigEndianFloat();
pitch=readBigEndianFloat();
}
public static pure nothrow @safe VehicleMove fromBuffer(bool readId=true)(ubyte[] buffer) {
VehicleMove ret = new VehicleMove();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "VehicleMove(position: " ~ std.conv.to!string(this.position) ~ ", yaw: " ~ std.conv.to!string(this.yaw) ~ ", pitch: " ~ std.conv.to!string(this.pitch) ~ ")";
}
}
class SteerBoat : Buffer {
public enum uint ID = 17;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["rightPaddleTurning", "leftPaddleTurning"];
public bool rightPaddleTurning;
public bool leftPaddleTurning;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(bool rightPaddleTurning, bool leftPaddleTurning=bool.init) {
this.rightPaddleTurning = rightPaddleTurning;
this.leftPaddleTurning = leftPaddleTurning;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianBool(rightPaddleTurning);
writeBigEndianBool(leftPaddleTurning);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
rightPaddleTurning=readBigEndianBool();
leftPaddleTurning=readBigEndianBool();
}
public static pure nothrow @safe SteerBoat fromBuffer(bool readId=true)(ubyte[] buffer) {
SteerBoat ret = new SteerBoat();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "SteerBoat(rightPaddleTurning: " ~ std.conv.to!string(this.rightPaddleTurning) ~ ", leftPaddleTurning: " ~ std.conv.to!string(this.leftPaddleTurning) ~ ")";
}
}
class PlayerAbilities : Buffer {
public enum uint ID = 18;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
// flags
public enum ubyte CREATIVE_MODE = 1;
public enum ubyte FLYING = 2;
public enum ubyte ALLOW_FLYING = 4;
public enum ubyte INVINCIBLE = 8;
public enum string[] FIELDS = ["flags", "flyingSpeed", "walkingSpeed"];
public ubyte flags;
public float flyingSpeed;
public float walkingSpeed;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(ubyte flags, float flyingSpeed=float.init, float walkingSpeed=float.init) {
this.flags = flags;
this.flyingSpeed = flyingSpeed;
this.walkingSpeed = walkingSpeed;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianUbyte(flags);
writeBigEndianFloat(flyingSpeed);
writeBigEndianFloat(walkingSpeed);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
flags=readBigEndianUbyte();
flyingSpeed=readBigEndianFloat();
walkingSpeed=readBigEndianFloat();
}
public static pure nothrow @safe PlayerAbilities fromBuffer(bool readId=true)(ubyte[] buffer) {
PlayerAbilities ret = new PlayerAbilities();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "PlayerAbilities(flags: " ~ std.conv.to!string(this.flags) ~ ", flyingSpeed: " ~ std.conv.to!string(this.flyingSpeed) ~ ", walkingSpeed: " ~ std.conv.to!string(this.walkingSpeed) ~ ")";
}
}
class PlayerDigging : Buffer {
public enum uint ID = 19;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
// status
public enum uint START_DIGGING = 0;
public enum uint CANCEL_DIGGING = 1;
public enum uint FINISH_DIGGING = 2;
public enum uint DROP_ITEM_STACK = 3;
public enum uint DROP_ITEM = 4;
public enum uint SHOOT_ARROW = 5;
public enum uint FINISH_EATING = 5;
public enum uint SWAP_ITEM_IN_HAND = 6;
public enum string[] FIELDS = ["status", "position", "face"];
public uint status;
public ulong position;
public ubyte face;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(uint status, ulong position=ulong.init, ubyte face=ubyte.init) {
this.status = status;
this.position = position;
this.face = face;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBytes(varuint.encode(status));
writeBigEndianUlong(position);
writeBigEndianUbyte(face);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
status=varuint.decode(_buffer, &_index);
position=readBigEndianUlong();
face=readBigEndianUbyte();
}
public static pure nothrow @safe PlayerDigging fromBuffer(bool readId=true)(ubyte[] buffer) {
PlayerDigging ret = new PlayerDigging();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "PlayerDigging(status: " ~ std.conv.to!string(this.status) ~ ", position: " ~ std.conv.to!string(this.position) ~ ", face: " ~ std.conv.to!string(this.face) ~ ")";
}
}
class EntityAction : Buffer {
public enum uint ID = 20;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
// action
public enum uint START_SNEAKING = 0;
public enum uint STOP_SNEAKING = 1;
public enum uint LEAVE_BED = 2;
public enum uint START_SPRINTING = 3;
public enum uint STOP_SPRINTING = 4;
public enum uint START_HORSE_JUMP = 5;
public enum uint STOP_HORSE_JUMP = 6;
public enum uint OPEN_HORSE_INVENTORY = 7;
public enum uint START_ELYTRA_FLYING = 8;
public enum string[] FIELDS = ["entityId", "action", "jumpBoost"];
public uint entityId;
public uint action;
public uint jumpBoost;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(uint entityId, uint action=uint.init, uint jumpBoost=uint.init) {
this.entityId = entityId;
this.action = action;
this.jumpBoost = jumpBoost;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBytes(varuint.encode(entityId));
writeBytes(varuint.encode(action));
writeBytes(varuint.encode(jumpBoost));
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
entityId=varuint.decode(_buffer, &_index);
action=varuint.decode(_buffer, &_index);
jumpBoost=varuint.decode(_buffer, &_index);
}
public static pure nothrow @safe EntityAction fromBuffer(bool readId=true)(ubyte[] buffer) {
EntityAction ret = new EntityAction();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "EntityAction(entityId: " ~ std.conv.to!string(this.entityId) ~ ", action: " ~ std.conv.to!string(this.action) ~ ", jumpBoost: " ~ std.conv.to!string(this.jumpBoost) ~ ")";
}
}
class SteerVehicle : Buffer {
public enum uint ID = 21;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
// flags
public enum ubyte JUMP = 1;
public enum ubyte UNMOUNT = 2;
public enum string[] FIELDS = ["sideways", "forward", "flags"];
public float sideways;
public float forward;
public ubyte flags;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(float sideways, float forward=float.init, ubyte flags=ubyte.init) {
this.sideways = sideways;
this.forward = forward;
this.flags = flags;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianFloat(sideways);
writeBigEndianFloat(forward);
writeBigEndianUbyte(flags);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
sideways=readBigEndianFloat();
forward=readBigEndianFloat();
flags=readBigEndianUbyte();
}
public static pure nothrow @safe SteerVehicle fromBuffer(bool readId=true)(ubyte[] buffer) {
SteerVehicle ret = new SteerVehicle();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "SteerVehicle(sideways: " ~ std.conv.to!string(this.sideways) ~ ", forward: " ~ std.conv.to!string(this.forward) ~ ", flags: " ~ std.conv.to!string(this.flags) ~ ")";
}
}
class ResourcePackStatus : Buffer {
public enum uint ID = 22;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
// result
public enum uint LOADED = 0;
public enum uint DECLINED = 1;
public enum uint FAILED = 2;
public enum uint ACCEPTED = 3;
public enum string[] FIELDS = ["result"];
public uint result;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(uint result) {
this.result = result;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBytes(varuint.encode(result));
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
result=varuint.decode(_buffer, &_index);
}
public static pure nothrow @safe ResourcePackStatus fromBuffer(bool readId=true)(ubyte[] buffer) {
ResourcePackStatus ret = new ResourcePackStatus();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "ResourcePackStatus(result: " ~ std.conv.to!string(this.result) ~ ")";
}
}
class HeldItemChange : Buffer {
public enum uint ID = 23;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["slot"];
public ushort slot;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(ushort slot) {
this.slot = slot;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianUshort(slot);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
slot=readBigEndianUshort();
}
public static pure nothrow @safe HeldItemChange fromBuffer(bool readId=true)(ubyte[] buffer) {
HeldItemChange ret = new HeldItemChange();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "HeldItemChange(slot: " ~ std.conv.to!string(this.slot) ~ ")";
}
}
class CreativeInventoryAction : Buffer {
public enum uint ID = 24;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["slot", "clickedItem"];
public ushort slot;
public sul.protocol.java316.types.Slot clickedItem;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(ushort slot, sul.protocol.java316.types.Slot clickedItem=sul.protocol.java316.types.Slot.init) {
this.slot = slot;
this.clickedItem = clickedItem;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianUshort(slot);
clickedItem.encode(bufferInstance);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
slot=readBigEndianUshort();
clickedItem.decode(bufferInstance);
}
public static pure nothrow @safe CreativeInventoryAction fromBuffer(bool readId=true)(ubyte[] buffer) {
CreativeInventoryAction ret = new CreativeInventoryAction();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "CreativeInventoryAction(slot: " ~ std.conv.to!string(this.slot) ~ ", clickedItem: " ~ std.conv.to!string(this.clickedItem) ~ ")";
}
}
class UpdateSign : Buffer {
public enum uint ID = 25;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["position", "lines"];
public ulong position;
public string[4] lines;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(ulong position, string[4] lines=(string[4]).init) {
this.position = position;
this.lines = lines;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianUlong(position);
foreach(blzm;lines){ writeBytes(varuint.encode(cast(uint)blzm.length)); writeString(blzm); }
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
position=readBigEndianUlong();
foreach(ref blzm;lines){ uint yxb=varuint.decode(_buffer, &_index); blzm=readString(yxb); }
}
public static pure nothrow @safe UpdateSign fromBuffer(bool readId=true)(ubyte[] buffer) {
UpdateSign ret = new UpdateSign();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "UpdateSign(position: " ~ std.conv.to!string(this.position) ~ ", lines: " ~ std.conv.to!string(this.lines) ~ ")";
}
}
class Animation : Buffer {
public enum uint ID = 26;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
// hand
public enum uint MAIN_HAND = 0;
public enum uint OFF_HAND = 1;
public enum string[] FIELDS = ["hand"];
public uint hand;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(uint hand) {
this.hand = hand;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBytes(varuint.encode(hand));
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
hand=varuint.decode(_buffer, &_index);
}
public static pure nothrow @safe Animation fromBuffer(bool readId=true)(ubyte[] buffer) {
Animation ret = new Animation();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "Animation(hand: " ~ std.conv.to!string(this.hand) ~ ")";
}
}
class Spectate : Buffer {
public enum uint ID = 27;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
public enum string[] FIELDS = ["player"];
public UUID player;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(UUID player) {
this.player = player;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBytes(player.data);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
if(_buffer.length>=_index+16){ ubyte[16] cxev=_buffer[_index.._index+16].dup; _index+=16; player=UUID(cxev); }
}
public static pure nothrow @safe Spectate fromBuffer(bool readId=true)(ubyte[] buffer) {
Spectate ret = new Spectate();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "Spectate(player: " ~ std.conv.to!string(this.player) ~ ")";
}
}
class PlayerBlockPlacement : Buffer {
public enum uint ID = 28;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
// hand
public enum uint MAIN_HAND = 0;
public enum uint OFF_HAND = 1;
public enum string[] FIELDS = ["position", "face", "hand", "cursorPosition"];
public ulong position;
public uint face;
public uint hand;
public Tuple!(float, "x", float, "y", float, "z") cursorPosition;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(ulong position, uint face=uint.init, uint hand=uint.init, Tuple!(float, "x", float, "y", float, "z") cursorPosition=Tuple!(float, "x", float, "y", float, "z").init) {
this.position = position;
this.face = face;
this.hand = hand;
this.cursorPosition = cursorPosition;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBigEndianUlong(position);
writeBytes(varuint.encode(face));
writeBytes(varuint.encode(hand));
writeBigEndianFloat(cursorPosition.x); writeBigEndianFloat(cursorPosition.y); writeBigEndianFloat(cursorPosition.z);
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
position=readBigEndianUlong();
face=varuint.decode(_buffer, &_index);
hand=varuint.decode(_buffer, &_index);
cursorPosition.x=readBigEndianFloat(); cursorPosition.y=readBigEndianFloat(); cursorPosition.z=readBigEndianFloat();
}
public static pure nothrow @safe PlayerBlockPlacement fromBuffer(bool readId=true)(ubyte[] buffer) {
PlayerBlockPlacement ret = new PlayerBlockPlacement();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "PlayerBlockPlacement(position: " ~ std.conv.to!string(this.position) ~ ", face: " ~ std.conv.to!string(this.face) ~ ", hand: " ~ std.conv.to!string(this.hand) ~ ", cursorPosition: " ~ std.conv.to!string(this.cursorPosition) ~ ")";
}
}
class UseItem : Buffer {
public enum uint ID = 29;
public enum bool CLIENTBOUND = false;
public enum bool SERVERBOUND = true;
// hand
public enum uint MAIN_HAND = 0;
public enum uint OFF_HAND = 1;
public enum string[] FIELDS = ["hand"];
public uint hand;
public pure nothrow @safe @nogc this() {}
public pure nothrow @safe @nogc this(uint hand) {
this.hand = hand;
}
public pure nothrow @safe ubyte[] encode(bool writeId=true)() {
_buffer.length = 0;
static if(writeId){ writeBytes(varuint.encode(ID)); }
writeBytes(varuint.encode(hand));
return _buffer;
}
public pure nothrow @safe void decode(bool readId=true)() {
static if(readId){ uint _id; _id=varuint.decode(_buffer, &_index); }
hand=varuint.decode(_buffer, &_index);
}
public static pure nothrow @safe UseItem fromBuffer(bool readId=true)(ubyte[] buffer) {
UseItem ret = new UseItem();
ret._buffer = buffer;
ret.decode!readId();
return ret;
}
public override string toString() {
return "UseItem(hand: " ~ std.conv.to!string(this.hand) ~ ")";
}
}
| D |
import std.string,
std.conv,
std.regex,
std.json;
class jsonTools{
string getJsonData(JSONValue parsedJson, string key){
return parsedJson.object[key].to!string.replace(regex("\"", "g") ,"");
}
string removeList(string base, string[] list){
string buf = base;
foreach(elem; list){
buf = buf.removechars(elem);
}
return buf;
}
}
| D |
class A
{
@safe pure:
this() {}
bool get() { return _x; }
bool _x;
}
class B : A
{
@safe pure:
this() {}
override bool get() { return _x; }
bool _x;
}
@safe pure unittest
{
A a;
B b = a;
}
| D |
/++Authors: meatRay+/
module fleet.space;
import fleet.ship;
import fleet.debughelpers;
import theatre;
import theatre.input;
debug import theatre.logging;
import theatre.rendering;
import gl3n.linalg;
debug import derelict.opengl3.gl3;
import std.container;
debug import std.stdio;
import std.math;
/+Annotated for a friend+/
void main()
{
debug DefaultDetail = LogDetail.Low;
/+Create a Stage+/
Stage stage =CreateStage("theatre_example", 800, 640);
/+Create a Scene of Objects, rendered Orthographically+/
stage.SetScene( new Scene(Scene.View.Ortho, 40f, 40f ) );
/+Handy Dandy spaceship builder+/
auto ship = FromFormatHelper("#####\n#####\n# # #\n #\n #G#\n #E#\n");
/+Since `Ship` exposes a Renderer, we can just add it to the scene+/
stage.CurrentScene.AddProp( ship );
/+We're just doing something every second+/
float accum_tick =1f;
/+Create a Shape and Texture to assign to nodes in our Path+/
auto path_tex =CreateTexture( "circle.png" );
auto path_shape =new Shape( Shape.Primitives.SquareVertices, Shape.Primitives.SquareMap );
/+Just Geometry for drawing our path+/
float last_angle =float.nan;
vec2 last_path;
stage.OnUpdate =(delta_time)
{
ship.Update(delta_time);
/+We're just going to be keeping track of the mouse, and altering the Ship's path.+/
accum_tick +=delta_time;
if( stage.CurMouse.LeftDown && accum_tick >= 0.04f )
{
auto vec_new =WinToStage(
vec2i(stage.CurMouse.X,stage.CurMouse.Y),
vec2i(800,640),
vec2(40f, 40f)
);
if( last_angle is float.nan )
{
auto delta = ship.Controller.Position.xy - vec_new;
last_angle = atan2( delta.y, delta.x );
}
else
{
auto delta = last_path - vec_new;
float nangle = 0f;
if( accum_tick > 0.4 || abs((nangle = atan2( delta.y, delta.x )) - last_angle) > 0.4f )
{
if( nangle != 0f )
debug Log( format("NANGLE %f", nangle) );
last_angle = nangle;
last_path = vec_new;
debug Log( vec_new.as_string );
auto dbg = new Render();
dbg.Position = vec3( vec_new, 0f );
dbg.LoadObject( path_shape,path_tex );
ship.Path_Debug_Render.insertAfter( ship.Path_Debug_Render[], dbg );
ship.Path.insertAfter( ship.Path[], vec_new );
accum_tick = 0f;
}
}
}
};
stage.OnKeyDown =(k)
{/+
DEBUG removing something from the ship.+/
debug
{
auto rm = ship.Chunks[0].Rooms[0];
debug Log( format("Removed Room X: %f, Y: %f", rm.Renderer.Position.x, rm.Renderer.Position.y) );
ship.Chunks = DEBUG_FractureChunk( ship.Chunks[0].Rooms[4] );
DEBUG_ShipFindController( ship );
}
};
stage.OnKeyUp =(k){};
foreach( room ; ship.Chunks[0].Rooms )
{
if( room.Renderer is null )
{ debug Log( room ); }
}
stage.Start();
}
vec2 WinToStage( vec2i mouse, vec2i win_bounds, vec2 stage_bounds, vec2 camera = vec2(0f,0f) )
{
vec2 ratio = vec2( win_bounds.x /stage_bounds.x, win_bounds.y /stage_bounds.y );
return vec2( ((mouse.x -(win_bounds.x /2)) /ratio.x), ((-mouse.y +(win_bounds.y /2) )/ratio.y) );
}
class Space
{
public Ship[] Ships;
}
| D |
// Written in the D programming language.
/** This module is used to manipulate _path strings.
All functions, with the exception of $(LREF expandTilde) (and in some
cases $(LREF absolutePath) and $(LREF relativePath)), are pure
string manipulation functions; they don't depend on any state outside
the program, nor do they perform any actual file system actions.
This has the consequence that the module does not make any distinction
between a _path that points to a directory and a _path that points to a
file, and it does not know whether or not the object pointed to by the
_path actually exists in the file system.
To differentiate between these cases, use $(XREF file,isDir) and
$(XREF file,exists).
Note that on Windows, both the backslash ($(D `\`)) and the slash ($(D `/`))
are in principle valid directory separators. This module treats them
both on equal footing, but in cases where a $(I new) separator is
added, a backslash will be used. Furthermore, the $(LREF buildNormalizedPath)
function will replace all slashes with backslashes on that platform.
In general, the functions in this module assume that the input paths
are well-formed. (That is, they should not contain invalid characters,
they should follow the file system's _path format, etc.) The result
of calling a function on an ill-formed _path is undefined. When there
is a chance that a _path or a file name is invalid (for instance, when it
has been input by the user), it may sometimes be desirable to use the
$(LREF isValidFilename) and $(LREF isValidPath) functions to check
this.
Most functions do not perform any memory allocations, and if a string is
returned, it is usually a slice of an input string. If a function
allocates, this is explicitly mentioned in the documentation.
Upgrading:
$(WEB digitalmars.com/d/1.0/phobos/std_path.html#fnmatch) can
be replaced with $(D globMatch).
Authors:
Lars Tandle Kyllingstad,
$(WEB digitalmars.com, Walter Bright),
Grzegorz Adam Hankiewicz,
Thomas K$(UUML)hne,
$(WEB erdani.org, Andrei Alexandrescu)
Copyright:
Copyright (c) 2000-2014, the authors. All rights reserved.
License:
$(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0)
Source:
$(PHOBOSSRC std/_path.d)
Macros:
WIKI = Phobos/StdPath
*/
module std.path;
// FIXME
import std.file; //: getcwd;
import std.range.primitives;
import std.traits;
/** String used to separate directory names in a path. Under
POSIX this is a slash, under Windows a backslash.
*/
version(Posix) enum string dirSeparator = "/";
else version(Windows) enum string dirSeparator = "\\";
else static assert (0, "unsupported platform");
/** Path separator string. A colon under POSIX, a semicolon
under Windows.
*/
version(Posix) enum string pathSeparator = ":";
else version(Windows) enum string pathSeparator = ";";
else static assert (0, "unsupported platform");
/** Determines whether the given character is a directory separator.
On Windows, this includes both $(D `\`) and $(D `/`).
On POSIX, it's just $(D `/`).
*/
bool isDirSeparator(dchar c) @safe pure nothrow @nogc
{
if (c == '/') return true;
version(Windows) if (c == '\\') return true;
return false;
}
/* Determines whether the given character is a drive separator.
On Windows, this is true if c is the ':' character that separates
the drive letter from the rest of the path. On POSIX, this always
returns false.
*/
private bool isDriveSeparator(dchar c) @safe pure nothrow @nogc
{
version(Windows) return c == ':';
else return false;
}
/* Combines the isDirSeparator and isDriveSeparator tests. */
version(Windows) private bool isSeparator(dchar c) @safe pure nothrow @nogc
{
return isDirSeparator(c) || isDriveSeparator(c);
}
version(Posix) private alias isSeparator = isDirSeparator;
/* Helper function that determines the position of the last
drive/directory separator in a string. Returns -1 if none
is found.
*/
private ptrdiff_t lastSeparator(R)(const R path)
if (isRandomAccessRange!R && isSomeChar!(ElementType!R) ||
isNarrowString!R)
{
auto i = (cast(ptrdiff_t) path.length) - 1;
while (i >= 0 && !isSeparator(path[i])) --i;
return i;
}
version (Windows)
{
private bool isUNC(R)(const R path)
if (isRandomAccessRange!R && isSomeChar!(ElementType!R) ||
isNarrowString!R)
{
return path.length >= 3 && isDirSeparator(path[0]) && isDirSeparator(path[1])
&& !isDirSeparator(path[2]);
}
private ptrdiff_t uncRootLength(R)(const R path)
if (isRandomAccessRange!R && isSomeChar!(ElementType!R) ||
isNarrowString!R)
in { assert (isUNC(path)); }
body
{
ptrdiff_t i = 3;
while (i < path.length && !isDirSeparator(path[i])) ++i;
if (i < path.length)
{
auto j = i;
do { ++j; } while (j < path.length && isDirSeparator(path[j]));
if (j < path.length)
{
do { ++j; } while (j < path.length && !isDirSeparator(path[j]));
i = j;
}
}
return i;
}
private bool hasDrive(R)(const R path)
if (isRandomAccessRange!R && isSomeChar!(ElementType!R) ||
isNarrowString!R)
{
return path.length >= 2 && isDriveSeparator(path[1]);
}
private bool isDriveRoot(R)(const R path)
if (isRandomAccessRange!R && isSomeChar!(ElementType!R) ||
isNarrowString!R)
{
return path.length >= 3 && isDriveSeparator(path[1])
&& isDirSeparator(path[2]);
}
}
/* Helper functions that strip leading/trailing slashes and backslashes
from a path.
*/
private auto ltrimDirSeparators(R)(R path)
if (isInputRange!R && isSomeChar!(ElementType!R) ||
isNarrowString!R)
{
static if (isRandomAccessRange!R && hasSlicing!R || isNarrowString!R)
{
int i = 0;
while (i < path.length && isDirSeparator(path[i]))
++i;
return path[i .. path.length];
}
else
{
while (!path.empty && isDirSeparator(path.front))
path.popFront();
return path;
}
}
unittest
{
import std.array;
import std.utf : byDchar;
assert(ltrimDirSeparators("//abc//").array == "abc//");
assert(ltrimDirSeparators("//abc//"d).array == "abc//"d);
assert(ltrimDirSeparators("//abc//".byDchar).array == "abc//"d);
}
private auto rtrimDirSeparators(R)(R path)
if (isBidirectionalRange!R && isSomeChar!(ElementType!R) ||
isNarrowString!R)
{
static if (isRandomAccessRange!R && hasSlicing!R && hasLength!R || isNarrowString!R)
{
auto i = (cast(ptrdiff_t) path.length) - 1;
while (i >= 0 && isDirSeparator(path[i]))
--i;
return path[0 .. i+1];
}
else
{
while (!path.empty && isDirSeparator(path.back))
path.popBack();
return path;
}
}
unittest
{
import std.array;
import std.utf : byDchar;
assert(rtrimDirSeparators("//abc//").array == "//abc");
assert(rtrimDirSeparators("//abc//"d).array == "//abc"d);
assert(rtrimDirSeparators(MockBiRange!char("//abc//")).array == "//abc");
}
private auto trimDirSeparators(R)(R path)
if (isBidirectionalRange!R && isSomeChar!(ElementType!R) ||
isNarrowString!R)
{
return ltrimDirSeparators(rtrimDirSeparators(path));
}
unittest
{
import std.array;
import std.utf : byDchar;
assert(trimDirSeparators("//abc//").array == "abc");
assert(trimDirSeparators("//abc//"d).array == "abc"d);
assert(trimDirSeparators(MockBiRange!char("//abc//")).array == "abc");
}
/** This $(D enum) is used as a template argument to functions which
compare file names, and determines whether the comparison is
case sensitive or not.
*/
enum CaseSensitive : bool
{
/// File names are case insensitive
no = false,
/// File names are case sensitive
yes = true,
/** The default (or most common) setting for the current platform.
That is, $(D no) on Windows and Mac OS X, and $(D yes) on all
POSIX systems except OS X (Linux, *BSD, etc.).
*/
osDefault = osDefaultCaseSensitivity
}
version (Windows) private enum osDefaultCaseSensitivity = false;
else version (OSX) private enum osDefaultCaseSensitivity = false;
else version (Posix) private enum osDefaultCaseSensitivity = true;
else static assert (0);
/** Returns the name of a file, without any leading directory
and with an optional suffix chopped off.
If $(D suffix) is specified, it will be compared to $(D path)
using $(D filenameCmp!cs),
where $(D cs) is an optional template parameter determining whether
the comparison is case sensitive or not. See the
$(LREF filenameCmp) documentation for details.
Examples:
---
assert (baseName("dir/file.ext") == "file.ext");
assert (baseName("dir/file.ext", ".ext") == "file");
assert (baseName("dir/file.ext", ".xyz") == "file.ext");
assert (baseName("dir/filename", "name") == "file");
assert (baseName("dir/subdir/") == "subdir");
version (Windows)
{
assert (baseName(`d:file.ext`) == "file.ext");
assert (baseName(`d:\dir\file.ext`) == "file.ext");
}
---
Note:
This function $(I only) strips away the specified suffix, which
doesn't necessarily have to represent an extension.
To remove the extension from a path, regardless of what the extension
is, use $(LREF stripExtension).
To obtain the filename without leading directories and without
an extension, combine the functions like this:
---
assert (baseName(stripExtension("dir/file.ext")) == "file");
---
Standards:
This function complies with
$(LINK2 http://pubs.opengroup.org/onlinepubs/9699919799/utilities/basename.html,
the POSIX requirements for the 'basename' shell utility)
(with suitable adaptations for Windows paths).
*/
auto baseName(R)(R path)
if (isRandomAccessRange!R && hasSlicing!R && isSomeChar!(ElementType!R) ||
is(StringTypeOf!R))
{
auto p1 = stripDrive!(BaseOf!R)(path);
if (p1.empty)
{
version (Windows) if (isUNC!(BaseOf!R)(path))
{
return path[0..1];
}
static if (is(StringTypeOf!R))
return StringTypeOf!R.init[]; // which is null
else
return p1; // which is empty
}
auto p2 = rtrimDirSeparators(p1);
if (p2.empty) return p1[0 .. 1];
return p2[lastSeparator(p2)+1 .. p2.length];
}
/// ditto
inout(C)[] baseName(CaseSensitive cs = CaseSensitive.osDefault, C, C1)
(inout(C)[] path, in C1[] suffix)
@safe pure //TODO: nothrow (because of filenameCmp())
if (isSomeChar!C && isSomeChar!C1)
{
auto p = baseName(path);
if (p.length > suffix.length
&& filenameCmp!cs(cast(const(C)[])p[$-suffix.length .. $], suffix) == 0)
{
return p[0 .. $-suffix.length];
}
else return p;
}
unittest
{
assert (baseName("").empty);
assert (baseName("file.ext"w) == "file.ext");
assert (baseName("file.ext"d, ".ext") == "file");
assert (baseName("file", "file"w.dup) == "file");
assert (baseName("dir/file.ext"d.dup) == "file.ext");
assert (baseName("dir/file.ext", ".ext"d) == "file");
assert (baseName("dir/file"w, "file"d) == "file");
assert (baseName("dir///subdir////") == "subdir");
assert (baseName("dir/subdir.ext/", ".ext") == "subdir");
assert (baseName("dir/subdir/".dup, "subdir") == "subdir");
assert (baseName("/"w.dup) == "/");
assert (baseName("//"d.dup) == "/");
assert (baseName("///") == "/");
assert (baseName!(CaseSensitive.yes)("file.ext", ".EXT") == "file.ext");
assert (baseName!(CaseSensitive.no)("file.ext", ".EXT") == "file");
{
auto r = MockRange!(immutable(char))(`dir/file.ext`);
auto s = r.baseName();
foreach (i, c; `file`)
assert(s[i] == c);
}
version (Windows)
{
assert (baseName(`dir\file.ext`) == `file.ext`);
assert (baseName(`dir\file.ext`, `.ext`) == `file`);
assert (baseName(`dir\file`, `file`) == `file`);
assert (baseName(`d:file.ext`) == `file.ext`);
assert (baseName(`d:file.ext`, `.ext`) == `file`);
assert (baseName(`d:file`, `file`) == `file`);
assert (baseName(`dir\\subdir\\\`) == `subdir`);
assert (baseName(`dir\subdir.ext\`, `.ext`) == `subdir`);
assert (baseName(`dir\subdir\`, `subdir`) == `subdir`);
assert (baseName(`\`) == `\`);
assert (baseName(`\\`) == `\`);
assert (baseName(`\\\`) == `\`);
assert (baseName(`d:\`) == `\`);
assert (baseName(`d:`).empty);
assert (baseName(`\\server\share\file`) == `file`);
assert (baseName(`\\server\share\`) == `\`);
assert (baseName(`\\server\share`) == `\`);
auto r = MockRange!(immutable(char))(`\\server\share`);
auto s = r.baseName();
foreach (i, c; `\`)
assert(s[i] == c);
}
assert (baseName(stripExtension("dir/file.ext")) == "file");
static assert (baseName("dir/file.ext") == "file.ext");
static assert (baseName("dir/file.ext", ".ext") == "file");
static struct DirEntry { string s; alias s this; }
assert(baseName(DirEntry("dir/file.ext")) == "file.ext");
}
/** Returns the directory part of a path. On Windows, this
includes the drive letter if present.
This function performs a memory allocation if and only if $(D path)
does not have a directory (in which case a new string is needed to
hold the returned current-directory symbol, $(D ".")).
Examples:
---
assert (dirName("file") == ".");
assert (dirName("dir/file") == "dir");
assert (dirName("/file") == "/");
assert (dirName("dir/subdir/") == "dir");
version (Windows)
{
assert (dirName("d:file") == "d:");
assert (dirName(`d:\dir\file`) == `d:\dir`);
assert (dirName(`d:\file`) == `d:\`);
assert (dirName(`dir\subdir\`) == `dir`);
}
---
Standards:
This function complies with
$(LINK2 http://pubs.opengroup.org/onlinepubs/9699919799/utilities/dirname.html,
the POSIX requirements for the 'dirname' shell utility)
(with suitable adaptations for Windows paths).
*/
C[] dirName(C)(C[] path)
//TODO: @safe (BUG 6169) pure nothrow (because of to())
if (isSomeChar!C)
{
import std.conv : to;
if (path.empty) return to!(typeof(return))(".");
auto p = rtrimDirSeparators(path);
if (p.empty) return path[0 .. 1];
version (Windows)
{
if (isUNC(p) && uncRootLength(p) == p.length)
return p;
if (p.length == 2 && isDriveSeparator(p[1]) && path.length > 2)
return path[0 .. 3];
}
auto i = lastSeparator(p);
if (i == -1) return to!(typeof(return))(".");
if (i == 0) return p[0 .. 1];
version (Windows)
{
// If the directory part is either d: or d:\, don't
// chop off the last symbol.
if (isDriveSeparator(p[i]) || isDriveSeparator(p[i-1]))
return p[0 .. i+1];
}
// Remove any remaining trailing (back)slashes.
return rtrimDirSeparators(p[0 .. i]);
}
unittest
{
assert (dirName("") == ".");
assert (dirName("file"w) == ".");
assert (dirName("dir/"d) == ".");
assert (dirName("dir///") == ".");
assert (dirName("dir/file"w.dup) == "dir");
assert (dirName("dir///file"d.dup) == "dir");
assert (dirName("dir/subdir/") == "dir");
assert (dirName("/dir/file"w) == "/dir");
assert (dirName("/file"d) == "/");
assert (dirName("/") == "/");
assert (dirName("///") == "/");
version (Windows)
{
assert (dirName(`dir\`) == `.`);
assert (dirName(`dir\\\`) == `.`);
assert (dirName(`dir\file`) == `dir`);
assert (dirName(`dir\\\file`) == `dir`);
assert (dirName(`dir\subdir\`) == `dir`);
assert (dirName(`\dir\file`) == `\dir`);
assert (dirName(`\file`) == `\`);
assert (dirName(`\`) == `\`);
assert (dirName(`\\\`) == `\`);
assert (dirName(`d:`) == `d:`);
assert (dirName(`d:file`) == `d:`);
assert (dirName(`d:\`) == `d:\`);
assert (dirName(`d:\file`) == `d:\`);
assert (dirName(`d:\dir\file`) == `d:\dir`);
assert (dirName(`\\server\share\dir\file`) == `\\server\share\dir`);
assert (dirName(`\\server\share\file`) == `\\server\share`);
assert (dirName(`\\server\share\`) == `\\server\share`);
assert (dirName(`\\server\share`) == `\\server\share`);
}
static assert (dirName("dir/file") == "dir");
}
/** Returns the root directory of the specified path, or $(D null) if the
path is not rooted.
Examples:
---
assert (rootName("foo") is null);
assert (rootName("/foo") == "/");
version (Windows)
{
assert (rootName(`\foo`) == `\`);
assert (rootName(`c:\foo`) == `c:\`);
assert (rootName(`\\server\share\foo`) == `\\server\share`);
}
---
*/
inout(C)[] rootName(C)(inout(C)[] path) @safe pure nothrow @nogc if (isSomeChar!C)
{
if (path.empty) return null;
version (Posix)
{
if (isDirSeparator(path[0])) return path[0 .. 1];
}
else version (Windows)
{
if (isDirSeparator(path[0]))
{
if (isUNC(path)) return path[0 .. uncRootLength(path)];
else return path[0 .. 1];
}
else if (path.length >= 3 && isDriveSeparator(path[1]) &&
isDirSeparator(path[2]))
{
return path[0 .. 3];
}
}
else static assert (0, "unsupported platform");
assert (!isRooted(path));
return null;
}
unittest
{
assert (rootName("") is null);
assert (rootName("foo") is null);
assert (rootName("/") == "/");
assert (rootName("/foo/bar") == "/");
version (Windows)
{
assert (rootName("d:foo") is null);
assert (rootName(`d:\foo`) == `d:\`);
assert (rootName(`\\server\share\foo`) == `\\server\share`);
assert (rootName(`\\server\share`) == `\\server\share`);
}
}
/** Returns the drive of a path, or $(D null) if the drive
is not specified. In the case of UNC paths, the network share
is returned.
Always returns $(D null) on POSIX.
Examples:
---
version (Windows)
{
assert (driveName(`d:\file`) == "d:");
assert (driveName(`\\server\share\file`) == `\\server\share`);
assert (driveName(`dir\file`).empty);
}
---
*/
inout(C)[] driveName(C)(inout(C)[] path) @safe pure nothrow @nogc
if (isSomeChar!C)
{
version (Windows)
{
if (hasDrive(path))
return path[0 .. 2];
else if (isUNC(path))
return path[0 .. uncRootLength(path)];
}
return null;
}
unittest
{
version (Posix) assert (driveName("c:/foo").empty);
version (Windows)
{
assert (driveName(`dir\file`).empty);
assert (driveName(`d:file`) == "d:");
assert (driveName(`d:\file`) == "d:");
assert (driveName("d:") == "d:");
assert (driveName(`\\server\share\file`) == `\\server\share`);
assert (driveName(`\\server\share\`) == `\\server\share`);
assert (driveName(`\\server\share`) == `\\server\share`);
static assert (driveName(`d:\file`) == "d:");
}
}
/** Strips the drive from a Windows path. On POSIX, the path is returned
unaltered.
Example:
---
version (Windows)
{
assert (stripDrive(`d:\dir\file`) == `\dir\file`);
assert (stripDrive(`\\server\share\dir\file`) == `\dir\file`);
}
---
*/
auto stripDrive(R)(inout R path)
if (isRandomAccessRange!R && hasSlicing!R && isSomeChar!(ElementType!R) ||
is(StringTypeOf!R))
{
version(Windows)
{
if (hasDrive!(BaseOf!R)(path)) return path[2 .. path.length];
else if (isUNC!(BaseOf!R)(path)) return path[uncRootLength!(BaseOf!R)(path) .. path.length];
}
return path;
}
unittest
{
version(Windows)
{
assert (stripDrive(`d:\dir\file`) == `\dir\file`);
assert (stripDrive(`\\server\share\dir\file`) == `\dir\file`);
static assert (stripDrive(`d:\dir\file`) == `\dir\file`);
auto r = MockRange!(immutable(char))(`d:\dir\file`);
auto s = r.stripDrive();
foreach (i, c; `\dir\file`)
assert(s[i] == c);
}
version(Posix)
{
assert (stripDrive(`d:\dir\file`) == `d:\dir\file`);
auto r = MockRange!(immutable(char))(`d:\dir\file`);
auto s = r.stripDrive();
foreach (i, c; `d:\dir\file`)
assert(s[i] == c);
}
}
/* Helper function that returns the position of the filename/extension
separator dot in path. If not found, returns -1.
*/
private ptrdiff_t extSeparatorPos(R)(const R path)
if (isRandomAccessRange!R && hasSlicing!R && isSomeChar!(ElementType!R) ||
isNarrowString!R)
{
auto i = (cast(ptrdiff_t) path.length) - 1;
while (i >= 0 && !isSeparator(path[i]))
{
if (path[i] == '.' && i > 0 && !isSeparator(path[i-1])) return i;
--i;
}
return -1;
}
/** Returns the _extension part of a file name, including the dot.
If there is no _extension, $(D null) is returned.
Examples:
---
assert (extension("file").empty);
assert (extension("file.ext") == ".ext");
assert (extension("file.ext1.ext2") == ".ext2");
assert (extension("file.") == ".");
assert (extension(".file").empty);
assert (extension(".file.ext") == ".ext");
---
*/
auto extension(R)(R path)
if (isRandomAccessRange!R && hasSlicing!R && isSomeChar!(ElementType!R) ||
is(StringTypeOf!R))
{
auto i = extSeparatorPos!(BaseOf!R)(path);
if (i == -1)
{
static if (is(StringTypeOf!R))
return StringTypeOf!R.init[]; // which is null
else
return path[0 .. 0];
}
else return path[i .. path.length];
}
unittest
{
assert (extension("file").empty);
assert (extension("file.") == ".");
assert (extension("file.ext"w) == ".ext");
assert (extension("file.ext1.ext2"d) == ".ext2");
assert (extension(".foo".dup).empty);
assert (extension(".foo.ext"w.dup) == ".ext");
assert (extension("dir/file"d.dup).empty);
assert (extension("dir/file.") == ".");
assert (extension("dir/file.ext") == ".ext");
assert (extension("dir/file.ext1.ext2"w) == ".ext2");
assert (extension("dir/.foo"d).empty);
assert (extension("dir/.foo.ext".dup) == ".ext");
version(Windows)
{
assert (extension(`dir\file`).empty);
assert (extension(`dir\file.`) == ".");
assert (extension(`dir\file.ext`) == `.ext`);
assert (extension(`dir\file.ext1.ext2`) == `.ext2`);
assert (extension(`dir\.foo`).empty);
assert (extension(`dir\.foo.ext`) == `.ext`);
assert (extension(`d:file`).empty);
assert (extension(`d:file.`) == ".");
assert (extension(`d:file.ext`) == `.ext`);
assert (extension(`d:file.ext1.ext2`) == `.ext2`);
assert (extension(`d:.foo`).empty);
assert (extension(`d:.foo.ext`) == `.ext`);
}
static assert (extension("file").empty);
static assert (extension("file.ext") == ".ext");
{
auto r = MockRange!(immutable(char))(`file.ext1.ext2`);
auto s = r.extension();
foreach (i, c; `.ext2`)
assert(s[i] == c);
}
static struct DirEntry { string s; alias s this; }
assert (extension(DirEntry("file")).empty);
}
/** Returns slice of path[] with the extension stripped off.
Examples:
---
assert (stripExtension("file") == "file");
assert (stripExtension("file.ext") == "file");
assert (stripExtension("file.ext1.ext2") == "file.ext1");
assert (stripExtension("file.") == "file");
assert (stripExtension(".file") == ".file");
assert (stripExtension(".file.ext") == ".file");
assert (stripExtension("dir/file.ext") == "dir/file");
---
*/
inout(C)[] stripExtension(C)(inout(C)[] path) @safe pure nothrow @nogc
if (isSomeChar!C)
{
auto i = extSeparatorPos(path);
if (i == -1) return path;
else return path[0 .. i];
}
unittest
{
assert (stripExtension("file") == "file");
assert (stripExtension("file.ext"w) == "file");
assert (stripExtension("file.ext1.ext2"d) == "file.ext1");
assert (stripExtension(".foo".dup) == ".foo");
assert (stripExtension(".foo.ext"w.dup) == ".foo");
assert (stripExtension("dir/file"d.dup) == "dir/file");
assert (stripExtension("dir/file.ext") == "dir/file");
assert (stripExtension("dir/file.ext1.ext2"w) == "dir/file.ext1");
assert (stripExtension("dir/.foo"d) == "dir/.foo");
assert (stripExtension("dir/.foo.ext".dup) == "dir/.foo");
version(Windows)
{
assert (stripExtension("dir\\file") == "dir\\file");
assert (stripExtension("dir\\file.ext") == "dir\\file");
assert (stripExtension("dir\\file.ext1.ext2") == "dir\\file.ext1");
assert (stripExtension("dir\\.foo") == "dir\\.foo");
assert (stripExtension("dir\\.foo.ext") == "dir\\.foo");
assert (stripExtension("d:file") == "d:file");
assert (stripExtension("d:file.ext") == "d:file");
assert (stripExtension("d:file.ext1.ext2") == "d:file.ext1");
assert (stripExtension("d:.foo") == "d:.foo");
assert (stripExtension("d:.foo.ext") == "d:.foo");
}
static assert (stripExtension("file") == "file");
static assert (stripExtension("file.ext"w) == "file");
}
/** Returns a string containing the _path given by $(D path), but where
the extension has been set to $(D ext).
If the filename already has an extension, it is replaced. If not, the
extension is simply appended to the filename. Including a leading dot
in $(D ext) is optional.
If the extension is empty, this function is equivalent to
$(LREF stripExtension).
This function normally allocates a new string (the possible exception
being the case when path is immutable and doesn't already have an
extension).
Examples:
---
assert (setExtension("file", "ext") == "file.ext");
assert (setExtension("file", ".ext") == "file.ext");
assert (setExtension("file.old", "") == "file");
assert (setExtension("file.old", "new") == "file.new");
assert (setExtension("file.old", ".new") == "file.new");
---
*/
immutable(Unqual!C1)[] setExtension(C1, C2)(in C1[] path, in C2[] ext)
@trusted pure nothrow
if (isSomeChar!C1 && !is(C1 == immutable) && is(Unqual!C1 == Unqual!C2))
{
if (ext.length > 0 && ext[0] != '.')
return cast(typeof(return))(stripExtension(path)~'.'~ext);
else
return cast(typeof(return))(stripExtension(path)~ext);
}
///ditto
immutable(C1)[] setExtension(C1, C2)(immutable(C1)[] path, const(C2)[] ext)
@trusted pure nothrow
if (isSomeChar!C1 && is(Unqual!C1 == Unqual!C2))
{
if (ext.length == 0)
return stripExtension(path);
// Optimised for the case where path is immutable and has no extension
if (ext.length > 0 && ext[0] == '.') ext = ext[1 .. $];
auto i = extSeparatorPos(path);
if (i == -1)
{
path ~= '.';
path ~= ext;
return path;
}
else if (i == path.length - 1)
{
path ~= ext;
return path;
}
else
{
return cast(typeof(return))(path[0 .. i+1] ~ ext);
}
}
unittest
{
assert (setExtension("file", "ext") == "file.ext");
assert (setExtension("file"w, ".ext"w) == "file.ext");
assert (setExtension("file."d, "ext"d) == "file.ext");
assert (setExtension("file.", ".ext") == "file.ext");
assert (setExtension("file.old"w, "new"w) == "file.new");
assert (setExtension("file.old"d, ".new"d) == "file.new");
assert (setExtension("file"w.dup, "ext"w) == "file.ext");
assert (setExtension("file"w.dup, ".ext"w) == "file.ext");
assert (setExtension("file."w, "ext"w.dup) == "file.ext");
assert (setExtension("file."w, ".ext"w.dup) == "file.ext");
assert (setExtension("file.old"d.dup, "new"d) == "file.new");
assert (setExtension("file.old"d.dup, ".new"d) == "file.new");
static assert (setExtension("file", "ext") == "file.ext");
static assert (setExtension("file.old", "new") == "file.new");
static assert (setExtension("file"w.dup, "ext"w) == "file.ext");
static assert (setExtension("file.old"d.dup, "new"d) == "file.new");
// Issue 10601
assert (setExtension("file", "") == "file");
assert (setExtension("file.ext", "") == "file");
}
/** Returns the _path given by $(D path), with the extension given by
$(D ext) appended if the path doesn't already have one.
Including the dot in the extension is optional.
This function always allocates a new string, except in the case when
path is immutable and already has an extension.
Examples:
---
assert (defaultExtension("file", "ext") == "file.ext");
assert (defaultExtension("file", ".ext") == "file.ext");
assert (defaultExtension("file.", "ext") == "file.");
assert (defaultExtension("file.old", "new") == "file.old");
assert (defaultExtension("file.old", ".new") == "file.old");
---
*/
immutable(Unqual!C1)[] defaultExtension(C1, C2)(in C1[] path, in C2[] ext)
@trusted pure // TODO: nothrow (because of to())
if (isSomeChar!C1 && is(Unqual!C1 == Unqual!C2))
{
import std.conv : to;
auto i = extSeparatorPos(path);
if (i == -1)
{
if (ext.length > 0 && ext[0] == '.')
return cast(typeof(return))(path~ext);
else
return cast(typeof(return))(path~'.'~ext);
}
else return to!(typeof(return))(path);
}
unittest
{
assert (defaultExtension("file", "ext") == "file.ext");
assert (defaultExtension("file", ".ext") == "file.ext");
assert (defaultExtension("file.", "ext") == "file.");
assert (defaultExtension("file.old", "new") == "file.old");
assert (defaultExtension("file.old", ".new") == "file.old");
assert (defaultExtension("file"w.dup, "ext"w) == "file.ext");
assert (defaultExtension("file.old"d.dup, "new"d) == "file.old");
static assert (defaultExtension("file", "ext") == "file.ext");
static assert (defaultExtension("file.old", "new") == "file.old");
static assert (defaultExtension("file"w.dup, "ext"w) == "file.ext");
static assert (defaultExtension("file.old"d.dup, "new"d) == "file.old");
}
/** Combines one or more path segments.
This function takes a set of path segments, given as an input
range of string elements or as a set of string arguments,
and concatenates them with each other. Directory separators
are inserted between segments if necessary. If any of the
path segments are absolute (as defined by $(LREF isAbsolute)), the
preceding segments will be dropped.
On Windows, if one of the path segments are rooted, but not absolute
(e.g. $(D `\foo`)), all preceding path segments down to the previous
root will be dropped. (See below for an example.)
This function always allocates memory to hold the resulting path.
The variadic overload is guaranteed to only perform a single
allocation, as is the range version if $(D paths) is a forward
range.
*/
immutable(ElementEncodingType!(ElementType!Range))[]
buildPath(Range)(Range segments)
if (isInputRange!Range && isSomeString!(ElementType!Range))
{
if (segments.empty) return null;
// If this is a forward range, we can pre-calculate a maximum length.
static if (isForwardRange!Range)
{
auto segments2 = segments.save;
size_t precalc = 0;
foreach (segment; segments2) precalc += segment.length + 1;
}
// Otherwise, just venture a guess and resize later if necessary.
else size_t precalc = 255;
auto buf = new Unqual!(ElementEncodingType!(ElementType!Range))[](precalc);
size_t pos = 0;
foreach (segment; segments)
{
if (segment.empty) continue;
static if (!isForwardRange!Range)
{
immutable neededLength = pos + segment.length + 1;
if (buf.length < neededLength)
buf.length = reserve(buf, neededLength + buf.length/2);
}
if (pos > 0)
{
if (isRooted(segment))
{
version (Posix)
{
pos = 0;
}
else version (Windows)
{
if (isAbsolute(segment))
pos = 0;
else
{
pos = rootName(buf[0 .. pos]).length;
if (pos > 0 && isDirSeparator(buf[pos-1])) --pos;
}
}
}
else if (!isDirSeparator(buf[pos-1]))
buf[pos++] = dirSeparator[0];
}
buf[pos .. pos + segment.length] = segment[];
pos += segment.length;
}
static U trustedCast(U, V)(V v) @trusted pure nothrow { return cast(U) v; }
return trustedCast!(typeof(return))(buf[0 .. pos]);
}
/// ditto
immutable(C)[] buildPath(C)(const(C[])[] paths...)
@safe pure nothrow
if (isSomeChar!C)
{
return buildPath!(typeof(paths))(paths);
}
///
unittest
{
version (Posix)
{
assert (buildPath("foo", "bar", "baz") == "foo/bar/baz");
assert (buildPath("/foo/", "bar/baz") == "/foo/bar/baz");
assert (buildPath("/foo", "/bar") == "/bar");
}
version (Windows)
{
assert (buildPath("foo", "bar", "baz") == `foo\bar\baz`);
assert (buildPath(`c:\foo`, `bar\baz`) == `c:\foo\bar\baz`);
assert (buildPath("foo", `d:\bar`) == `d:\bar`);
assert (buildPath("foo", `\bar`) == `\bar`);
assert (buildPath(`c:\foo`, `\bar`) == `c:\bar`);
}
}
unittest // non-documented
{
import std.range;
// ir() wraps an array in a plain (i.e. non-forward) input range, so that
// we can test both code paths
InputRange!(C[]) ir(C)(C[][] p...) { return inputRangeObject(p); }
version (Posix)
{
assert (buildPath("foo") == "foo");
assert (buildPath("/foo/") == "/foo/");
assert (buildPath("foo", "bar") == "foo/bar");
assert (buildPath("foo", "bar", "baz") == "foo/bar/baz");
assert (buildPath("foo/".dup, "bar") == "foo/bar");
assert (buildPath("foo///", "bar".dup) == "foo///bar");
assert (buildPath("/foo"w, "bar"w) == "/foo/bar");
assert (buildPath("foo"w.dup, "/bar"w) == "/bar");
assert (buildPath("foo"w, "bar/"w.dup) == "foo/bar/");
assert (buildPath("/"d, "foo"d) == "/foo");
assert (buildPath(""d.dup, "foo"d) == "foo");
assert (buildPath("foo"d, ""d.dup) == "foo");
assert (buildPath("foo", "bar".dup, "baz") == "foo/bar/baz");
assert (buildPath("foo"w, "/bar"w, "baz"w.dup) == "/bar/baz");
static assert (buildPath("foo", "bar", "baz") == "foo/bar/baz");
static assert (buildPath("foo", "/bar", "baz") == "/bar/baz");
// The following are mostly duplicates of the above, except that the
// range version does not accept mixed constness.
assert (buildPath(ir("foo")) == "foo");
assert (buildPath(ir("/foo/")) == "/foo/");
assert (buildPath(ir("foo", "bar")) == "foo/bar");
assert (buildPath(ir("foo", "bar", "baz")) == "foo/bar/baz");
assert (buildPath(ir("foo/".dup, "bar".dup)) == "foo/bar");
assert (buildPath(ir("foo///".dup, "bar".dup)) == "foo///bar");
assert (buildPath(ir("/foo"w, "bar"w)) == "/foo/bar");
assert (buildPath(ir("foo"w.dup, "/bar"w.dup)) == "/bar");
assert (buildPath(ir("foo"w.dup, "bar/"w.dup)) == "foo/bar/");
assert (buildPath(ir("/"d, "foo"d)) == "/foo");
assert (buildPath(ir(""d.dup, "foo"d.dup)) == "foo");
assert (buildPath(ir("foo"d, ""d)) == "foo");
assert (buildPath(ir("foo", "bar", "baz")) == "foo/bar/baz");
assert (buildPath(ir("foo"w.dup, "/bar"w.dup, "baz"w.dup)) == "/bar/baz");
}
version (Windows)
{
assert (buildPath("foo") == "foo");
assert (buildPath(`\foo/`) == `\foo/`);
assert (buildPath("foo", "bar", "baz") == `foo\bar\baz`);
assert (buildPath("foo", `\bar`) == `\bar`);
assert (buildPath(`c:\foo`, "bar") == `c:\foo\bar`);
assert (buildPath("foo"w, `d:\bar`w.dup) == `d:\bar`);
assert (buildPath(`c:\foo\bar`, `\baz`) == `c:\baz`);
assert (buildPath(`\\foo\bar\baz`d, `foo`d, `\bar`d) == `\\foo\bar\bar`d);
static assert (buildPath("foo", "bar", "baz") == `foo\bar\baz`);
static assert (buildPath("foo", `c:\bar`, "baz") == `c:\bar\baz`);
assert (buildPath(ir("foo")) == "foo");
assert (buildPath(ir(`\foo/`)) == `\foo/`);
assert (buildPath(ir("foo", "bar", "baz")) == `foo\bar\baz`);
assert (buildPath(ir("foo", `\bar`)) == `\bar`);
assert (buildPath(ir(`c:\foo`, "bar")) == `c:\foo\bar`);
assert (buildPath(ir("foo"w.dup, `d:\bar`w.dup)) == `d:\bar`);
assert (buildPath(ir(`c:\foo\bar`, `\baz`)) == `c:\baz`);
assert (buildPath(ir(`\\foo\bar\baz`d, `foo`d, `\bar`d)) == `\\foo\bar\bar`d);
}
// Test that allocation works as it should.
auto manyShort = "aaa".repeat(1000).array();
auto manyShortCombined = join(manyShort, dirSeparator);
assert (buildPath(manyShort) == manyShortCombined);
assert (buildPath(ir(manyShort)) == manyShortCombined);
auto fewLong = 'b'.repeat(500).array().repeat(10).array();
auto fewLongCombined = join(fewLong, dirSeparator);
assert (buildPath(fewLong) == fewLongCombined);
assert (buildPath(ir(fewLong)) == fewLongCombined);
}
unittest
{
// Test for issue 7397
string[] ary = ["a", "b"];
version (Posix)
{
assert (buildPath(ary) == "a/b");
}
else version (Windows)
{
assert (buildPath(ary) == `a\b`);
}
}
/** Performs the same task as $(LREF buildPath),
while at the same time resolving current/parent directory
symbols ($(D ".") and $(D "..")) and removing superfluous
directory separators.
It will return "." if the path leads to the starting directory.
On Windows, slashes are replaced with backslashes.
Using buildNormalizedPath on null paths will always return null.
Note that this function does not resolve symbolic links.
This function always allocates memory to hold the resulting path.
Examples:
---
assert (buildNormalizedPath("foo", "..") == ".");
version (Posix)
{
assert (buildNormalizedPath("/foo/./bar/..//baz/") == "/foo/baz");
assert (buildNormalizedPath("../foo/.") == "../foo");
assert (buildNormalizedPath("/foo", "bar/baz/") == "/foo/bar/baz");
assert (buildNormalizedPath("/foo", "/bar/..", "baz") == "/baz");
assert (buildNormalizedPath("foo/./bar", "../../", "../baz") == "../baz");
assert (buildNormalizedPath("/foo/./bar", "../../baz") == "/baz");
}
version (Windows)
{
assert (buildNormalizedPath(`c:\foo\.\bar/..\\baz\`) == `c:\foo\baz`);
assert (buildNormalizedPath(`..\foo\.`) == `..\foo`);
assert (buildNormalizedPath(`c:\foo`, `bar\baz\`) == `c:\foo\bar\baz`);
assert (buildNormalizedPath(`c:\foo`, `bar/..`) == `c:\foo`);
assert (buildNormalizedPath(`\\server\share\foo`, `..\bar`) == `\\server\share\bar`);
}
---
*/
immutable(C)[] buildNormalizedPath(C)(const(C[])[] paths...)
@trusted pure nothrow
if (isSomeChar!C)
{
import core.stdc.stdlib;
//Remove empty fields
bool allEmpty = true;
foreach (ref const(C[]) path ; paths)
{
if (path !is null)
{
allEmpty = false;
break;
}
}
if (allEmpty) return null;
auto paths2 = new const(C)[][](paths.length);
//(cast(const(C)[]*)alloca((const(C)[]).sizeof * paths.length))[0 .. paths.length];
// Check whether the resulting path will be absolute or rooted,
// calculate its maximum length, and discard segments we won't use.
typeof(paths[0][0])[] rootElement;
int numPaths = 0;
bool seenAbsolute;
size_t segmentLengthSum = 0;
foreach (i; 0 .. paths.length)
{
auto p = paths[i];
if (p.empty) continue;
else if (isRooted(p))
{
immutable thisIsAbsolute = isAbsolute(p);
if (thisIsAbsolute || !seenAbsolute)
{
if (thisIsAbsolute) seenAbsolute = true;
rootElement = rootName(p);
paths2[0] = p[rootElement.length .. $];
numPaths = 1;
segmentLengthSum = paths2[0].length;
}
else
{
paths2[0] = p;
numPaths = 1;
segmentLengthSum = p.length;
}
}
else
{
paths2[numPaths++] = p;
segmentLengthSum += p.length;
}
}
if (rootElement.length + segmentLengthSum == 0) return null;
paths2 = paths2[0 .. numPaths];
immutable rooted = !rootElement.empty;
assert (rooted || !seenAbsolute); // absolute => rooted
// Allocate memory for the resulting path, including room for
// extra dir separators
auto fullPath = new C[rootElement.length + segmentLengthSum + paths2.length];
// Copy the root element into fullPath, and let relPart be
// the remaining slice.
typeof(fullPath) relPart;
if (rooted)
{
// For Windows, we also need to perform normalization on
// the root element.
version (Posix)
{
fullPath[0 .. rootElement.length] = rootElement[];
}
else version (Windows)
{
foreach (i, c; rootElement)
{
if (isDirSeparator(c))
{
static assert (dirSeparator.length == 1);
fullPath[i] = dirSeparator[0];
}
else fullPath[i] = c;
}
}
else static assert (0);
// If the root element doesn't end with a dir separator,
// we add one.
if (!isDirSeparator(rootElement[$-1]))
{
static assert (dirSeparator.length == 1);
fullPath[rootElement.length] = dirSeparator[0];
relPart = fullPath[rootElement.length + 1 .. $];
}
else
{
relPart = fullPath[rootElement.length .. $];
}
}
else relPart = fullPath;
// Now, we have ensured that all segments in path are relative to the
// root we found earlier.
bool hasParents = rooted;
ptrdiff_t i;
foreach (path; paths2)
{
path = trimDirSeparators(path);
enum Prev { nonSpecial, dirSep, dot, doubleDot }
Prev prev = Prev.dirSep;
foreach (j; 0 .. path.length+1)
{
// Fake a dir separator between path segments
immutable c = (j == path.length ? dirSeparator[0] : path[j]);
if (isDirSeparator(c))
{
final switch (prev)
{
case Prev.doubleDot:
if (hasParents)
{
while (i > 0 && !isDirSeparator(relPart[i-1])) --i;
if (i > 0) --i; // skip the dir separator
while (i > 0 && !isDirSeparator(relPart[i-1])) --i;
if (i == 0) hasParents = rooted;
}
else
{
relPart[i++] = '.';
relPart[i++] = '.';
static assert (dirSeparator.length == 1);
relPart[i++] = dirSeparator[0];
}
break;
case Prev.dot:
while (i > 0 && !isDirSeparator(relPart[i-1])) --i;
break;
case Prev.nonSpecial:
static assert (dirSeparator.length == 1);
relPart[i++] = dirSeparator[0];
hasParents = true;
break;
case Prev.dirSep:
break;
}
prev = Prev.dirSep;
}
else if (c == '.')
{
final switch (prev)
{
case Prev.dirSep:
prev = Prev.dot;
break;
case Prev.dot:
prev = Prev.doubleDot;
break;
case Prev.doubleDot:
prev = Prev.nonSpecial;
relPart[i .. i+3] = "...";
i += 3;
break;
case Prev.nonSpecial:
relPart[i] = '.';
++i;
break;
}
}
else
{
final switch (prev)
{
case Prev.doubleDot:
relPart[i] = '.';
++i;
goto case;
case Prev.dot:
relPart[i] = '.';
++i;
break;
case Prev.dirSep: break;
case Prev.nonSpecial: break;
}
relPart[i] = c;
++i;
prev = Prev.nonSpecial;
}
}
}
// Return path, including root element and excluding the
// final dir separator.
immutable len = (relPart.ptr - fullPath.ptr) + (i > 0 ? i - 1 : 0);
if (len == 0)
{
fullPath.length = 1;
fullPath[0] = '.';
}
else
fullPath = fullPath[0 .. len];
version (Windows)
{
// On Windows, if the path is on the form `\\server\share`,
// with no further segments, normalization will have turned it
// into `\\server\share\`. If so, we need to remove the final
// backslash.
if (isUNC(fullPath) && uncRootLength(fullPath) == fullPath.length - 1)
fullPath = fullPath[0 .. $-1];
}
return cast(typeof(return)) fullPath;
}
unittest
{
assert (buildNormalizedPath("") is null);
assert (buildNormalizedPath("foo") == "foo");
assert (buildNormalizedPath(".") == ".");
assert (buildNormalizedPath(".", ".") == ".");
assert (buildNormalizedPath("foo", "..") == ".");
assert (buildNormalizedPath("", "") is null);
assert (buildNormalizedPath("", ".") == ".");
assert (buildNormalizedPath(".", "") == ".");
assert (buildNormalizedPath(null, "foo") == "foo");
assert (buildNormalizedPath("", "foo") == "foo");
assert (buildNormalizedPath("", "") == "");
assert (buildNormalizedPath("", null) == "");
assert (buildNormalizedPath(null, "") == "");
assert (buildNormalizedPath!(char)(null, null) == "");
version (Posix)
{
assert (buildNormalizedPath("/", "foo", "bar") == "/foo/bar");
assert (buildNormalizedPath("foo", "bar", "baz") == "foo/bar/baz");
assert (buildNormalizedPath("foo", "bar/baz") == "foo/bar/baz");
assert (buildNormalizedPath("foo", "bar//baz///") == "foo/bar/baz");
assert (buildNormalizedPath("/foo", "bar/baz") == "/foo/bar/baz");
assert (buildNormalizedPath("/foo", "/bar/baz") == "/bar/baz");
assert (buildNormalizedPath("/foo/..", "/bar/./baz") == "/bar/baz");
assert (buildNormalizedPath("/foo/..", "bar/baz") == "/bar/baz");
assert (buildNormalizedPath("/foo/../../", "bar/baz") == "/bar/baz");
assert (buildNormalizedPath("/foo/bar", "../baz") == "/foo/baz");
assert (buildNormalizedPath("/foo/bar", "../../baz") == "/baz");
assert (buildNormalizedPath("/foo/bar", ".././/baz/..", "wee/") == "/foo/wee");
assert (buildNormalizedPath("//foo/bar", "baz///wee") == "/foo/bar/baz/wee");
static assert (buildNormalizedPath("/foo/..", "/bar/./baz") == "/bar/baz");
// Examples in docs:
assert (buildNormalizedPath("/foo", "bar/baz/") == "/foo/bar/baz");
assert (buildNormalizedPath("/foo", "/bar/..", "baz") == "/baz");
assert (buildNormalizedPath("foo/./bar", "../../", "../baz") == "../baz");
assert (buildNormalizedPath("/foo/./bar", "../../baz") == "/baz");
assert (buildNormalizedPath("foo", "", "bar") == "foo/bar");
assert (buildNormalizedPath("foo", null, "bar") == "foo/bar");
//Curent dir path
assert (buildNormalizedPath("./") == ".");
assert (buildNormalizedPath("././") == ".");
assert (buildNormalizedPath("./foo/..") == ".");
assert (buildNormalizedPath("foo/..") == ".");
}
else version (Windows)
{
assert (buildNormalizedPath(`\`, `foo`, `bar`) == `\foo\bar`);
assert (buildNormalizedPath(`foo`, `bar`, `baz`) == `foo\bar\baz`);
assert (buildNormalizedPath(`foo`, `bar\baz`) == `foo\bar\baz`);
assert (buildNormalizedPath(`foo`, `bar\\baz\\\`) == `foo\bar\baz`);
assert (buildNormalizedPath(`\foo`, `bar\baz`) == `\foo\bar\baz`);
assert (buildNormalizedPath(`\foo`, `\bar\baz`) == `\bar\baz`);
assert (buildNormalizedPath(`\foo\..`, `\bar\.\baz`) == `\bar\baz`);
assert (buildNormalizedPath(`\foo\..`, `bar\baz`) == `\bar\baz`);
assert (buildNormalizedPath(`\foo\..\..\`, `bar\baz`) == `\bar\baz`);
assert (buildNormalizedPath(`\foo\bar`, `..\baz`) == `\foo\baz`);
assert (buildNormalizedPath(`\foo\bar`, `../../baz`) == `\baz`);
assert (buildNormalizedPath(`\foo\bar`, `..\.\/baz\..`, `wee\`) == `\foo\wee`);
assert (buildNormalizedPath(`c:\`, `foo`, `bar`) == `c:\foo\bar`);
assert (buildNormalizedPath(`c:foo`, `bar`, `baz`) == `c:foo\bar\baz`);
assert (buildNormalizedPath(`c:foo`, `bar\baz`) == `c:foo\bar\baz`);
assert (buildNormalizedPath(`c:foo`, `bar\\baz\\\`) == `c:foo\bar\baz`);
assert (buildNormalizedPath(`c:\foo`, `bar\baz`) == `c:\foo\bar\baz`);
assert (buildNormalizedPath(`c:\foo`, `\bar\baz`) == `c:\bar\baz`);
assert (buildNormalizedPath(`c:\foo\..`, `\bar\.\baz`) == `c:\bar\baz`);
assert (buildNormalizedPath(`c:\foo\..`, `bar\baz`) == `c:\bar\baz`);
assert (buildNormalizedPath(`c:\foo\..\..\`, `bar\baz`) == `c:\bar\baz`);
assert (buildNormalizedPath(`c:\foo\bar`, `..\baz`) == `c:\foo\baz`);
assert (buildNormalizedPath(`c:\foo\bar`, `..\..\baz`) == `c:\baz`);
assert (buildNormalizedPath(`c:\foo\bar`, `..\.\\baz\..`, `wee\`) == `c:\foo\wee`);
assert (buildNormalizedPath(`\\server\share`, `foo`, `bar`) == `\\server\share\foo\bar`);
assert (buildNormalizedPath(`\\server\share\`, `foo`, `bar`) == `\\server\share\foo\bar`);
assert (buildNormalizedPath(`\\server\share\foo`, `bar\baz`) == `\\server\share\foo\bar\baz`);
assert (buildNormalizedPath(`\\server\share\foo`, `\bar\baz`) == `\\server\share\bar\baz`);
assert (buildNormalizedPath(`\\server\share\foo\..`, `\bar\.\baz`) == `\\server\share\bar\baz`);
assert (buildNormalizedPath(`\\server\share\foo\..`, `bar\baz`) == `\\server\share\bar\baz`);
assert (buildNormalizedPath(`\\server\share\foo\..\..\`, `bar\baz`) == `\\server\share\bar\baz`);
assert (buildNormalizedPath(`\\server\share\foo\bar`, `..\baz`) == `\\server\share\foo\baz`);
assert (buildNormalizedPath(`\\server\share\foo\bar`, `..\..\baz`) == `\\server\share\baz`);
assert (buildNormalizedPath(`\\server\share\foo\bar`, `..\.\\baz\..`, `wee\`) == `\\server\share\foo\wee`);
static assert (buildNormalizedPath(`\foo\..\..\`, `bar\baz`) == `\bar\baz`);
// Examples in docs:
assert (buildNormalizedPath(`c:\foo`, `bar\baz\`) == `c:\foo\bar\baz`);
assert (buildNormalizedPath(`c:\foo`, `bar/..`) == `c:\foo`);
assert (buildNormalizedPath(`\\server\share\foo`, `..\bar`) == `\\server\share\bar`);
assert (buildNormalizedPath("foo", "", "bar") == `foo\bar`);
assert (buildNormalizedPath("foo", null, "bar") == `foo\bar`);
//Curent dir path
assert (buildNormalizedPath(`.\`) == ".");
assert (buildNormalizedPath(`.\.\`) == ".");
assert (buildNormalizedPath(`.\foo\..`) == ".");
assert (buildNormalizedPath(`foo\..`) == ".");
}
else static assert (0);
}
unittest
{
version (Posix)
{
// Trivial
assert (buildNormalizedPath("").empty);
assert (buildNormalizedPath("foo/bar") == "foo/bar");
// Correct handling of leading slashes
assert (buildNormalizedPath("/") == "/");
assert (buildNormalizedPath("///") == "/");
assert (buildNormalizedPath("////") == "/");
assert (buildNormalizedPath("/foo/bar") == "/foo/bar");
assert (buildNormalizedPath("//foo/bar") == "/foo/bar");
assert (buildNormalizedPath("///foo/bar") == "/foo/bar");
assert (buildNormalizedPath("////foo/bar") == "/foo/bar");
// Correct handling of single-dot symbol (current directory)
assert (buildNormalizedPath("/./foo") == "/foo");
assert (buildNormalizedPath("/foo/./bar") == "/foo/bar");
assert (buildNormalizedPath("./foo") == "foo");
assert (buildNormalizedPath("././foo") == "foo");
assert (buildNormalizedPath("foo/././bar") == "foo/bar");
// Correct handling of double-dot symbol (previous directory)
assert (buildNormalizedPath("/foo/../bar") == "/bar");
assert (buildNormalizedPath("/foo/../../bar") == "/bar");
assert (buildNormalizedPath("/../foo") == "/foo");
assert (buildNormalizedPath("/../../foo") == "/foo");
assert (buildNormalizedPath("/foo/..") == "/");
assert (buildNormalizedPath("/foo/../..") == "/");
assert (buildNormalizedPath("foo/../bar") == "bar");
assert (buildNormalizedPath("foo/../../bar") == "../bar");
assert (buildNormalizedPath("../foo") == "../foo");
assert (buildNormalizedPath("../../foo") == "../../foo");
assert (buildNormalizedPath("../foo/../bar") == "../bar");
assert (buildNormalizedPath(".././../foo") == "../../foo");
assert (buildNormalizedPath("foo/bar/..") == "foo");
assert (buildNormalizedPath("/foo/../..") == "/");
// The ultimate path
assert (buildNormalizedPath("/foo/../bar//./../...///baz//") == "/.../baz");
static assert (buildNormalizedPath("/foo/../bar//./../...///baz//") == "/.../baz");
}
else version (Windows)
{
// Trivial
assert (buildNormalizedPath("").empty);
assert (buildNormalizedPath(`foo\bar`) == `foo\bar`);
assert (buildNormalizedPath("foo/bar") == `foo\bar`);
// Correct handling of absolute paths
assert (buildNormalizedPath("/") == `\`);
assert (buildNormalizedPath(`\`) == `\`);
assert (buildNormalizedPath(`\\\`) == `\`);
assert (buildNormalizedPath(`\\\\`) == `\`);
assert (buildNormalizedPath(`\foo\bar`) == `\foo\bar`);
assert (buildNormalizedPath(`\\foo`) == `\\foo`);
assert (buildNormalizedPath(`\\foo\\`) == `\\foo`);
assert (buildNormalizedPath(`\\foo/bar`) == `\\foo\bar`);
assert (buildNormalizedPath(`\\\foo\bar`) == `\foo\bar`);
assert (buildNormalizedPath(`\\\\foo\bar`) == `\foo\bar`);
assert (buildNormalizedPath(`c:\`) == `c:\`);
assert (buildNormalizedPath(`c:\foo\bar`) == `c:\foo\bar`);
assert (buildNormalizedPath(`c:\\foo\bar`) == `c:\foo\bar`);
// Correct handling of single-dot symbol (current directory)
assert (buildNormalizedPath(`\./foo`) == `\foo`);
assert (buildNormalizedPath(`\foo/.\bar`) == `\foo\bar`);
assert (buildNormalizedPath(`.\foo`) == `foo`);
assert (buildNormalizedPath(`./.\foo`) == `foo`);
assert (buildNormalizedPath(`foo\.\./bar`) == `foo\bar`);
// Correct handling of double-dot symbol (previous directory)
assert (buildNormalizedPath(`\foo\..\bar`) == `\bar`);
assert (buildNormalizedPath(`\foo\../..\bar`) == `\bar`);
assert (buildNormalizedPath(`\..\foo`) == `\foo`);
assert (buildNormalizedPath(`\..\..\foo`) == `\foo`);
assert (buildNormalizedPath(`\foo\..`) == `\`);
assert (buildNormalizedPath(`\foo\../..`) == `\`);
assert (buildNormalizedPath(`foo\..\bar`) == `bar`);
assert (buildNormalizedPath(`foo\..\../bar`) == `..\bar`);
assert (buildNormalizedPath(`..\foo`) == `..\foo`);
assert (buildNormalizedPath(`..\..\foo`) == `..\..\foo`);
assert (buildNormalizedPath(`..\foo\..\bar`) == `..\bar`);
assert (buildNormalizedPath(`..\.\..\foo`) == `..\..\foo`);
assert (buildNormalizedPath(`foo\bar\..`) == `foo`);
assert (buildNormalizedPath(`\foo\..\..`) == `\`);
assert (buildNormalizedPath(`c:\foo\..\..`) == `c:\`);
// Correct handling of non-root path with drive specifier
assert (buildNormalizedPath(`c:foo`) == `c:foo`);
assert (buildNormalizedPath(`c:..\foo\.\..\bar`) == `c:..\bar`);
// The ultimate path
assert (buildNormalizedPath(`c:\foo\..\bar\\.\..\...\\\baz\\`) == `c:\...\baz`);
static assert (buildNormalizedPath(`c:\foo\..\bar\\.\..\...\\\baz\\`) == `c:\...\baz`);
}
else static assert (false);
}
unittest
{
// Test for issue 7397
string[] ary = ["a", "b"];
version (Posix)
{
assert (buildNormalizedPath(ary) == "a/b");
}
else version (Windows)
{
assert (buildNormalizedPath(ary) == `a\b`);
}
}
/** Returns a bidirectional range that iterates over the elements of a path.
Examples:
---
assert (equal(pathSplitter("/"), ["/"]));
assert (equal(pathSplitter("/foo/bar"), ["/", "foo", "bar"]));
assert (equal(pathSplitter("//foo/bar"), ["//foo", "bar"]));
assert (equal(pathSplitter("foo/../bar//./"), ["foo", "..", "bar", "."]));
version (Windows)
{
assert (equal(pathSplitter(`foo\..\bar\/.\`), ["foo", "..", "bar", "."]));
assert (equal(pathSplitter("c:"), ["c:"]));
assert (equal(pathSplitter(`c:\foo\bar`), [`c:\`, "foo", "bar"]));
assert (equal(pathSplitter(`c:foo\bar`), ["c:foo", "bar"]));
}
---
*/
auto pathSplitter(C)(const(C)[] path) @safe pure nothrow
if (isSomeChar!C)
{
static struct PathSplitter
{
@safe pure nothrow @nogc:
@property bool empty() const { return _empty; }
@property const(C)[] front() const
{
assert (!empty, "PathSplitter: called front() on empty range");
return _front;
}
void popFront()
{
assert (!empty, "PathSplitter: called popFront() on empty range");
if (_path.empty)
{
if (_front is _back)
{
_empty = true;
_front = null;
_back = null;
}
else
{
_front = _back;
}
}
else
{
ptrdiff_t i = 0;
while (i < _path.length && !isDirSeparator(_path[i])) ++i;
_front = _path[0 .. i];
_path = ltrimDirSeparators(_path[i .. $]);
}
}
@property const(C)[] back() const
{
assert (!empty, "PathSplitter: called back() on empty range");
return _back;
}
void popBack()
{
assert (!empty, "PathSplitter: called popBack() on empty range");
if (_path.empty)
{
if (_front is _back)
{
_empty = true;
_front = null;
_back = null;
}
else
{
_back = _front;
}
}
else
{
auto i = (cast(ptrdiff_t) _path.length) - 1;
while (i >= 0 && !isDirSeparator(_path[i])) --i;
_back = _path[i + 1 .. $];
_path = rtrimDirSeparators(_path[0 .. i+1]);
}
}
@property auto save() { return this; }
private:
typeof(path) _path, _front, _back;
bool _empty;
this(typeof(path) p)
{
if (p.empty)
{
_empty = true;
return;
}
_path = p;
// If path is rooted, first element is special
version (Windows)
{
if (isUNC(_path))
{
auto i = uncRootLength(_path);
_front = _path[0 .. i];
_path = ltrimDirSeparators(_path[i .. $]);
}
else if (isDriveRoot(_path))
{
_front = _path[0 .. 3];
_path = ltrimDirSeparators(_path[3 .. $]);
}
else if (_path.length >= 1 && isDirSeparator(_path[0]))
{
_front = _path[0 .. 1];
_path = ltrimDirSeparators(_path[1 .. $]);
}
else
{
assert (!isRooted(_path));
popFront();
}
}
else version (Posix)
{
if (_path.length >= 1 && isDirSeparator(_path[0]))
{
_front = _path[0 .. 1];
_path = ltrimDirSeparators(_path[1 .. $]);
}
else
{
popFront();
}
}
else static assert (0);
if (_path.empty) _back = _front;
else
{
_path = rtrimDirSeparators(_path);
popBack();
}
}
}
return PathSplitter(path);
}
unittest
{
// equal2 verifies that the range is the same both ways, i.e.
// through front/popFront and back/popBack.
import std.range;
import std.algorithm;
bool equal2(R1, R2)(R1 r1, R2 r2)
{
static assert (isBidirectionalRange!R1);
return equal(r1, r2) && equal(retro(r1), retro(r2));
}
assert (pathSplitter("").empty);
// Root directories
assert (equal2(pathSplitter("/"), ["/"]));
assert (equal2(pathSplitter("//"), ["/"]));
assert (equal2(pathSplitter("///"w), ["/"w]));
// Absolute paths
assert (equal2(pathSplitter("/foo/bar".dup), ["/", "foo", "bar"]));
// General
assert (equal2(pathSplitter("foo/bar"d.dup), ["foo"d, "bar"d]));
assert (equal2(pathSplitter("foo//bar"), ["foo", "bar"]));
assert (equal2(pathSplitter("foo/bar//"w), ["foo"w, "bar"w]));
assert (equal2(pathSplitter("foo/../bar//./"d), ["foo"d, ".."d, "bar"d, "."d]));
// save()
auto ps1 = pathSplitter("foo/bar/baz");
auto ps2 = ps1.save;
ps1.popFront();
assert (equal2(ps1, ["bar", "baz"]));
assert (equal2(ps2, ["foo", "bar", "baz"]));
// Platform specific
version (Posix)
{
assert (equal2(pathSplitter("//foo/bar"w.dup), ["/"w, "foo"w, "bar"w]));
}
version (Windows)
{
assert (equal2(pathSplitter(`\`), [`\`]));
assert (equal2(pathSplitter(`foo\..\bar\/.\`), ["foo", "..", "bar", "."]));
assert (equal2(pathSplitter("c:"), ["c:"]));
assert (equal2(pathSplitter(`c:\foo\bar`), [`c:\`, "foo", "bar"]));
assert (equal2(pathSplitter(`c:foo\bar`), ["c:foo", "bar"]));
assert (equal2(pathSplitter(`\\foo\bar`), [`\\foo\bar`]));
assert (equal2(pathSplitter(`\\foo\bar\\`), [`\\foo\bar`]));
assert (equal2(pathSplitter(`\\foo\bar\baz`), [`\\foo\bar`, "baz"]));
}
import std.exception;
assertCTFEable!(
{
assert (equal(pathSplitter("/foo/bar".dup), ["/", "foo", "bar"]));
});
// Bugzilla 11691
// front should return a mutable array of const elements
static assert(is(typeof(pathSplitter!char(null).front) == const(char)[]));
}
/** Determines whether a path starts at a root directory.
On POSIX, this function returns true if and only if the path starts
with a slash (/).
---
version (Posix)
{
assert (isRooted("/"));
assert (isRooted("/foo"));
assert (!isRooted("foo"));
assert (!isRooted("../foo"));
}
---
On Windows, this function returns true if the path starts at
the root directory of the current drive, of some other drive,
or of a network drive.
---
version (Windows)
{
assert (isRooted(`\`));
assert (isRooted(`\foo`));
assert (isRooted(`d:\foo`));
assert (isRooted(`\\foo\bar`));
assert (!isRooted("foo"));
assert (!isRooted("d:foo"));
}
---
*/
bool isRooted(R)(inout R path)
if (isRandomAccessRange!R && isSomeChar!(ElementType!R) ||
is(StringTypeOf!R))
{
if (path.length >= 1 && isDirSeparator(path[0])) return true;
version (Posix) return false;
else version (Windows) return isAbsolute!(BaseOf!R)(path);
}
unittest
{
assert (isRooted("/"));
assert (isRooted("/foo"));
assert (!isRooted("foo"));
assert (!isRooted("../foo"));
version (Windows)
{
assert (isRooted(`\`));
assert (isRooted(`\foo`));
assert (isRooted(`d:\foo`));
assert (isRooted(`\\foo\bar`));
assert (!isRooted("foo"));
assert (!isRooted("d:foo"));
}
static assert (isRooted("/foo"));
static assert (!isRooted("foo"));
static struct DirEntry { string s; alias s this; }
assert (!isRooted(DirEntry("foo")));
}
/** Determines whether a path is absolute or not.
Examples:
On POSIX, an absolute path starts at the root directory.
(In fact, $(D _isAbsolute) is just an alias for $(LREF isRooted).)
---
version (Posix)
{
assert (isAbsolute("/"));
assert (isAbsolute("/foo"));
assert (!isAbsolute("foo"));
assert (!isAbsolute("../foo"));
}
---
On Windows, an absolute path starts at the root directory of
a specific drive. Hence, it must start with $(D `d:\`) or $(D `d:/`),
where $(D d) is the drive letter. Alternatively, it may be a
network path, i.e. a path starting with a double (back)slash.
---
version (Windows)
{
assert (isAbsolute(`d:\`));
assert (isAbsolute(`d:\foo`));
assert (isAbsolute(`\\foo\bar`));
assert (!isAbsolute(`\`));
assert (!isAbsolute(`\foo`));
assert (!isAbsolute("d:foo"));
}
---
*/
version (StdDdoc)
{
bool isAbsolute(R)(const R path) @safe pure nothrow @nogc
if (isRandomAccessRange!R && isSomeChar!(ElementType!R) ||
is(StringTypeOf!R));
}
else version (Windows)
{
bool isAbsolute(R)(const R path) @safe pure nothrow @nogc
if (isRandomAccessRange!R && isSomeChar!(ElementType!R) ||
is(StringTypeOf!R))
{
return isDriveRoot!(BaseOf!R)(path) || isUNC!(BaseOf!R)(path);
}
}
else version (Posix)
{
alias isAbsolute = isRooted;
}
unittest
{
assert (!isAbsolute("foo"));
assert (!isAbsolute("../foo"w));
static assert (!isAbsolute("foo"));
version (Posix)
{
assert (isAbsolute("/"d));
assert (isAbsolute("/foo".dup));
static assert (isAbsolute("/foo"));
}
version (Windows)
{
assert (isAbsolute("d:\\"w));
assert (isAbsolute("d:\\foo"d));
assert (isAbsolute("\\\\foo\\bar"));
assert (!isAbsolute("\\"w.dup));
assert (!isAbsolute("\\foo"d.dup));
assert (!isAbsolute("d:"));
assert (!isAbsolute("d:foo"));
static assert (isAbsolute(`d:\foo`));
}
{
auto r = MockRange!(immutable(char))(`../foo`);
assert(!r.isAbsolute());
}
static struct DirEntry { string s; alias s this; }
assert(!isAbsolute(DirEntry("foo")));
}
/** Translates $(D path) into an absolute _path.
The following algorithm is used:
$(OL
$(LI If $(D path) is empty, return $(D null).)
$(LI If $(D path) is already absolute, return it.)
$(LI Otherwise, append $(D path) to $(D base) and return
the result. If $(D base) is not specified, the current
working directory is used.)
)
The function allocates memory if and only if it gets to the third stage
of this algorithm.
Examples:
---
version (Posix)
{
assert (absolutePath("some/file", "/foo/bar") == "/foo/bar/some/file");
assert (absolutePath("../file", "/foo/bar") == "/foo/bar/../file");
assert (absolutePath("/some/file", "/foo/bar") == "/some/file");
}
version (Windows)
{
assert (absolutePath(`some\file`, `c:\foo\bar`) == `c:\foo\bar\some\file`);
assert (absolutePath(`..\file`, `c:\foo\bar`) == `c:\foo\bar\..\file`);
assert (absolutePath(`c:\some\file`, `c:\foo\bar`) == `c:\some\file`);
assert (absolutePath(`\file`, `c:\foo\bar`) == `c:\file`);
}
---
Throws:
$(D Exception) if the specified _base directory is not absolute.
*/
string absolutePath(string path, lazy string base = getcwd())
@safe pure
{
if (path.empty) return null;
if (isAbsolute(path)) return path;
immutable baseVar = base;
if (!isAbsolute(baseVar)) throw new Exception("Base directory must be absolute");
return buildPath(baseVar, path);
}
unittest
{
version (Posix)
{
assert (absolutePath("some/file", "/foo/bar") == "/foo/bar/some/file");
assert (absolutePath("../file", "/foo/bar") == "/foo/bar/../file");
assert (absolutePath("/some/file", "/foo/bar") == "/some/file");
static assert (absolutePath("some/file", "/foo/bar") == "/foo/bar/some/file");
}
version (Windows)
{
assert (absolutePath(`some\file`, `c:\foo\bar`) == `c:\foo\bar\some\file`);
assert (absolutePath(`..\file`, `c:\foo\bar`) == `c:\foo\bar\..\file`);
assert (absolutePath(`c:\some\file`, `c:\foo\bar`) == `c:\some\file`);
assert (absolutePath(`\`, `c:\`) == `c:\`);
assert (absolutePath(`\some\file`, `c:\foo\bar`) == `c:\some\file`);
static assert (absolutePath(`some\file`, `c:\foo\bar`) == `c:\foo\bar\some\file`);
}
import std.exception;
assertThrown(absolutePath("bar", "foo"));
}
/** Translates $(D path) into a relative _path.
The returned _path is relative to $(D base), which is by default
taken to be the current working directory. If specified,
$(D base) must be an absolute _path, and it is always assumed
to refer to a directory. If $(D path) and $(D base) refer to
the same directory, the function returns $(D `.`).
The following algorithm is used:
$(OL
$(LI If $(D path) is a relative directory, return it unaltered.)
$(LI Find a common root between $(D path) and $(D base).
If there is no common root, return $(D path) unaltered.)
$(LI Prepare a string with as many $(D `../`) or $(D `..\`) as
necessary to reach the common root from base path.)
$(LI Append the remaining segments of $(D path) to the string
and return.)
)
In the second step, path components are compared using $(D filenameCmp!cs),
where $(D cs) is an optional template parameter determining whether
the comparison is case sensitive or not. See the
$(LREF filenameCmp) documentation for details.
The function allocates memory if and only if it reaches the third stage
of the above algorithm.
Examples:
---
assert (relativePath("foo") == "foo");
version (Posix)
{
assert (relativePath("foo", "/bar") == "foo");
assert (relativePath("/foo/bar", "/foo/bar") == ".");
assert (relativePath("/foo/bar", "/foo/baz") == "../bar");
assert (relativePath("/foo/bar/baz", "/foo/woo/wee") == "../../bar/baz");
assert (relativePath("/foo/bar/baz", "/foo/bar") == "baz");
}
version (Windows)
{
assert (relativePath("foo", `c:\bar`) == "foo");
assert (relativePath(`c:\foo\bar`, `c:\foo\bar`) == ".");
assert (relativePath(`c:\foo\bar`, `c:\foo\baz`) == `..\bar`);
assert (relativePath(`c:\foo\bar\baz`, `c:\foo\woo\wee`) == `..\..\bar\baz`);
assert (relativePath(`c:\foo\bar\baz`, `c:\foo\bar`) == "baz");
assert (relativePath(`c:\foo\bar`, `d:\foo`) == `c:\foo\bar`);
}
---
Throws:
$(D Exception) if the specified _base directory is not absolute.
*/
string relativePath(CaseSensitive cs = CaseSensitive.osDefault)
(string path, lazy string base = getcwd())
{
if (!isAbsolute(path)) return path;
immutable baseVar = base;
if (!isAbsolute(baseVar)) throw new Exception("Base directory must be absolute");
// Find common root with current working directory
auto basePS = pathSplitter(baseVar);
auto pathPS = pathSplitter(path);
if (filenameCmp!cs(basePS.front, pathPS.front) != 0) return path;
basePS.popFront();
pathPS.popFront();
import std.range.primitives : walkLength;
import std.range : repeat, chain;
import std.algorithm : mismatch, joiner;
import std.array;
import std.utf : byChar;
// Remove matching prefix from basePS and pathPS
auto tup = mismatch!((a, b) => filenameCmp!cs(a, b) == 0)(basePS, pathPS);
basePS = tup[0];
pathPS = tup[1];
// if base == path
if (basePS.empty && pathPS.empty)
return ".";
// Append as many "../" as necessary to reach common base from path
auto r1 = ".."
.byChar
.repeat(basePS.walkLength())
.joiner(dirSeparator.byChar);
auto r2 = pathPS
.joiner(dirSeparator)
.byChar;
// Return (r1 ~ dirSeparator ~ r2)
auto result = chain(r1, dirSeparator[0 .. $ * !(r1.empty || r2.empty)].byChar, r2).array;
return ((r) @trusted => cast(string)r)(result);
}
unittest
{
import std.exception;
assert (relativePath("foo") == "foo");
version (Posix)
{
assert (relativePath("foo", "/bar") == "foo");
assert (relativePath("/foo/bar", "/foo/bar") == ".");
assert (relativePath("/foo/bar", "/foo/baz") == "../bar");
assert (relativePath("/foo/bar/baz", "/foo/woo/wee") == "../../bar/baz");
assert (relativePath("/foo/bar/baz", "/foo/bar") == "baz");
assertThrown(relativePath("/foo", "bar"));
assertCTFEable!(
{
assert (relativePath("/foo/bar", "/foo/baz") == "../bar");
});
}
else version (Windows)
{
assert (relativePath("foo", `c:\bar`) == "foo");
assert (relativePath(`c:\foo\bar`, `c:\foo\bar`) == ".");
assert (relativePath(`c:\foo\bar`, `c:\foo\baz`) == `..\bar`);
assert (relativePath(`c:\foo\bar\baz`, `c:\foo\woo\wee`) == `..\..\bar\baz`);
assert (relativePath(`c:/foo/bar/baz`, `c:\foo\woo\wee`) == `..\..\bar\baz`);
assert (relativePath(`c:\foo\bar\baz`, `c:\foo\bar`) == "baz");
assert (relativePath(`c:\foo\bar`, `d:\foo`) == `c:\foo\bar`);
assert (relativePath(`\\foo\bar`, `c:\foo`) == `\\foo\bar`);
assertThrown(relativePath(`c:\foo`, "bar"));
assertCTFEable!(
{
assert (relativePath(`c:\foo\bar`, `c:\foo\baz`) == `..\bar`);
});
}
else static assert (0);
}
/** Compares filename characters and return $(D < 0) if $(D a < b), $(D 0) if
$(D a == b) and $(D > 0) if $(D a > b).
This function can perform a case-sensitive or a case-insensitive
comparison. This is controlled through the $(D cs) template parameter
which, if not specified, is given by
$(LREF CaseSensitive)$(D .osDefault).
On Windows, the backslash and slash characters ($(D `\`) and $(D `/`))
are considered equal.
Examples:
---
assert (filenameCharCmp('a', 'a') == 0);
assert (filenameCharCmp('a', 'b') < 0);
assert (filenameCharCmp('b', 'a') > 0);
version (linux)
{
// Same as calling filenameCharCmp!(CaseSensitive.yes)(a, b)
assert (filenameCharCmp('A', 'a') < 0);
assert (filenameCharCmp('a', 'A') > 0);
}
version (Windows)
{
// Same as calling filenameCharCmp!(CaseSensitive.no)(a, b)
assert (filenameCharCmp('a', 'A') == 0);
assert (filenameCharCmp('a', 'B') < 0);
assert (filenameCharCmp('A', 'b') < 0);
}
---
*/
int filenameCharCmp(CaseSensitive cs = CaseSensitive.osDefault)(dchar a, dchar b)
@safe pure nothrow
{
if (isDirSeparator(a) && isDirSeparator(b)) return 0;
static if (!cs)
{
import std.uni;
a = toLower(a);
b = toLower(b);
}
return cast(int)(a - b);
}
unittest
{
assert (filenameCharCmp!(CaseSensitive.yes)('a', 'a') == 0);
assert (filenameCharCmp!(CaseSensitive.yes)('a', 'b') < 0);
assert (filenameCharCmp!(CaseSensitive.yes)('b', 'a') > 0);
assert (filenameCharCmp!(CaseSensitive.yes)('A', 'a') < 0);
assert (filenameCharCmp!(CaseSensitive.yes)('a', 'A') > 0);
assert (filenameCharCmp!(CaseSensitive.no)('a', 'a') == 0);
assert (filenameCharCmp!(CaseSensitive.no)('a', 'b') < 0);
assert (filenameCharCmp!(CaseSensitive.no)('b', 'a') > 0);
assert (filenameCharCmp!(CaseSensitive.no)('A', 'a') == 0);
assert (filenameCharCmp!(CaseSensitive.no)('a', 'A') == 0);
assert (filenameCharCmp!(CaseSensitive.no)('a', 'B') < 0);
assert (filenameCharCmp!(CaseSensitive.no)('B', 'a') > 0);
assert (filenameCharCmp!(CaseSensitive.no)('A', 'b') < 0);
assert (filenameCharCmp!(CaseSensitive.no)('b', 'A') > 0);
version (Posix) assert (filenameCharCmp('\\', '/') != 0);
version (Windows) assert (filenameCharCmp('\\', '/') == 0);
}
/** Compares file names and returns
Individual characters are compared using $(D filenameCharCmp!cs),
where $(D cs) is an optional template parameter determining whether
the comparison is case sensitive or not.
Treatment of invalid UTF encodings is implementation defined.
Params:
cs = case sensitivity
filename1 = range for first file name
filename2 = range for second file name
Returns:
$(D < 0) if $(D filename1 < filename2),
$(D 0) if $(D filename1 == filename2) and
$(D > 0) if $(D filename1 > filename2).
See_Also:
$(LREF filenameCharCmp)
Examples:
---
assert (filenameCmp("abc", "abc") == 0);
assert (filenameCmp("abc", "abd") < 0);
assert (filenameCmp("abc", "abb") > 0);
assert (filenameCmp("abc", "abcd") < 0);
assert (filenameCmp("abcd", "abc") > 0);
version (linux)
{
// Same as calling filenameCmp!(CaseSensitive.yes)(filename1, filename2)
assert (filenameCmp("Abc", "abc") < 0);
assert (filenameCmp("abc", "Abc") > 0);
}
version (Windows)
{
// Same as calling filenameCmp!(CaseSensitive.no)(filename1, filename2)
assert (filenameCmp("Abc", "abc") == 0);
assert (filenameCmp("abc", "Abc") == 0);
assert (filenameCmp("Abc", "abD") < 0);
assert (filenameCmp("abc", "AbB") > 0);
}
---
*/
int filenameCmp(CaseSensitive cs = CaseSensitive.osDefault, Range1, Range2)
(Range1 filename1, Range2 filename2)
if (isInputRange!Range1 && isSomeChar!(ElementEncodingType!Range1) &&
isInputRange!Range2 && isSomeChar!(ElementEncodingType!Range2))
{
alias C1 = Unqual!(ElementEncodingType!Range1);
alias C2 = Unqual!(ElementEncodingType!Range2);
static if (!cs && (C1.sizeof < 4 || C2.sizeof < 4) ||
C1.sizeof != C2.sizeof)
{
// Case insensitive - decode so case is checkable
// Different char sizes - decode to bring to common type
import std.utf : byDchar;
return filenameCmp!cs(filename1.byDchar, filename2.byDchar);
}
else static if (isSomeString!Range1 && C1.sizeof < 4 ||
isSomeString!Range2 && C2.sizeof < 4)
{
// Avoid autodecoding
import std.utf : byCodeUnit;
return filenameCmp!cs(filename1.byCodeUnit, filename2.byCodeUnit);
}
else
{
for (;;)
{
if (filename1.empty) return -(cast(int) !filename2.empty);
if (filename2.empty) return 1;
const c = filenameCharCmp!cs(filename1.front, filename2.front);
if (c != 0) return c;
filename1.popFront();
filename2.popFront();
}
}
}
unittest
{
assert (filenameCmp!(CaseSensitive.yes)("abc", "abc") == 0);
assert (filenameCmp!(CaseSensitive.yes)("abc", "abd") < 0);
assert (filenameCmp!(CaseSensitive.yes)("abc", "abb") > 0);
assert (filenameCmp!(CaseSensitive.yes)("abc", "abcd") < 0);
assert (filenameCmp!(CaseSensitive.yes)("abcd", "abc") > 0);
assert (filenameCmp!(CaseSensitive.yes)("Abc", "abc") < 0);
assert (filenameCmp!(CaseSensitive.yes)("abc", "Abc") > 0);
assert (filenameCmp!(CaseSensitive.no)("abc", "abc") == 0);
assert (filenameCmp!(CaseSensitive.no)("abc", "abd") < 0);
assert (filenameCmp!(CaseSensitive.no)("abc", "abb") > 0);
assert (filenameCmp!(CaseSensitive.no)("abc", "abcd") < 0);
assert (filenameCmp!(CaseSensitive.no)("abcd", "abc") > 0);
assert (filenameCmp!(CaseSensitive.no)("Abc", "abc") == 0);
assert (filenameCmp!(CaseSensitive.no)("abc", "Abc") == 0);
assert (filenameCmp!(CaseSensitive.no)("Abc", "abD") < 0);
assert (filenameCmp!(CaseSensitive.no)("abc", "AbB") > 0);
version (Posix) assert (filenameCmp(`abc\def`, `abc/def`) != 0);
version (Windows) assert (filenameCmp(`abc\def`, `abc/def`) == 0);
}
/** Matches a pattern against a path.
Some characters of pattern have a special meaning (they are
$(I meta-characters)) and can't be escaped. These are:
$(BOOKTABLE,
$(TR $(TD $(D *))
$(TD Matches 0 or more instances of any character.))
$(TR $(TD $(D ?))
$(TD Matches exactly one instance of any character.))
$(TR $(TD $(D [)$(I chars)$(D ]))
$(TD Matches one instance of any character that appears
between the brackets.))
$(TR $(TD $(D [!)$(I chars)$(D ]))
$(TD Matches one instance of any character that does not
appear between the brackets after the exclamation mark.))
$(TR $(TD $(D {)$(I string1)$(D ,)$(I string2)$(D ,)…$(D }))
$(TD Matches either of the specified strings.))
)
Individual characters are compared using $(D filenameCharCmp!cs),
where $(D cs) is an optional template parameter determining whether
the comparison is case sensitive or not. See the
$(LREF filenameCharCmp) documentation for details.
Note that directory
separators and dots don't stop a meta-character from matching
further portions of the path.
Returns:
$(D true) if pattern matches path, $(D false) otherwise.
See_also:
$(LINK2 http://en.wikipedia.org/wiki/Glob_%28programming%29,Wikipedia: _glob (programming))
Examples:
-----
assert (globMatch("foo.bar", "*"));
assert (globMatch("foo.bar", "*.*"));
assert (globMatch(`foo/foo\bar`, "f*b*r"));
assert (globMatch("foo.bar", "f???bar"));
assert (globMatch("foo.bar", "[fg]???bar"));
assert (globMatch("foo.bar", "[!gh]*bar"));
assert (globMatch("bar.fooz", "bar.{foo,bif}z"));
assert (globMatch("bar.bifz", "bar.{foo,bif}z"));
version (Windows)
{
// Same as calling globMatch!(CaseSensitive.no)(path, pattern)
assert (globMatch("foo", "Foo"));
assert (globMatch("Goo.bar", "[fg]???bar"));
}
version (linux)
{
// Same as calling globMatch!(CaseSensitive.yes)(path, pattern)
assert (!globMatch("foo", "Foo"));
assert (!globMatch("Goo.bar", "[fg]???bar"));
}
-----
*/
bool globMatch(CaseSensitive cs = CaseSensitive.osDefault, C, Range)
(Range path, const(C)[] pattern)
@safe pure nothrow
if (isForwardRange!Range && isSomeChar!(ElementEncodingType!Range) &&
isSomeChar!C && is(Unqual!C == Unqual!(ElementEncodingType!Range)))
in
{
// Verify that pattern[] is valid
import std.algorithm : balancedParens;
assert(balancedParens(pattern, '[', ']', 0));
assert(balancedParens(pattern, '{', '}', 0));
}
body
{
alias RC = Unqual!(ElementEncodingType!Range);
static if (RC.sizeof == 1 && isSomeString!Range)
{
import std.utf : byChar;
return globMatch!cs(path.byChar, pattern);
}
else static if (RC.sizeof == 2 && isSomeString!Range)
{
import std.utf : byWchar;
return globMatch!cs(path.byWchar, pattern);
}
else
{
C[] pattmp;
foreach (ref pi; 0 .. pattern.length)
{
const pc = pattern[pi];
switch (pc)
{
case '*':
if (pi + 1 == pattern.length)
return true;
for (; !path.empty; path.popFront())
{
auto p = path.save;
if (globMatch!(cs, C)(p,
pattern[pi + 1 .. pattern.length]))
return true;
}
return false;
case '?':
if (path.empty)
return false;
path.popFront();
break;
case '[':
if (path.empty)
return false;
auto nc = path.front;
path.popFront();
auto not = false;
++pi;
if (pattern[pi] == '!')
{
not = true;
++pi;
}
auto anymatch = false;
while (1)
{
const pc2 = pattern[pi];
if (pc2 == ']')
break;
if (!anymatch && (filenameCharCmp!cs(nc, pc2) == 0))
anymatch = true;
++pi;
}
if (anymatch == not)
return false;
break;
case '{':
// find end of {} section
auto piRemain = pi;
for (; piRemain < pattern.length
&& pattern[piRemain] != '}'; ++piRemain)
{ }
if (piRemain < pattern.length)
++piRemain;
++pi;
while (pi < pattern.length)
{
const pi0 = pi;
C pc3 = pattern[pi];
// find end of current alternative
for (; pi < pattern.length && pc3 != '}' && pc3 != ','; ++pi)
{
pc3 = pattern[pi];
}
auto p = path.save;
if (pi0 == pi)
{
if (globMatch!(cs, C)(p, pattern[piRemain..$]))
{
return true;
}
++pi;
}
else
{
/* Match for:
* pattern[pi0..pi-1] ~ pattern[piRemain..$]
*/
if (pattmp.ptr == null)
// Allocate this only once per function invocation.
// Should do it with malloc/free, but that would make it impure.
pattmp = new C[pattern.length];
const len1 = pi - 1 - pi0;
pattmp[0 .. len1] = pattern[pi0 .. pi - 1];
const len2 = pattern.length - piRemain;
pattmp[len1 .. len1 + len2] = pattern[piRemain .. $];
if (globMatch!(cs, C)(p, pattmp[0 .. len1 + len2]))
{
return true;
}
}
if (pc3 == '}')
{
break;
}
}
return false;
default:
if (path.empty)
return false;
if (filenameCharCmp!cs(pc, path.front) != 0)
return false;
path.popFront();
break;
}
}
return path.empty;
}
}
unittest
{
assert (globMatch!(CaseSensitive.no)("foo", "Foo"));
assert (!globMatch!(CaseSensitive.yes)("foo", "Foo"));
assert(globMatch("foo", "*"));
assert(globMatch("foo.bar"w, "*"w));
assert(globMatch("foo.bar"d, "*.*"d));
assert(globMatch("foo.bar", "foo*"));
assert(globMatch("foo.bar"w, "f*bar"w));
assert(globMatch("foo.bar"d, "f*b*r"d));
assert(globMatch("foo.bar", "f???bar"));
assert(globMatch("foo.bar"w, "[fg]???bar"w));
assert(globMatch("foo.bar"d, "[!gh]*bar"d));
assert(!globMatch("foo", "bar"));
assert(!globMatch("foo"w, "*.*"w));
assert(!globMatch("foo.bar"d, "f*baz"d));
assert(!globMatch("foo.bar", "f*b*x"));
assert(!globMatch("foo.bar", "[gh]???bar"));
assert(!globMatch("foo.bar"w, "[!fg]*bar"w));
assert(!globMatch("foo.bar"d, "[fg]???baz"d));
assert(!globMatch("foo.di", "*.d")); // test issue 6634: triggered bad assertion
assert(globMatch("foo.bar", "{foo,bif}.bar"));
assert(globMatch("bif.bar"w, "{foo,bif}.bar"w));
assert(globMatch("bar.foo"d, "bar.{foo,bif}"d));
assert(globMatch("bar.bif", "bar.{foo,bif}"));
assert(globMatch("bar.fooz"w, "bar.{foo,bif}z"w));
assert(globMatch("bar.bifz"d, "bar.{foo,bif}z"d));
assert(globMatch("bar.foo", "bar.{biz,,baz}foo"));
assert(globMatch("bar.foo"w, "bar.{biz,}foo"w));
assert(globMatch("bar.foo"d, "bar.{,biz}foo"d));
assert(globMatch("bar.foo", "bar.{}foo"));
assert(globMatch("bar.foo"w, "bar.{ar,,fo}o"w));
assert(globMatch("bar.foo"d, "bar.{,ar,fo}o"d));
assert(globMatch("bar.o", "bar.{,ar,fo}o"));
assert(!globMatch("foo", "foo?"));
assert(!globMatch("foo", "foo[]"));
assert(!globMatch("foo", "foob"));
assert(!globMatch("foo", "foo{b}"));
static assert(globMatch("foo.bar", "[!gh]*bar"));
}
/** Checks that the given file or directory name is valid.
The maximum length of $(D filename) is given by the constant
$(D core.stdc.stdio.FILENAME_MAX). (On Windows, this number is
defined as the maximum number of UTF-16 code points, and the
test will therefore only yield strictly correct results when
$(D filename) is a string of $(D wchar)s.)
On Windows, the following criteria must be satisfied
($(LINK2 http://msdn.microsoft.com/en-us/library/aa365247(v=vs.85).aspx,source)):
$(UL
$(LI $(D filename) must not contain any characters whose integer
representation is in the range 0-31.)
$(LI $(D filename) must not contain any of the following $(I reserved
characters): <>:"/\|?*)
$(LI $(D filename) may not end with a space ($(D ' ')) or a period
($(D '.')).)
)
On POSIX, $(D filename) may not contain a forward slash ($(D '/')) or
the null character ($(D '\0')).
Params:
filename = string to check
Returns:
$(D true) if and only if $(D filename) is not
empty, not too long, and does not contain invalid characters.
*/
bool isValidFilename(Range)(Range filename)
if (is(StringTypeOf!Range) ||
isRandomAccessRange!Range &&
hasLength!Range && hasSlicing!Range &&
isSomeChar!(ElementEncodingType!Range))
{
import core.stdc.stdio : FILENAME_MAX;
if (filename.length == 0 || filename.length >= FILENAME_MAX) return false;
foreach (c; filename)
{
version (Windows)
{
switch (c)
{
case 0:
..
case 31:
case '<':
case '>':
case ':':
case '"':
case '/':
case '\\':
case '|':
case '?':
case '*':
return false;
default:
break;
}
}
else version (Posix)
{
if (c == 0 || c == '/') return false;
}
else static assert (0);
}
version (Windows)
{
auto last = filename[filename.length - 1];
if (last == '.' || last == ' ') return false;
}
// All criteria passed
return true;
}
///
@safe pure @nogc nothrow
unittest
{
import std.utf : byCodeUnit;
assert(isValidFilename("hello.exe".byCodeUnit));
}
@safe pure
unittest
{
import std.conv;
auto valid = ["foo"];
auto invalid = ["", "foo\0bar", "foo/bar"];
auto pfdep = [`foo\bar`, "*.txt"];
version (Windows) invalid ~= pfdep;
else version (Posix) valid ~= pfdep;
else static assert (0);
import std.typetuple;
foreach (T; TypeTuple!(char[], const(char)[], string, wchar[],
const(wchar)[], wstring, dchar[], const(dchar)[], dstring))
{
foreach (fn; valid)
assert (isValidFilename(to!T(fn)));
foreach (fn; invalid)
assert (!isValidFilename(to!T(fn)));
}
{
auto r = MockRange!(immutable(char))(`dir/file.d`);
assert(!isValidFilename(r));
}
static struct DirEntry { string s; alias s this; }
assert(isValidFilename(DirEntry("file.ext")));
version (Windows)
{
immutable string cases = "<>:\"/\\|?*";
foreach (i; 0 .. 31 + cases.length)
{
char[3] buf;
buf[0] = 'a';
buf[1] = i <= 31 ? cast(char)i : cases[i - 32];
buf[2] = 'b';
assert(!isValidFilename(buf[]));
}
}
}
/** Checks whether $(D path) is a valid _path.
Generally, this function checks that $(D path) is not empty, and that
each component of the path either satisfies $(LREF isValidFilename)
or is equal to $(D ".") or $(D "..").
It does $(I not) check whether the _path points to an existing file
or directory; use $(XREF file,exists) for this purpose.
On Windows, some special rules apply:
$(UL
$(LI If the second character of $(D path) is a colon ($(D ':')),
the first character is interpreted as a drive letter, and
must be in the range A-Z (case insensitive).)
$(LI If $(D path) is on the form $(D `\\$(I server)\$(I share)\...`)
(UNC path), $(LREF isValidFilename) is applied to $(I server)
and $(I share) as well.)
$(LI If $(D path) starts with $(D `\\?\`) (long UNC path), the
only requirement for the rest of the string is that it does
not contain the null character.)
$(LI If $(D path) starts with $(D `\\.\`) (Win32 device namespace)
this function returns $(D false); such paths are beyond the scope
of this module.)
)
Params:
path = string or Range of characters to check
Returns:
true if $(D path) is a valid _path.
*/
bool isValidPath(Range)(Range path)
if (is(StringTypeOf!Range) ||
isRandomAccessRange!Range &&
hasLength!Range && hasSlicing!Range &&
isSomeChar!(ElementEncodingType!Range))
{
alias C = Unqual!(ElementEncodingType!Range);
if (path.empty) return false;
// Check whether component is "." or "..", or whether it satisfies
// isValidFilename.
bool isValidComponent(Range component)
{
assert (component.length > 0);
if (component[0] == '.')
{
if (component.length == 1) return true;
else if (component.length == 2 && component[1] == '.') return true;
}
return isValidFilename(component);
}
if (path.length == 1)
return isDirSeparator(path[0]) || isValidComponent(path);
Range remainder;
version (Windows)
{
if (isDirSeparator(path[0]) && isDirSeparator(path[1]))
{
// Some kind of UNC path
if (path.length < 5)
{
// All valid UNC paths must have at least 5 characters
return false;
}
else if (path[2] == '?')
{
// Long UNC path
if (!isDirSeparator(path[3])) return false;
foreach (c; path[4 .. $])
{
if (c == '\0') return false;
}
return true;
}
else if (path[2] == '.')
{
// Win32 device namespace not supported
return false;
}
else
{
// Normal UNC path, i.e. \\server\share\...
size_t i = 2;
while (i < path.length && !isDirSeparator(path[i])) ++i;
if (i == path.length || !isValidFilename(path[2 .. i]))
return false;
++i; // Skip a single dir separator
size_t j = i;
while (j < path.length && !isDirSeparator(path[j])) ++j;
if (!isValidFilename(path[i .. j])) return false;
remainder = path[j .. $];
}
}
else if (isDriveSeparator(path[1]))
{
import std.ascii;
if (!isAlpha(path[0])) return false;
remainder = path[2 .. $];
}
else
{
remainder = path;
}
}
else version (Posix)
{
remainder = path;
}
else static assert (0);
remainder = ltrimDirSeparators(remainder);
// Check that each component satisfies isValidComponent.
while (!remainder.empty)
{
size_t i = 0;
while (i < remainder.length && !isDirSeparator(remainder[i])) ++i;
assert (i > 0);
if (!isValidComponent(remainder[0 .. i])) return false;
remainder = ltrimDirSeparators(remainder[i .. $]);
}
// All criteria passed
return true;
}
///
@safe pure @nogc nothrow
unittest
{
assert (isValidPath("/foo/bar"));
assert (!isValidPath("/foo\0/bar"));
assert (isValidPath("/"));
assert (isValidPath("a"));
version (Windows)
{
assert (isValidPath(`c:\`));
assert (isValidPath(`c:\foo`));
assert (isValidPath(`c:\foo\.\bar\\\..\`));
assert (!isValidPath(`!:\foo`));
assert (!isValidPath(`c::\foo`));
assert (!isValidPath(`c:\foo?`));
assert (!isValidPath(`c:\foo.`));
assert (isValidPath(`\\server\share`));
assert (isValidPath(`\\server\share\foo`));
assert (isValidPath(`\\server\share\\foo`));
assert (!isValidPath(`\\\server\share\foo`));
assert (!isValidPath(`\\server\\share\foo`));
assert (!isValidPath(`\\ser*er\share\foo`));
assert (!isValidPath(`\\server\sha?e\foo`));
assert (!isValidPath(`\\server\share\|oo`));
assert (isValidPath(`\\?\<>:"?*|/\..\.`));
assert (!isValidPath("\\\\?\\foo\0bar"));
assert (!isValidPath(`\\.\PhysicalDisk1`));
assert (!isValidPath(`\\`));
}
import std.utf : byCodeUnit;
assert (isValidPath("/foo/bar".byCodeUnit));
}
/** Performs tilde expansion in paths on POSIX systems.
On Windows, this function does nothing.
There are two ways of using tilde expansion in a path. One
involves using the tilde alone or followed by a path separator. In
this case, the tilde will be expanded with the value of the
environment variable $(D HOME). The second way is putting
a username after the tilde (i.e. $(D ~john/Mail)). Here,
the username will be searched for in the user database
(i.e. $(D /etc/passwd) on Unix systems) and will expand to
whatever path is stored there. The username is considered the
string after the tilde ending at the first instance of a path
separator.
Note that using the $(D ~user) syntax may give different
values from just $(D ~) if the environment variable doesn't
match the value stored in the user database.
When the environment variable version is used, the path won't
be modified if the environment variable doesn't exist or it
is empty. When the database version is used, the path won't be
modified if the user doesn't exist in the database or there is
not enough memory to perform the query.
This function performs several memory allocations.
Returns:
$(D inputPath) with the tilde expanded, or just $(D inputPath)
if it could not be expanded.
For Windows, $(D expandTilde) merely returns its argument $(D inputPath).
Examples:
-----
void processFile(string path)
{
// Allow calling this function with paths such as ~/foo
auto fullPath = expandTilde(path);
...
}
-----
*/
string expandTilde(string inputPath) nothrow
{
version(Posix)
{
import core.stdc.string : strlen;
import core.stdc.stdlib : getenv, malloc, free, realloc;
import core.exception : onOutOfMemoryError;
import core.sys.posix.pwd : passwd, getpwnam_r;
import core.stdc.errno : errno, ERANGE;
/* Joins a path from a C string to the remainder of path.
The last path separator from c_path is discarded. The result
is joined to path[char_pos .. length] if char_pos is smaller
than length, otherwise path is not appended to c_path.
*/
static string combineCPathWithDPath(char* c_path, string path, size_t char_pos) nothrow
{
assert(c_path != null);
assert(path.length > 0);
assert(char_pos >= 0);
// Search end of C string
size_t end = core.stdc.string.strlen(c_path);
// Remove trailing path separator, if any
if (end && isDirSeparator(c_path[end - 1]))
end--;
// (this is the only GC allocation done in expandTilde())
string cp;
if (char_pos < path.length)
// Append something from path
cp = cast(string)(c_path[0 .. end] ~ path[char_pos .. $]);
else
// Create our own copy, as lifetime of c_path is undocumented
cp = c_path[0 .. end].idup;
return cp;
}
// Replaces the tilde from path with the environment variable HOME.
static string expandFromEnvironment(string path) nothrow
{
assert(path.length >= 1);
assert(path[0] == '~');
// Get HOME and use that to replace the tilde.
auto home = core.stdc.stdlib.getenv("HOME");
if (home == null)
return path;
return combineCPathWithDPath(home, path, 1);
}
// Replaces the tilde from path with the path from the user database.
static string expandFromDatabase(string path) nothrow
{
// Android doesn't really support this, as getpwnam_r
// isn't provided and getpwnam is basically just a stub
version(Android)
{
return path;
}
else
{
import std.string : indexOf;
assert(path.length > 2 || (path.length == 2 && !isDirSeparator(path[1])));
assert(path[0] == '~');
// Extract username, searching for path separator.
auto last_char = indexOf(path, dirSeparator[0]);
size_t username_len = (last_char == -1) ? path.length : last_char;
char* username = cast(char*)core.stdc.stdlib.malloc(username_len * char.sizeof);
if (!username)
onOutOfMemoryError();
scope(exit) core.stdc.stdlib.free(username);
if (last_char == -1)
{
username[0 .. username_len - 1] = path[1 .. $];
last_char = path.length + 1;
}
else
{
username[0 .. username_len - 1] = path[1 .. last_char];
}
username[username_len - 1] = 0;
assert(last_char > 1);
// Reserve C memory for the getpwnam_r() function.
int extra_memory_size = 5 * 1024;
char* extra_memory;
scope(exit) core.stdc.stdlib.free(extra_memory);
passwd result;
while (1)
{
extra_memory = cast(char*)core.stdc.stdlib.realloc(extra_memory, extra_memory_size * char.sizeof);
if (extra_memory == null)
onOutOfMemoryError();
// Obtain info from database.
passwd *verify;
errno = 0;
if (getpwnam_r(username, &result, extra_memory, extra_memory_size,
&verify) == 0)
{
// Succeeded if verify points at result
if (verify == &result)
// username is found
path = combineCPathWithDPath(result.pw_dir, path, last_char);
break;
}
if (errno != ERANGE)
onOutOfMemoryError();
// extra_memory isn't large enough
extra_memory_size *= 2;
}
return path;
}
}
// Return early if there is no tilde in path.
if (inputPath.length < 1 || inputPath[0] != '~')
return inputPath;
if (inputPath.length == 1 || isDirSeparator(inputPath[1]))
return expandFromEnvironment(inputPath);
else
return expandFromDatabase(inputPath);
}
else version(Windows)
{
// Put here real windows implementation.
return inputPath;
}
else
{
static assert(0); // Guard. Implement on other platforms.
}
}
version(unittest) import std.process: environment;
unittest
{
version (Posix)
{
// Retrieve the current home variable.
auto oldHome = environment.get("HOME");
// Testing when there is no environment variable.
environment.remove("HOME");
assert(expandTilde("~/") == "~/");
assert(expandTilde("~") == "~");
// Testing when an environment variable is set.
environment["HOME"] = "dmd/test";
assert(expandTilde("~/") == "dmd/test/");
assert(expandTilde("~") == "dmd/test");
// The same, but with a variable ending in a slash.
environment["HOME"] = "dmd/test/";
assert(expandTilde("~/") == "dmd/test/");
assert(expandTilde("~") == "dmd/test");
// Recover original HOME variable before continuing.
if (oldHome !is null) environment["HOME"] = oldHome;
else environment.remove("HOME");
// Test user expansion for root, no /root on Android
version (OSX)
{
assert(expandTilde("~root") == "/var/root", expandTilde("~root"));
assert(expandTilde("~root/") == "/var/root/", expandTilde("~root/"));
}
else version (Android)
{
}
else
{
assert(expandTilde("~root") == "/root", expandTilde("~root"));
assert(expandTilde("~root/") == "/root/", expandTilde("~root/"));
}
assert(expandTilde("~Idontexist/hey") == "~Idontexist/hey");
}
}
version (unittest)
{
/* Define a mock RandomAccessRange to use for unittesting.
*/
struct MockRange(C)
{
this(C[] array) { this.array = array; }
const
{
@property size_t length() { return array.length; }
@property bool empty() { return array.length == 0; }
@property C front() { return array[0]; }
@property C back() { return array[$ - 1]; }
@property size_t opDollar() { return length; }
C opIndex(size_t i) { return array[i]; }
}
void popFront() { array = array[1 .. $]; }
void popBack() { array = array[0 .. $-1]; }
MockRange!C opSlice( size_t lwr, size_t upr) const
{
return MockRange!C(array[lwr .. upr]);
}
@property MockRange save() { return this; }
private:
C[] array;
}
static assert( isRandomAccessRange!(MockRange!(const(char))) );
}
version (unittest)
{
/* Define a mock BidirectionalRange to use for unittesting.
*/
struct MockBiRange(C)
{
this(const(C)[] array) { this.array = array; }
const
{
@property bool empty() { return array.length == 0; }
@property C front() { return array[0]; }
@property C back() { return array[$ - 1]; }
@property size_t opDollar() { return array.length; }
}
void popFront() { array = array[1 .. $]; }
void popBack() { array = array[0 .. $-1]; }
@property MockBiRange save() { return this; }
private:
const(C)[] array;
}
static assert( isBidirectionalRange!(MockBiRange!(const(char))) );
}
private template BaseOf(R)
{
static if (isRandomAccessRange!R && isSomeChar!(ElementType!R))
alias BaseOf = R;
else
alias BaseOf = StringTypeOf!R;
}
| D |
/home/josh7gas/github.com/Josh7GAS/Oficina/Rust/CLI_tool_practice/subnet_calculator/target/rls/debug/deps/atty-ddcbb3af6e512b7b.rmeta: /home/josh7gas/.cargo/registry/src/github.com-1ecc6299db9ec823/atty-0.2.14/src/lib.rs
/home/josh7gas/github.com/Josh7GAS/Oficina/Rust/CLI_tool_practice/subnet_calculator/target/rls/debug/deps/atty-ddcbb3af6e512b7b.d: /home/josh7gas/.cargo/registry/src/github.com-1ecc6299db9ec823/atty-0.2.14/src/lib.rs
/home/josh7gas/.cargo/registry/src/github.com-1ecc6299db9ec823/atty-0.2.14/src/lib.rs:
| D |
/*_ filespec.h Fri Jul 8 1988 Modified by: bright */
/* Copyright (C) 1986-1987 by Northwest Software */
/* All Rights Reserved */
/* Written by Walter Bright */
import cidrus;
import drc.backend.mem;
/*extern (C++):*/
/*********************************
* String compare of filenames.
*/
version (Windows)
{
extern (C)
{
цел stricmp(сим*, сим*);
цел memicmp(ук, ук, т_мера);
}
alias stricmp filespeccmp;
alias memicmp filespecmemcmp;
const DIRCHAR = '\\';
бул ispathdelim(сим c) { return c == DIRCHAR || c == ':' || c == '/'; }
}
else
{
import core.stdc.ткст : strcmp, memcmp;
alias strcmp filespeccmp;
alias memcmp filespecmemcmp;
const DIRCHAR = '/';
бул ispathdelim(сим c) { return c == DIRCHAR; }
}
/****************************
* Combine path and имяф to form a filespec.
* Input:
* path Path, with or without trailing /
* (can be NULL)
* имяф Cannot be NULL
* Возвращает:
* filespec mem_malloc'd файл specification
* NULL Out of memory
*/
сим *filespecaddpath(ткст0 path, ткст0 имяф)
{
ткст0 filespec;
т_мера pathlen;
if (!path || (pathlen = strlen(path)) == 0)
filespec = mem_strdup(имяф);
else
{
filespec = cast(сим*) mem_malloc(pathlen + 1 + strlen(имяф) + 1);
if (filespec)
{
strcpy(filespec,path);
version (Windows)
{
if (!ispathdelim(filespec[pathlen - 1]))
strcat(filespec,"\\");
}
else
{
if (!ispathdelim(filespec[pathlen - 1]))
strcat(filespec,"/");
}
strcat(filespec,имяф);
}
}
return filespec;
}
/******************************* filespecrootpath **************************
* Purpose: To expand a relative path into an absolute path.
*
* Side Effects: mem_frees input ткст.
*
* Возвращает: mem_malloced ткст with absolute path.
* NULL if some failure.
*/
version (Windows)
extern (C) ткст0 getcwd(сим*, т_мера);
else
{
import core.sys.posix.unistd: getcwd;
}
сим *filespecrootpath(ткст0 filespec)
{
сим *cwd;
сим *cwd_t;
сим *p;
сим *p2;
if (!filespec)
return filespec;
version (Windows)
{
// if already absolute (with \ or drive:) ...
if (*filespec == DIRCHAR || (isalpha(*filespec) && *(filespec+1) == ':'))
return filespec; // ... return input ткст
}
else
{
if (*filespec == DIRCHAR) // already absolute ...
return filespec; // ... return input ткст
}
// get current working directory path
version (Windows)
{
сим[132] cwd_d = проц;
if (getcwd(cwd_d.ptr, cwd_d.length))
cwd_t = cwd_d.ptr;
else
cwd_t = null;
}
else
{
cwd_t = cast(сим *)getcwd(null, 256);
}
if (cwd_t == null)
{
mem_free(filespec);
return null; // error - path too long (more than 256 chars !)
}
cwd = mem_strdup(cwd_t); // convert cwd to mem package
version (Windows)
{
}
else
{
free(cwd_t);
}
p = filespec;
while (p != null)
{
p2 = cast(сим*)strchr(p, DIRCHAR);
if (p2 != null)
{
*p2 = '\0';
if (strcmp(p, "..") == 0) // move up cwd
// удали last directory from cwd
*(cast(сим *)strrchr(cwd, DIRCHAR)) = '\0';
else if (strcmp(p, ".") != 0) // not current directory
{
cwd_t = cwd;
cwd = cast(сим *)mem_calloc(strlen(cwd_t) + 1 + strlen(p) + 1);
sprintf(cwd, "%s%c%s", cwd_t, DIRCHAR, p); // add relative directory
mem_free(cwd_t);
}
// else if ".", then ignore - it means current directory
*p2 = DIRCHAR;
p2++;
}
else if (strcmp(p,"..") == 0) // move up cwd
{
// удали last directory from cwd
*(cast(сим *)strrchr(cwd, DIRCHAR)) = '\0';
}
else if (strcmp(p,".") != 0) // no more subdirectories ...
{ // ... save remaining ткст
cwd_t = cwd;
cwd = cast(сим *)mem_calloc(strlen(cwd_t) + 1 + strlen(p) + 1);
sprintf(cwd, "%s%c%s", cwd_t, DIRCHAR, p); // add relative directory
mem_free(cwd_t);
}
p = p2;
}
mem_free(filespec);
return cwd;
}
/*****************************
* Add extension onto filespec, if one isn't already there.
* Input:
* filespec Cannot be NULL
* ext Extension (without the .)
* Возвращает:
* mem_malloc'ed ткст (NULL if error)
*/
сим *filespecdefaultext(ткст0 filespec, ткст0 ext)
{
сим *p;
ткст0 pext = filespecdotext(filespec);
if (*pext == '.') /* if already got an extension */
{
p = mem_strdup(filespec);
}
else
{
const n = pext - filespec;
p = cast(сим *) mem_malloc(n + 1 + strlen(ext) + 1);
if (p)
{
memcpy(p,filespec,n);
p[n] = '.';
strcpy(&p[n + 1],ext);
}
}
return p;
}
/**********************
* Return ткст that is the dot and extension.
* The ткст returned is NOT mem_malloc'ed.
* Return pointer to the 0 at the end of filespec if dot isn't found.
* Return NULL if filespec is NULL.
*/
сим *filespecdotext(ткст0 filespec)
{
auto p = filespec;
if (p)
{
const len = strlen(p);
p += len;
while (1)
{
if (*p == '.')
break;
if (p <= filespec || ispathdelim(*p))
{ p = filespec + len;
break;
}
p--;
}
}
return cast(сим*)p;
}
/*****************************
* Force extension onto filespec.
* Input:
* filespec String that may or may not contain an extension
* ext Extension that doesn't contain a .
* Возвращает:
* mem_malloc'ed ткст (NULL if error)
* NULL if filespec is NULL
* If ext is NULL, return mem_strdup(filespec)
*/
сим *filespecforceext(ткст0 filespec, ткст0 ext)
{
ткст0 p;
if (ext && *ext == '.')
ext++;
if ((p = cast(сим *)filespec) != null)
{
ткст0 pext = filespecdotext(filespec);
if (ext)
{
т_мера n = pext - filespec;
p = cast(сим*) mem_malloc(n + 1 + strlen(ext) + 1);
if (p)
{
memcpy(p, filespec, n);
p[n] = '.';
strcpy(&p[n + 1],ext);
}
}
else
p = mem_strdup(filespec);
}
return p;
}
/***********************
* Get root имя of файл имя.
* That is, return a mem_strdup()'d version of the имяф without
* the .ext.
*/
сим *filespecgetroot(ткст0 имя)
{
ткст0 p = filespecdotext(имя);
const c = *p;
*p = 0;
ткст0 root = mem_strdup(имя);
*p = c;
return root;
}
/**********************
* Return ткст that is the имяф plus dot and extension.
* The ткст returned is NOT mem_malloc'ed.
*/
сим *filespecname(ткст0 filespec)
{
ткст0 p;
/* Start at end of ткст and back up till we найди the beginning
* of the имяф or a path
*/
for (p = filespec + strlen(filespec);
p != filespec && !ispathdelim(*(p - 1));
p--
)
{ }
return cast(сим *)p;
}
/************************************
* If first character of filespec is a ~, perform tilde-expansion.
* Output:
* Input filespec is mem_free'd.
* Возвращает:
* mem_malloc'd ткст
*/
version (Windows)
{
сим *filespectilde(сим *f) { return f; }
}
else
{
сим *filespectilde(сим *);
}
/************************************
* Expand all ~ in the given ткст.
*
* Output:
* Input filespec is mem_free'd.
* Возвращает:
* mem_malloc'd ткст
*/
version (Windows)
{
сим *filespecmultitilde(сим *f) { return f; }
}
else
{
сим *filespecmultitilde(сим *);
}
/*****************************
* Convert filespec into a backup имяф appropriate for the
* operating system. For instance, under MS-DOS path\имяф.ext will
* be converted to path\имяф.bak.
* Input:
* filespec String that may or may not contain an extension
* Возвращает:
* mem_malloc'ed ткст (NULL if error)
* NULL if filespec is NULL
*/
сим *filespecbackup(ткст0 filespec)
{
version (Windows)
{
return filespecforceext(filespec,"BAK");
}
else
{
ткст0 p;
ткст0 f;
// Prepend .B to файл имя, if it isn't already there
if (!filespec)
return cast(сим *)filespec;
p = filespecname(filespec);
if (p[0] == '.' && p[1] == 'B')
return mem_strdup(filespec);
f = cast(сим *) mem_malloc(strlen(filespec) + 2 + 1);
if (f)
{ strcpy(f,filespec);
strcpy(&f[p - filespec],".B");
strcat(f,p);
}
return f;
}
}
| D |
module android.java.android.net.wifi.p2p.WifiP2pInfo_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.android.net.wifi.p2p.WifiP2pInfo_d_interface;
import import2 = android.java.java.lang.Class_d_interface;
import import1 = android.java.android.os.Parcel_d_interface;
final class WifiP2pInfo : IJavaObject {
static immutable string[] _d_canCastTo = [
"android/os/Parcelable",
];
@Import this(arsd.jni.Default);
@Import this(import0.WifiP2pInfo);
@Import @JavaName("toString") string toString_();
override string toString() { return arsd.jni.javaObjectToString(this); }
@Import int describeContents();
@Import void writeToParcel(import1.Parcel, int);
@Import import2.Class getClass();
@Import int hashCode();
@Import bool equals(IJavaObject);
@Import void notify();
@Import void notifyAll();
@Import void wait(long);
@Import void wait(long, int);
@Import void wait();
mixin IJavaObjectImplementation!(false);
public static immutable string _javaParameterString = "Landroid/net/wifi/p2p/WifiP2pInfo;";
}
| D |
/*
REQUIRED_ARGS: -Icompilable/imports -mv=lib=pkg22952
EXTRA_FILES: imports/pkg22952/package.d
*/
// Issue 22952 - Compiler fails to find package.d modules via -mv map
// https://issues.dlang.org/show_bug.cgi?id=22952
module test22952;
import lib;
| D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.