共用方式為


IVsBuildableProjectCfg.QueryStartBuild(UInt32, Int32[], Int32[]) Method

Definition

Determines whether or not a project is able to start a build operation.

int QueryStartBuild(unsigned int dwOptions, std::Array <int> const & pfSupported, std::Array <int> const & pfReady);
public int QueryStartBuild (uint dwOptions, int[] pfSupported, int[] pfReady);
abstract member QueryStartBuild : uint32 * int[] * int[] -> int
Public Function QueryStartBuild (dwOptions As UInteger, Optional pfSupported As Integer(), Optional pfReady As Integer()) As Integer

Parameters

dwOptions
UInt32

[in] Options governing the build process. Currently, there are no defined options and dwOptions is always zero.

pfSupported
Int32[]

[out, optional] Pointer to the flag that is set to true if the project supports building.

pfReady
Int32[]

[out, optional] Pointer to the flag that is set to true if the project is ready to start the build process. This flag is currently unused.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsBuildableProjectCfg::QueryStartBuild(  
   [in] DWORD dwOptions,  
   [out, optional] BOOL *pfSupported,  
   [out, optional] BOOL *pfReady  
);  

Applies to